This topic has 2 replies, 2 voices, and was last updated 1 years, 1 months ago ago by Rose Tyler
Hi! I’m developing dynamic price change when quantity is changed on a single product page for my website. I’m also using your awesome sales booster -> quantity discount.
Question:
How can I get values from sales booster -> quantity discount using PHP or JS? I’m interested in two values: intervals and discount amount.
For example I have such settings in quantity discount:
1-10 products = 10% discount
11-20 products = 20% discount
Hello, Atip,
Thank you for contacting us and for using XStore.
You can get those settings using PHP
$discount = new Etheme_Sales_Booster_Quantity_Discounts;
$discount->init();
$discount->set_settings();
Add product_id param to $discount->set_settings(product_id);
to get specific product settings
Kind Regards,
8theme team
The issue related to '‘How to get data from Sales booster -> quantity discounts?’' has been successfully resolved, and the topic is now closed for further responses