"Price from" on product page only.

  • Posts: 306
  • Thank you received: 42
  • Hikamarket Multivendor Hikashop Business
11 years 6 months ago #106144

I would like to add "Price from" before the base price on just the product page only. I tried changing PRICE_BEGINNING in the language file but then the text appears on all prices including the checkout and invoices. Is there a way of just displaying it on the product page?

Ideally the "Price from" text would only appear if there was more than one price option!

Thanks
Trevor

Edit: sort of got it working by editing product/show_default.php as follows:
<span id="hikashop_product_price_main" class="hikashop_product_price_main">
<span class="hikashop_product_price_full">Price from </span>

Perhaps there is a better way?

Trevor

Last edit: 11 years 6 months ago by trevsmiff.

Please Log in or Create an account to join the conversation.

  • Posts: 82868
  • Thank you received: 13378
  • MODERATOR
11 years 6 months ago #106281

You can edit the file "listing_price" of the view "product" via the menu Display->views and add such code where you want it:
<?php if(!empty($this->element->product_id)) echo 'Price from'; ?>

Please Log in or Create an account to join the conversation.

  • Posts: 306
  • Thank you received: 42
  • Hikamarket Multivendor Hikashop Business
11 years 6 months ago #106329

Thanks Nicolas, thats a better way of doing it.

Trevor

Please Log in or Create an account to join the conversation.

Time to create page: 0.057 seconds
Powered by Kunena Forum