- Posts: 178
- Thank you received: 5
Show both Price and Retail price
12 years 9 months ago #136802
by alikon1
Show both Price and Retail price was created 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 )?
-- 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.
12 years 9 months ago #136815
by Xavier
Replied by Xavier on topic Show both Price and Retail price
Hi,
You have to edit the view "product / listing_price", and in this view remove the code:
It's present two times.
You have to edit the view "product / listing_price", and in this view remove the code:
Code:
&& JRequest::getCmd('layout') == 'show'
Please Log in or Create an account to join the conversation.
Less
More
- Posts: 1
- Thank you received: 0
11 years 2 months ago #209602
by markyvento
Replied by markyvento on topic Show both Price and Retail price
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.
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.
11 years 2 months ago #209609
by nicolas
Replied by nicolas on topic Show both Price and Retail price
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.
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.
8 years 2 months ago #295393
by nicolas
Replied by nicolas on topic Show both Price and Retail price
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.
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