Customer Account Extension repurchase button disable

Hi yall,

I have the following issue.
Due to some constraints of the products we sell, we need to collect some data from customers before making a purchase for certain items. This is done via a custom form, but the id of the submit is added as a line item property.

When a customer accesses their order index page, they can reorder a past order, but this loses the attached line item properties.
The easiest way to fix it for now, would be to disable the option to reorder a past order. Is that possible?

I have read the docs for hours, but not found anything useful so far.

Thank you

Theo

Hi - I’ve chatted to the team about this and there is a beta flag that we can enable on behalf of merchants to disable the “Buy again” button - if this would help, you can reach out to support and request that this flag be enabled.

@TheodorFreundHT

Here’s a 4-step process to hide default buy again button without any code.

How to Hide the Buy Again Button on Shopify

The setting lives inside the checkout and customer accounts editor. Here’s where to find it:

Step 1: From your Shopify admin, go to Settings > Checkout.

Step 2: In the Configurations section, click ‘Customize’ next to the profile you want to edit.

Step 3: In the editor, click the Settings icon (gear icon in the top-left or sidebar panel).

Step 4: In the Settings panel, scroll down and find the Buy Again button toggle and switch it off.

That’s it. The buy again button will no longer appear on the order history and order status pages.

Should You Hide It or Replace It?

Hiding the button removes the problem that merchants are facing, but it also removes the opportunity of reordering revenue. If you don’t want to lose reorder revenue, then consider replacing the default button with a better experience.