d
Topic
Sven Schmidt Member
Posts:
8
10 days ago

Bundles with Price Rules API possible?

We have a bundle page that adds 3 products to the cart with one "add-to-cart" click.

Now we would like to give a 10% discount for customers who click the "add-to-cart" button on the bundle page. Can I achieve that with the Price Rules API? 

i
Replies
Sven Schmidt Member
Posts:
8
9 days ago

BTW. I am looking for a way to build this myself and NOT by using an app or third party solution. I also don't want to use variants with discounted prices.

Sven Schmidt Member
Posts:
8
9 days ago

I have created a price rule. But it seems not to apply without a discount code that is manually added to the checkout by the customer. Is that correct? 

Is there any way to apply a discount code programmatically?

Jordan API Support Specialist
Posts:
230
8 days ago

Hey Sven, 

No way yet for automatic behaviour of discounting at checkout. Currently, price rules require the use of a discount code at checkout. This is something that is on our roadmap, but I don't have much insight into how or when this sort of feature will be released.

 

- Jordan

Zigmo Member
Posts:
15
8 days ago

I'm in the middle of building a similar page.  It's a calculator that estimates the QTY of 3 SKUs needed for the customer. The "add to cart" button adds everything with one click.

 I used an APP to do the discount.  It's free as long as you only need one discount configuration.  It's called "Discount Pricing by Booster Apps"

By chance are you doing anything with "line item properties" to label the 3 SKUs when added to the cart from the page? That is where I'm hung up on.  Can't find a way do to it via Ajax.

Sven Schmidt Member
Posts:
8
8 days ago

@Jordan, that's a bummer. 

@zigmo, I am not doing anything with  "line item properties".