Jump to content

displaying unit price and product price on the checkout page


Recommended Posts

  • 3 weeks later...

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">&nbsp;</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

result.thumb.JPG.4be07d652018ec61a2b4a796544698ea.JPG

THANK YOU all for reading

 

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...