Rich Walker Posted February 22, 2010 Share Posted February 22, 2010 I need to display the shipping cost on the "Your payment method" page. I've added {if $shippingCost > 0} {if $priceDisplay} {l s='Total shipping:'} {convertPrice price=$shippingCostTaxExc} {/if} {if !$priceDisplay || $priceDisplay == 2} {l s='Total shipping:'} {convertPrice price=$shippingCost} {/if} {/if} to order-payment.tpl but can't get it to print the shipping price. Can anyone give me any ideas how to do it.CheersRich Link to comment Share on other sites More sharing options...
uddhava Posted February 22, 2010 Share Posted February 22, 2010 Correct me if i'm wrong, but the shipping costs are mentioned in the cart already..?!If you need to show the shipping price then the order-payment.php file needs to have the correct variable specified.I dont know if this is done. Link to comment Share on other sites More sharing options...
presta-dyr Posted February 22, 2010 Share Posted February 22, 2010 You can see which variables are available in the function getSummaryDetails() in classes/Cart.php. The variables you are looking for must be $total_shipping and $total_shipping_tax_exc./Kjeld 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