How can I remove the "Buy Again" option in customer orders page?

How can I remove the "Buy Again" option in customer orders page?

JoeCat
Shopify Partner
42 2 23

I see no reference to it in the Customer-Orders code template.  I see "Buy Again" in the language/labels references. 

 

My problem is that we have alot of customization (such as collecting custom fields) during the 'add to cart' process, and if a customer chooses "Buy Again" on a previous order, none of those customizations apply.  So I'd like to just remove that link.    Shopify documentation calls it Easy Reordering and says it is enabled by default, but it does not say how to disable it.

Happy to share knowledge of simple code changes. Click the link in my profile if you need help implementing.
Replies 10 (10)

JoeCat
Shopify Partner
42 2 23

I've discovered that the code on that customer page is actually on Shopify itself, which is odd - so it does not appear to be editable - though the language could be edited.   The solution to this problem was to disable the "Sign in with Shop" feature, which will default customer accounts back to the on-board classic version.

Happy to share knowledge of simple code changes. Click the link in my profile if you need help implementing.
Jamflynt
Shopify Partner
41 0 22

Did you ever figure out an onboard solution? 

We currently need the same thing done as we have a lot of customizations as well but we'd like to keep the New Customer Accounts active. 

JoeCat
Shopify Partner
42 2 23

What I mentioned (disable "sign in with Shop") is the only solution.  You still have customer accounts, it's just reverting to the classic version.  The core feature this takes away is Shopifys attempt at bridging all different sites together into one customer account... So customer goes to their account and sees orders from various Shopify sites they've bought on. Personally I don't like the idea of it anyhow. 

Happy to share knowledge of simple code changes. Click the link in my profile if you need help implementing.
Jamflynt
Shopify Partner
41 0 22

Thanks for the reply. Huh, thats weird. Would you be able to link any documentation that shows that the "customer goes to their account and sees orders from various Shopify sites they've bought on"? I haven't seen anything that points to that and am currently coming up empty. 

The core feature we were interested in was the password-less login which was the whole reason we made that switch. 

Wish that Shopify made all this clearer in their docs tbh.

JoeCat
Shopify Partner
42 2 23

Maybe I misspoke. But the feature makes a universal wallet, payment options, addresses etc.  Just click the button and try it out. Either way, there's no solution to your problem without disabling it. If you notice, when you use the feature the shopper is taken off of your domain, so you have no controls in there.

Happy to share knowledge of simple code changes. Click the link in my profile if you need help implementing.
Jamflynt
Shopify Partner
41 0 22

Ah thank you. Had me worries there for a second as we definitely don't want our users seeing orders from other Shopify stores on our stores account page haha. We also aren't experiencing that behavior in our testing. 

Yeah we saw they are redirected to Shop.app. Appreciate you acknowledging your having that too. 

I'm currently talking with Shopify Support. I'll follow up here if they give me a fix that works. 

For now, thanks again!

Jamflynt
Shopify Partner
41 0 22

Just remembered I never followed up with this thread. 

We were able to remove the "Buy Again" button from the Customer's account page by contacting Shopify Support and having their dev team remove it. Took a bit of back and forth to explain what the issue was but in the end it was resolved.

Dunno if this matters or not but the store this took place in was a Shopify Plus store. Not sure if there is a difference in support features there.

ev38
Shopify Partner
2 0 2

How did you get support to do this? I just got a reply back from Shopify Support that there is nothing they can do. We are on the Plus plan so hopefully that helps. Thanks in advance 

Xeelly
Visitor
1 0 1

I am having the same issue. I also have customizations that I collect from my customer's order as well and when in the customer's account; when attempting to "Buy Again" from previous orders; it shows only the basic product with no collected customizations. I like to remove or hide the "Buy Again" button in case the customer tries to re buy and no collected customizations pulls/query/ or shows up to the cart.

Jamflynt
Shopify Partner
41 0 22

Said this same thing in a follow up response above but just in case you don't notice it:
We were able to remove the "Buy Again" button from the Customer's account page by contacting Shopify Support and having their dev team remove it. Took a bit of back and forth to explain what the issue was but in the end it was resolved. Also, dunno if this matters or not but the store this took place in was a Shopify Plus store. Not sure if there is a difference in support features there.

That being said there are plans to add some control for devs/store owners of the Customer Accounts pages via the Customer Account UI Extensions. It is in developer preview at the moment with plans to be "released" sometime early 2024 if I remember correctly. Based on what this looks like with the Checkout UI Extensions this will probably be extremely limited though.

Still dunno why these types of customizations are not pulled in when clicking Buy Again in general. I've felt like this would be fairly easy for @Shopify to implement.