I tired to implement Tiered Pricing for Bulk Purchases by following the steps given in this url (https://www.shopify.com/enterprise/ecommerce-checkout-shopify-scripts#ecommerce-checkout-optimizatio...).
I am having about three product types for now in my shopify plus store, in code i passed only one product type in the array for the "Tiered Pricing" Script, but the output isn't i excepted. The Discount is applying for all the product types.
If anyone has ideas on whats wrong with this script, it would be great.
Thanks,
Gnanasekar S
Hello,
Greetings !
As an Official Shopify Expert and Partner We would be happy to help you.
Please reach us at:
Website: https://www.mswebdesigner.com/pages/get-started
Skype: shopify.mswebdesigner@gmail.com
E-mail: admin@mswebdesigner.in
Phone: +919748230320
Thanks & Regards
MS Web Designer Team
Official Shopify Expert and Partner
https://experts.shopify.com/ms-webservices
I am having 6-7 product types for now in my shopify plus store, in code i passed only three product type in the array for the "Tiered Pricing" Script, but the output is came discount apply all the product.
is there is any solution for only product type to define products to apply the discount?????????
@WhiteWater_Web wrote:
Hi Harry - we can assist with this, if you still need a hand.
Hit us up at projects@whitewatersolutions.com.
Cheers!
WhiteWater Web
You seem to be mistaking this section of the forums for the job board. Partners shouldn't be soliciting work outside of that section. I think it's great that you're keen to help, but if you're serious about supporting the forum community lets see that here.
For anyone finding this thread through Google I found a solution to this.
Basically this line:
cart.line_items.group_by { |item| group_key(item) }
Wants changing to this:
items.group_by { |item| group_key(item) }
I submitted a pull request to Shopify for it here: https://github.com/Shopify/shopify-scripts/pull/12/commits/ab500da72766953369ce4a67f4ade61779c6b122
Subject | Author | Latest Post |
---|---|---|
Subject | Author | Posted |
---|---|---|
8 hours ago | ||
11-30-2019 06:49 AM | ||
11-30-2019 06:18 AM | ||
11-30-2019 05:59 AM | ||
11-30-2019 05:45 AM |
User | Count |
---|---|
11 | |
7 | |
5 | |
3 | |
3 |