Jump to content

Get value Product_Wholesale_Price


omar2886
 Share

Recommended Posts

Hi!

In / admin / themes / default / template / controllers / orders / _product_line.tpl you can get the selling price like this:

{assign var=product_price value=$product['unit_price_tax_incl']}

But, how can I get the Wholesale Price?

Thanks!

Share this post


Link to post
Share on other sites

Thanks for the answer! But how can I create the variable and then insert it? for example, the variable for the Product Price with TAX it is generated like this:

{if ($order->getTaxCalculationMethod() == $smarty.const.PS_TAX_EXC)}
	{assign var=product_price value=($product['unit_price_tax_excl'] + $product['ecotax'])}
{else}
	{assign var=product_price value=$product['unit_price_tax_incl']}
{/if}

Then it is called to appear in the table like this:

<span class="product_price_show">{displayPrice price=$product_price currency=$currency->id}</span>

How can I do the same with the purchase price?

 

Thanks!

Share this post


Link to post
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
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More