All things Shopify and commerce
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
Hi ,
I'm trying to write a script but It doesn't work.
What I need is :
1. When clients add a product to cart , check cart value
2. If cart value is €100 or more, check if cart contains product id '12345678'
3 if not, add product to cart.
and do it everytime someone adds a product to cart...
thank!!
Hi @Stefano99
Did you try Buy X get Y in store admin > Discounts?
- Helpful? Like & Accept solution!
- Ryviu - Product Reviews & QA app: Collect customer reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.
yes but it's a problem cause it's not a discount that I want, I just need to add a product to the cart with normal price, when cart is 100€ or more
Hi @Stefano99
This is Ellie from BOGOS, #1 Promotion App on Shopify, featuring Free Gift, Discounts & Bundles.
I highly recommend you use the BOGOS app to add a product with normal price to customer cart when cart value is $100+
Step 1: Choose the “Cart value condition” offer of BOGOS → set Min to $100
Step 2: Set discount percentage to 100% > select a gift (the product you want to add to cart based on cart value) > Publish
Step 3: Search for the BOGOS clone product
Step 4: In the clone product info, change the price from $0 to the normal price (for example, $50) > Save changes
Grab 7-day free trial of BOGOS (4.9 overall rating & 2,045+ reviews) to give it a try.
If my answer is helpful, I would appreciate it if you could give me a Like or accept it as a Solution!
Ellie
BOGOS (formally Free Gifts by Secomapp)
It's not a solution . thanks