Skip to main content

Show both Price and Retail price

More
12 years 9 months ago #136802 by alikon1
-- HikaShop version -- : 2.2.2
-- Joomla version -- : 3.2

How to show both Price and Retail price on Products listing page (not on Product details page )?

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

More
12 years 9 months ago #136815 by Xavier
Hi,

You have to edit the view "product / listing_price", and in this view remove the code:
Code:
&& JRequest::getCmd('layout') == 'show'
It's present two times.

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

More
11 years 2 months ago #209602 by markyvento
Hi Xavier,

Hikashop 2.5.0
Joomla 3.4.3

If I remove the code, nothing happens. How can I show both Price and Retail Price in list products? Both are showing in products details, but need to show both inside list product box, under main image, and, if possible, Price before of Retail Price.

Thanks.
Luis.

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

More
11 years 2 months ago #209609 by nicolas
Hi,

With recent versions of HikaShop, you want to remove that code:
&& JRequest::getCmd('layout') == 'show' && $this->params->get('from_module','') == ''

Again, it is present twice in the view file. Also make sure that you're editing the view file for your frontend template and not another one or you won't see any change.

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

More
8 years 2 months ago #295393 by nicolas
Hi,

For anyone reading this, note 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.

Again, it is present twice in the view file. Also make sure that you're editing the view file for your frontend template and not another one or you won't see any change.

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

Time to create page: 0.162 seconds
Powered by Kunena Forum