wcra Posted August 30, 2020 Share Posted August 30, 2020 Hi, when using a cart coupon incl. free shipping the shipping costs are still shown in cart therfore I wonder if it is possible to swap the position of discount (Rabatt) and shipping (Versand) in Cart? Meaning: I would like to put the discount below the shipping. I tried swapping discount and shipping in cart-detailed-totals.tpl - but this didn´t do the trick. Thank you for your help. Link to comment Share on other sites More sharing options...
Minsky_ae Posted August 31, 2020 Share Posted August 31, 2020 Hi @wcra, Got to your_theme > templates > checkout > _partials > cart-detailed-totals.tpl I reckon the piece of code you're looking for might be this one where you can swap the two elements. <span class="value"> {if 'discount' == $subtotal.type}- {/if}{$subtotal.value} </span> {if $subtotal.type === 'shipping'} <div><small class="value">{hook h='displayCheckoutSubtotalDetails' subtotal=$subtotal}</small></div> {/if} It's best if you do that in a child time. Hope it helps! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now