[Skip to main content](#vessel-content)

#   Show both Price and Retail price

##

- **[alikon1](/forum/user/17244-alikon1 "View alikon1's Profile")**
- [![alikon1's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar17244.jpg)](/forum/user/17244-alikon1 "View alikon1's Profile") Topic Author
- [ Offline](/forum/user/17244-alikon1)

Less More

- Posts: 178
- Thank you received: 5
-
-
-
-

12 years 10 months ago [\#136802](#136802) by [alikon1](/forum/user/17244-alikon1 "View alikon1's Profile")  *[Show both Price and Retail price](/forum/26-product-category-display/864389-show-both-price-and-retail-price#136802 "-- 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 )?")* was created by *[alikon1](/forum/user/17244-alikon1 "View alikon1's Profile")*

-- 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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3Byb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NjQzODktc2hvdy1ib3RoLXByaWNlLWFuZC1yZXRhaWwtcHJpY2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

12 years 10 months ago [\#136815](#136815) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Show both Price and Retail price](/forum/26-product-category-display/864389-show-both-price-and-retail-price#136815 "-- 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 )?")*

Hi,

You have to edit the view "product / listing_price", and in this view remove the code: Code:

&amp;&amp; JRequest::getCmd('layout') == 'show'

It's present two times.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3Byb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NjQzODktc2hvdy1ib3RoLXByaWNlLWFuZC1yZXRhaWwtcHJpY2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[markyvento](/forum/user/35192-markyvento "View markyvento's Profile")**
- [![markyvento's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/35192-markyvento "View markyvento's Profile")
- [ Offline](/forum/user/35192-markyvento)

Less More

- Posts: 1
- Thank you received: 0
-
-

11 years 3 months ago [\#209602](#209602) by [markyvento](/forum/user/35192-markyvento "View markyvento's Profile")  Replied by *[markyvento](/forum/user/35192-markyvento "View markyvento's Profile")* on topic *[Show both Price and Retail price](/forum/26-product-category-display/864389-show-both-price-and-retail-price#209602 "-- 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 )?")*

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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3Byb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NjQzODktc2hvdy1ib3RoLXByaWNlLWFuZC1yZXRhaWwtcHJpY2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86321
- Thank you received: 14279
-
-

11 years 3 months ago [\#209609](#209609) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Show both Price and Retail price](/forum/26-product-category-display/864389-show-both-price-and-retail-price#209609 "-- 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 )?")*

Hi,

With recent versions of HikaShop, you want to remove that code:
&amp;&amp; JRequest::getCmd('layout') == 'show' &amp;&amp; $this-&gt;params-&gt;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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3Byb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NjQzODktc2hvdy1ib3RoLXByaWNlLWFuZC1yZXRhaWwtcHJpY2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86321
- Thank you received: 14279
-
-

8 years 3 months ago [\#295393](#295393) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Show both Price and Retail price](/forum/26-product-category-display/864389-show-both-price-and-retail-price#295393 "-- 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 )?")*

Hi,

For anyone reading this, note that the code changed and it's not anymore:
&amp;&amp; JRequest::getCmd('layout') == 'show' &amp;&amp; $this-&gt;params-&gt;get('from_module','') == ''
but:
&amp;&amp; hikaInput::get()-&gt;getCmd('layout') == 'show' &amp;&amp; $this-&gt;params-&gt;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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3Byb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NjQzODktc2hvdy1ib3RoLXByaWNlLWFuZC1yZXRhaWwtcHJpY2U/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.068 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)

[](#top)
