0

I am trying to work out where or how I can get the discounts/cart rules to be applied across multiple lines

eg Current Display

Subtotal: $xxx.xx

Discount (Free Shipping, Applied Coupon Code WELCOME10, Spend more, get more) -$xx.xx

Preferred Display

Subtotal: $xxx.xx

Discount(Free Shipping) -$xx.xx

Discount(Spend more, get more) -$xx.xx

Discount(Coupon: WELCOME10) -$xx.xx

I can see something around Discounts in here, about being an array but not sure how to explode it

<item name="discount" xsi:type="array">
                                                           <item name="component" xsi:type="string">Magento_SalesRule/js/view/cart/totals/discount</item>
                                                           <item name="config" xsi:type="array">
                                                                <item name="title" xsi:type="string" translate="true">Discount</item>
                                                           </item>
                                                        </item>

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.