Have your say in Community Polls: What was/is your greatest motivation to start your own business?
Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Customer Account Extension repurchase button disable

Customer Account Extension repurchase button disable

TheodorFreundHT
Shopify Partner
14 1 0

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

Reply 1 (1)

Liam
Community Manager
3108 344 895

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.

Liam | Developer Advocate @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog