solucionsweb Posted March 28, 2019 Share Posted March 28, 2019 Hi. I'm trying to change the text of the side box shown in the chekcout of an order, in the steps of prestashop 1.7 (see screenshot) I want to change the text that appears in the transport, depending on the carrier id. Within the checkout in the steps in (shipping.tpl) if I could use something such that: {if $ carrier.id == '685'} <span class = "carrier-price"> </ span> {else} <span class = "carrier-price"> {$ carrier.price} </ span> {/ if} The problem is that if I try to use the same variable, in this part: {if $ subtotal && $ subtotal.type! == 'tax'} <div class = "cart-summary-line cart-summary-subtotals" id = "cart-subtotal - {$ subtotal.type}"> <span class = "label"> {$ subtotal.label} </ span> <span class = "value"> {$ subtotal.value} </ span> </ div> {/ if} So for example, do the same as before, here it does not pay attention, it's as if it did not take into account the variable carrier.id. Does anyone think of how he could do it? Thank you 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