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

#   Don't display prices until option is choosen

##

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

Less More

- Posts: 139
- Thank you received: 1
-
-

13 years 5 days ago -  13 years 1 day ago [\#129454](#129454) by [abasel](/forum/user/6302-abasel "View abasel's Profile")  *[Don't display prices until option is choosen](/forum/25-install-update/863111-dont-display-prices-until-option-is-choosen#129454 "Is it possible to prevent the price from being shown until an option is chosen.?")* was created by *[abasel](/forum/user/6302-abasel "View abasel's Profile")*

Is it possible to prevent the price from being shown until an option is chosen.?

Last edit: 13 years 1 day ago by [abasel](/forum/user/6302-abasel "View abasel's Profile").

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

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

13 years 5 days ago [\#129478](#129478) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[Don't display prices until option is choosen](/forum/25-install-update/863111-dont-display-prices-until-option-is-choosen#129478 "Is it possible to prevent the price from being shown until an option is chosen.?")*

Hi,

Firstly can you give us more information about what you want to do ? when you say "option", are you talking about product options, or product variants(characteristic) ?

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

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

Less More

- Posts: 139
- Thank you received: 1
-
-

13 years 4 days ago [\#129593](#129593) by [abasel](/forum/user/6302-abasel "View abasel's Profile")  Replied by *[abasel](/forum/user/6302-abasel "View abasel's Profile")* on topic *[Don't display prices until option is choosen](/forum/25-install-update/863111-dont-display-prices-until-option-is-choosen#129593 "Is it possible to prevent the price from being shown until an option is chosen.?")*

Sorry... product variants(characteristic)

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

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

13 years 2 days ago -  13 years 2 days ago [\#129840](#129840) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[Don't display prices until option is choosen](/forum/25-install-update/863111-dont-display-prices-until-option-is-choosen#129840 "Is it possible to prevent the price from being shown until an option is chosen.?")*

Ok, so the solution will be to :

1. set the price of your product to 0, and don't forget a price for each variants of your product through "*Hikashop-&gt;Products-&gt;YourProductPage-&gt;'Manage Variants Button'-&gt;**YourVariant**"*.
2. edit your language file through "Hikashop-&gt;System-&gt;Configuration-&gt;Languages-&gt;**YourLanguageFile**", and change this line : Code:

FREE_PRICE="Free"

By : Code:

FREE_PRICE=" "

Last edit: 13 years 2 days ago by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile").

The following user(s) said Thank You: [abasel](/forum/user/6302-abasel "View abasel's Profile")

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

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

Less More

- Posts: 4
- Thank you received: 0
-
-

13 years 1 day ago [\#129878](#129878) by [aradiah25](/forum/user/28754-aradiah25 "View aradiah25's Profile")  Replied by *[aradiah25](/forum/user/28754-aradiah25 "View aradiah25's Profile")* on topic *[Don't display prices until option is choosen](/forum/25-install-update/863111-dont-display-prices-until-option-is-choosen#129878 "Is it possible to prevent the price from being shown until an option is chosen.?")*

Hello,
My product prices are based on the same principle.
Is it possible that there is no price displayed even before what you suggest, I mean once you just open the link of menu type "product list" as shown in the attached file?
THanks

- [ ![hbbfc90e.jpg](/forum/attachment/13240) ](/forum/attachment/13240 "hbbfc90e.jpg") [ ](/forum/attachment/13240?download=1 "hbbfc90e.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg2MzExMS1kb250LWRpc3BsYXktcHJpY2VzLXVudGlsLW9wdGlvbi1pcy1jaG9vc2VuP3RtcGw9bWFya2Rvd24=) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86302
- Thank you received: 14273
-
-

13 years 1 day ago [\#129939](#129939) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Don't display prices until option is choosen](/forum/25-install-update/863111-dont-display-prices-until-option-is-choosen#129939 "Is it possible to prevent the price from being shown until an option is chosen.?")*

Hi,

Sure. You can edit the file "listing_img_title" of the view "product" via the menu Display&gt;Views and remove the block of code for the price display.

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

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

Less More

- Posts: 4
- Thank you received: 0
-
-

13 years 1 day ago [\#129946](#129946) by [aradiah25](/forum/user/28754-aradiah25 "View aradiah25's Profile")  Replied by *[aradiah25](/forum/user/28754-aradiah25 "View aradiah25's Profile")* on topic *[Don't display prices until option is choosen](/forum/25-install-update/863111-dont-display-prices-until-option-is-choosen#129946 "Is it possible to prevent the price from being shown until an option is chosen.?")*

Well if I do this
If I remove :
&lt;!-- PRODUCT PRICE --&gt;
&lt;?php
}
if($this-&gt;params-&gt;get('show_price','-1')=='-1'){
$config =&amp; hikashop_config();
$this-&gt;params-&gt;set('show_price',$config-&gt;get('show_price'));
}
if($this-&gt;params-&gt;get('show_price')){
$this-&gt;setLayout('listing_price');
echo $this-&gt;loadTemplate();
}
?&gt;
I have an error message :
Parse error: syntax error, unexpected $end in /homez.764/sourcesv/www/templates/hotel_3/html/com_hikashop/product/listing_img_title.php on line 97
when i want ot get to the front end.
Shoul I also remove the block &lt;!-- EO COMPARISON AREA --&gt; or change something in it?

Thanks

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg2MzExMS1kb250LWRpc3BsYXktcHJpY2VzLXVudGlsLW9wdGlvbi1pcy1jaG9vc2VuP3RtcGw9bWFya2Rvd24=) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86302
- Thank you received: 14273
-
-

13 years 1 day ago [\#129948](#129948) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Don't display prices until option is choosen](/forum/25-install-update/863111-dont-display-prices-until-option-is-choosen#129948 "Is it possible to prevent the price from being shown until an option is chosen.?")*

Only remove that line:
echo $this-&gt;loadTemplate();

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

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

Less More

- Posts: 4
- Thank you received: 0
-
-

13 years 1 day ago [\#129949](#129949) by [aradiah25](/forum/user/28754-aradiah25 "View aradiah25's Profile")  Replied by *[aradiah25](/forum/user/28754-aradiah25 "View aradiah25's Profile")* on topic *[Don't display prices until option is choosen](/forum/25-install-update/863111-dont-display-prices-until-option-is-choosen#129949 "Is it possible to prevent the price from being shown until an option is chosen.?")*

Thanks !!!

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

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

[](#top)
