1

I have to use the German setup base price module, which is shown at the product view. I want to use it in all list views too.

Base price module

enter image description here

The template, I am using, has a subprice.phtml, which is used for all product views (listing, grids, cart). How can I manage to display the base price there too?

2
  • without knowing which module you are using and how the module returns the base price data it is hard to answer this. Perhaps contacting the module author and asking them how to include the base price data in the list view would help.
    – paj
    Commented Sep 18, 2015 at 14:17
  • I tried to contact the author- no reply! What must I post to clear it up?
    – Bingo
    Commented Sep 18, 2015 at 21:59

1 Answer 1

1

Use the documentation at http://de.nr-apps.com/store/hilfeseiten/hilfe/baseprice.html

It says:

To assign the output to your grid and list view, please use following code inside your file:

app/design/frontend/IHR_PAKET/IHR_TEMPLATE/template/catalog/product/list.phtml

<?php if($baseprice = Mage::helper('baseprice')->getBasePriceLabel($_product, true)): ?>
    <div class="baseprice">(<?php echo $baseprice ?>)</div>
<?php endif; ?>

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.