Show Retail Price (MRP) in category product listing page

  • Posts: 84
  • Thank you received: 13
  • Hikashop Business
6 years 8 months ago #295345

HI,
I am reviewing the documentation and all the forum post :blink: about the option to show the retail price in a list of products (category)

I followed this post but I did not have any results.
https://www.hikashop.com/forum/product-category-display/864389-show-both-price-and-retail-price.html

Regards
Javier


Javier Ballester

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

  • Posts: 83402
  • Thank you received: 13495
  • MODERATOR
6 years 7 months ago #295392

Hi,

There is indeed no option to display the retail price on the listings of products.
So a code modification is necessary.
It's indeed the modification I recommend on that other thread that needs to be done.
Note however that the code is twice there:
monosnap.com/file/35bEvZy4a7mCBXYCC7TmgepqxZ54z8
Note also that the code changed and it's not anymore:
&& JRequest::getCmd('layout') == 'show' && $this->params->get('from_module','') == ''
but:
&& hikaInput::get()->getCmd('layout') == 'show' && $this->params->get('from_module','') == ''
that you need to remove so that it can display on the listings.

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

  • Posts: 84
  • Thank you received: 13
  • Hikashop Business
6 years 7 months ago #295405

Hi Nicolas,
work fine
Joomla! 3.8.10 & Hika 3.4.1
Edit File > Display / Views > listing_price.php (view product & my template & Front end)

Thank you
Regards
Javier


Javier Ballester

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

Time to create page: 0.058 seconds
Powered by Kunena Forum