lulu.lindberg Posted July 11 Share Posted July 11 Hi, thanks in advance for reading. I am using this code to add an upsell page when people click add to cart. If you click the site url listed, you'll see that when people buy a tote, it redirects to the tote upsell page. I want to exclude this product from the up sell add on... is there a way to do this? Thanks! Link to comment
tuanphan Posted July 15 Share Posted July 15 Hi, Can you share link to Tote product? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
lulu.lindberg Posted July 26 Author Share Posted July 26 @tuanphan of course! https://www.wizbeehoney.ca/shop-wizbee/p/wiz-bee-honey-tote-bag - Thank you for having a look! Link to comment
Solution tuanphan Posted July 27 Solution Share Posted July 27 On 7/26/2023 at 7:49 AM, lulu.lindberg said: @tuanphan of course! https://www.wizbeehoney.ca/shop-wizbee/p/wiz-bee-honey-tote-bag - Thank you for having a look! Try changing this line var addToCartButton = document.querySelector('.sqs-add-to-cart-button'); to this var addToCartButton = document.querySelector('body:not(#item-64ac645bc2dd9263f997ccf8) .sqs-add-to-cart-button'); Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
lulu.lindberg Posted August 2 Author Share Posted August 2 Thank you @tuanphan - it worked! Much appreciated tuanphan 1 Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment