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

#   Not to show a price on the listing page if options

##

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

Less More

- Posts: 179
- Thank you received: 17
-
-
- [](http://oceansafety.com)
-

15 years 7 months ago [\#11815](#11815) by [rikatos](/forum/user/1634-rikatos "View rikatos's Profile")  *[Not to show a price on the listing page if options](/forum/4-how-to/11815-not-to-show-a-price-on-the-listing-page-if-options#11815 "Hi There  Great piece of software so far ! constantly impressed with functions.  Now after the creeping, back to my question :)  On my products listing pages I have a mixture of products that are single products and products with variations (ie options).  I was really impressed when I decided to turn on the 'add to cart' buttons for these and it replaced the 'add to cart' with 'choose options' for these products (nice touch!)  But then of course I wanted to display the price for these single products seeing as there is an add to cart button. so I swithced this on. The prices turn on ! great !  BUT, the products with options button also show the default variations price. not good as this then looks like thats what the product costs (people will moan)  So I guess what I would like to know is if it is possible for one of two options to happen. First option (the coolest) would be for the item to be able to grab the variations lowest and highest prices and display them as (£10 to £20) OR option 2 would be for it not to display a price for products with options on the product listing page because you have to choose your option anyway.  Any ideas to make my dream come true :)")* was created by *[rikatos](/forum/user/1634-rikatos "View rikatos's Profile")*

Hi There

Great piece of software so far ! constantly impressed with functions.

Now after the creeping, back to my question ![:)](/media/kunena/emoticons/3.png ":)")

On my products listing pages I have a mixture of products that are single products and products with variations (ie options).

I was really impressed when I decided to turn on the 'add to cart' buttons for these and it replaced the 'add to cart' with 'choose options' for these products (nice touch!)

But then of course I wanted to display the price for these single products seeing as there is an add to cart button. so I swithced this on. The prices turn on ! great !

BUT, the products with options button also show the default variations price. not good as this then looks like thats what the product costs (people will moan)

So I guess what I would like to know is if it is possible for one of two options to happen. First option (the coolest) would be for the item to be able to grab the variations lowest and highest prices and display them as (£10 to £20) OR option 2 would be for it not to display a price for products with options on the product listing page because you have to choose your option anyway.

Any ideas to make my dream come true ![:)](/media/kunena/emoticons/3.png ":)")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzExODE1LW5vdC10by1zaG93LWEtcHJpY2Utb24tdGhlLWxpc3RpbmctcGFnZS1pZi1vcHRpb25zP3RtcGw9bWFya2Rvd24=) 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")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86561
- Thank you received: 14307
-
-

15 years 7 months ago [\#11836](#11836) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Not to show a price on the listing page if options](/forum/4-how-to/11815-not-to-show-a-price-on-the-listing-page-if-options#11836 "Hi There  Great piece of software so far ! constantly impressed with functions.  Now after the creeping, back to my question :)  On my products listing pages I have a mixture of products that are single products and products with variations (ie options).  I was really impressed when I decided to turn on the 'add to cart' buttons for these and it replaced the 'add to cart' with 'choose options' for these products (nice touch!)  But then of course I wanted to display the price for these single products seeing as there is an add to cart button. so I swithced this on. The prices turn on ! great !  BUT, the products with options button also show the default variations price. not good as this then looks like thats what the product costs (people will moan)  So I guess what I would like to know is if it is possible for one of two options to happen. First option (the coolest) would be for the item to be able to grab the variations lowest and highest prices and display them as (£10 to £20) OR option 2 would be for it not to display a price for products with options on the product listing page because you have to choose your option anyway.  Any ideas to make my dream come true :)")*

On the listing of products, when you have products with variants, the price displayed is either the price(s) of the product itself if any or the price(s) of the variants of the product if the main product doesn't have any price. I put a (s) because in the hikashop options of your menu/module you can choose to display a range of prices instead of the cheapest price or all the prices, etc. That way, you can choose to display the lowest and the highest price on the listing.

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

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

Less More

- Posts: 179
- Thank you received: 17
-
-
- [](http://oceansafety.com)
-

15 years 7 months ago [\#11897](#11897) by [rikatos](/forum/user/1634-rikatos "View rikatos's Profile")  Replied by *[rikatos](/forum/user/1634-rikatos "View rikatos's Profile")* on topic *[Re: Not to show a price on the listing page if options](/forum/4-how-to/11815-not-to-show-a-price-on-the-listing-page-if-options#11897 "Hi There  Great piece of software so far ! constantly impressed with functions.  Now after the creeping, back to my question :)  On my products listing pages I have a mixture of products that are single products and products with variations (ie options).  I was really impressed when I decided to turn on the 'add to cart' buttons for these and it replaced the 'add to cart' with 'choose options' for these products (nice touch!)  But then of course I wanted to display the price for these single products seeing as there is an add to cart button. so I swithced this on. The prices turn on ! great !  BUT, the products with options button also show the default variations price. not good as this then looks like thats what the product costs (people will moan)  So I guess what I would like to know is if it is possible for one of two options to happen. First option (the coolest) would be for the item to be able to grab the variations lowest and highest prices and display them as (£10 to £20) OR option 2 would be for it not to display a price for products with options on the product listing page because you have to choose your option anyway.  Any ideas to make my dream come true :)")*

Hi, thanks for your reply

I had played with range with very little luck, maybe Im doing something wrong ? ideally if range is selected it will display the lowest variant and the highest varient prices ? to give an indication to the customer of expected prices ?

Or of course display nothing at all there, but I can only do this by turning of displaying prices, which seems wrong when you want to display single items on the page with a add to cart button (kinda need to tell them then the price !)

![:)](/media/kunena/emoticons/3.png ":)")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzExODE1LW5vdC10by1zaG93LWEtcHJpY2Utb24tdGhlLWxpc3RpbmctcGFnZS1pZi1vcHRpb25zP3RtcGw9bWFya2Rvd24=) 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")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86561
- Thank you received: 14307
-
-

15 years 7 months ago [\#11902](#11902) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Not to show a price on the listing page if options](/forum/4-how-to/11815-not-to-show-a-price-on-the-listing-page-if-options#11902 "Hi There  Great piece of software so far ! constantly impressed with functions.  Now after the creeping, back to my question :)  On my products listing pages I have a mixture of products that are single products and products with variations (ie options).  I was really impressed when I decided to turn on the 'add to cart' buttons for these and it replaced the 'add to cart' with 'choose options' for these products (nice touch!)  But then of course I wanted to display the price for these single products seeing as there is an add to cart button. so I swithced this on. The prices turn on ! great !  BUT, the products with options button also show the default variations price. not good as this then looks like thats what the product costs (people will moan)  So I guess what I would like to know is if it is possible for one of two options to happen. First option (the coolest) would be for the item to be able to grab the variations lowest and highest prices and display them as (£10 to £20) OR option 2 would be for it not to display a price for products with options on the product listing page because you have to choose your option anyway.  Any ideas to make my dream come true :)")*

Could you try to replace the file administrator/components/com_hikashop/classes/currency.php by the one in the archive enclosed (make a backup of the file first) and try again the range option. The current version does not handle different prices for the same minimum quantity for different variants so I've made a few modifications which might do the trick.

####  *This attachment is hidden for guests.
Please log in or register to see it.*

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

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

Less More

- Posts: 179
- Thank you received: 17
-
-
- [](http://oceansafety.com)
-

15 years 7 months ago [\#11903](#11903) by [rikatos](/forum/user/1634-rikatos "View rikatos's Profile")  Replied by *[rikatos](/forum/user/1634-rikatos "View rikatos's Profile")* on topic *[Re: Not to show a price on the listing page if options](/forum/4-how-to/11815-not-to-show-a-price-on-the-listing-page-if-options#11903 "Hi There  Great piece of software so far ! constantly impressed with functions.  Now after the creeping, back to my question :)  On my products listing pages I have a mixture of products that are single products and products with variations (ie options).  I was really impressed when I decided to turn on the 'add to cart' buttons for these and it replaced the 'add to cart' with 'choose options' for these products (nice touch!)  But then of course I wanted to display the price for these single products seeing as there is an add to cart button. so I swithced this on. The prices turn on ! great !  BUT, the products with options button also show the default variations price. not good as this then looks like thats what the product costs (people will moan)  So I guess what I would like to know is if it is possible for one of two options to happen. First option (the coolest) would be for the item to be able to grab the variations lowest and highest prices and display them as (£10 to £20) OR option 2 would be for it not to display a price for products with options on the product listing page because you have to choose your option anyway.  Any ideas to make my dream come true :)")*

brilliant, its almost there, just being a little picky now rather than saying

for eample:
£100 each
£200 each

I think it needs a indicator to say what it means ? something like a simple 'to' inbetween would make it easy for the customer to understand ?

£100 to
£200 each
(centered of course:))

Then it would rock and cover all bases ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzExODE1LW5vdC10by1zaG93LWEtcHJpY2Utb24tdGhlLWxpc3RpbmctcGFnZS1pZi1vcHRpb25zP3RtcGw9bWFya2Rvd24=) 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")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86561
- Thank you received: 14307
-
-

15 years 7 months ago [\#11904](#11904) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Not to show a price on the listing page if options](/forum/4-how-to/11815-not-to-show-a-price-on-the-listing-page-if-options#11904 "Hi There  Great piece of software so far ! constantly impressed with functions.  Now after the creeping, back to my question :)  On my products listing pages I have a mixture of products that are single products and products with variations (ie options).  I was really impressed when I decided to turn on the 'add to cart' buttons for these and it replaced the 'add to cart' with 'choose options' for these products (nice touch!)  But then of course I wanted to display the price for these single products seeing as there is an add to cart button. so I swithced this on. The prices turn on ! great !  BUT, the products with options button also show the default variations price. not good as this then looks like thats what the product costs (people will moan)  So I guess what I would like to know is if it is possible for one of two options to happen. First option (the coolest) would be for the item to be able to grab the variations lowest and highest prices and display them as (£10 to £20) OR option 2 would be for it not to display a price for products with options on the product listing page because you have to choose your option anyway.  Any ideas to make my dream come true :)")*

You can do that by overriding the price strings at the top of the translation file with the interface in the config under the tab languages.

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

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

Less More

- Posts: 179
- Thank you received: 17
-
-
- [](http://oceansafety.com)
-

15 years 7 months ago [\#11907](#11907) by [rikatos](/forum/user/1634-rikatos "View rikatos's Profile")  Replied by *[rikatos](/forum/user/1634-rikatos "View rikatos's Profile")* on topic *[Re: Not to show a price on the listing page if options](/forum/4-how-to/11815-not-to-show-a-price-on-the-listing-page-if-options#11907 "Hi There  Great piece of software so far ! constantly impressed with functions.  Now after the creeping, back to my question :)  On my products listing pages I have a mixture of products that are single products and products with variations (ie options).  I was really impressed when I decided to turn on the 'add to cart' buttons for these and it replaced the 'add to cart' with 'choose options' for these products (nice touch!)  But then of course I wanted to display the price for these single products seeing as there is an add to cart button. so I swithced this on. The prices turn on ! great !  BUT, the products with options button also show the default variations price. not good as this then looks like thats what the product costs (people will moan)  So I guess what I would like to know is if it is possible for one of two options to happen. First option (the coolest) would be for the item to be able to grab the variations lowest and highest prices and display them as (£10 to £20) OR option 2 would be for it not to display a price for products with options on the product listing page because you have to choose your option anyway.  Any ideas to make my dream come true :)")*

Once again, amazed as the versitiliy of Hikashop, all is good ![:)](/media/kunena/emoticons/3.png ":)")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzExODE1LW5vdC10by1zaG93LWEtcHJpY2Utb24tdGhlLWxpc3RpbmctcGFnZS1pZi1vcHRpb25zP3RtcGw9bWFya2Rvd24=) 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.073 seconds

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