Jump to content

BlockViewed - price without reduction


Recommended Posts

Hi all,

I followed instruction from NemoPS to get price and add to cart button to module Block Viewed products. I need to add there also price without reduction. 

I have in blockviewed.php this:

$obj->price = Product::getPriceStatic($obj->id);
$obj->price_without_reduction = ????????;

What must be in second line? 

In blockviewed.tpl this:

<span class="price">{convertPrice price=$viewedProduct->price}</span>
<span class="old-price">{convertPrice price=$viewedProduct->price_without_reduction}</span>

Is second line correct?

 

Can someone help? 

 

Thank you so much

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...