Customer Account Extension repurchase button disable

Customer Account Extension repurchase button disable

TheodorFreundHT
Shopify Partner
12 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
Shopify Staff
2861 312 812

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