datasphere Posted February 16, 2018 Share Posted February 16, 2018 how to display unit price and product price into checkout page like a new row as shown on image? in my case carton price is prduct price I think it's order opc file ...but what code? thanks a lot Link to comment Share on other sites More sharing options...
datasphere Posted March 4, 2018 Author Share Posted March 4, 2018 BIG THANK YOU TO NEMOPS for help on another tread here is the code for any future implementation <td class="cart_unity" data-title="{l s='Per unit price'}"> <div class="mobile_table_content" align="center">{displayPrice price=$product.wholesale_price}</div> </td> to make new column you need to add some code to the following TPL files shopping-cart.tpl <th class="cart_unity item text-center">{l s='Per unit price'}</th> <th class="cart_unit item text-right">{l s='Unit price'}</th> <th class="cart_quantity item text-center">{l s='Qty'}</th> <th class="cart_delete last_item"> </th> <th class="cart_total item text-right">{l s='Total'}</th> shopping-cart-advanced.tpl <th class="cart_unity item text-left">{l s='Per unit price'}</th> <th class="cart_unit item text-right">{l s='Unit price'}</th> <th class="cart_quantity item text-center">{l s='Qty'}</th> <th class="cart_total item text-right">{l s='Total'}</th> This is to achieve what i needed for this shop you could name it differently or put something else there for example price without VAT and price with VAT, looks like this THANK YOU all for reading 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