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

#   Changing Display of Free Item With Characteristics

##

- **[DSCulp](/forum/user/15687-dsculp "View DSCulp's Profile")**
- [![DSCulp's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar_2013-04-10.jpg)](/forum/user/15687-dsculp "View DSCulp's Profile") Topic Author
- [ Offline](/forum/user/15687-dsculp)

Less More

- Posts: 9
- Thank you received: 0
-
-
-

11 years 11 months ago -  11 years 11 months ago [\#181505](#181505) by [DSCulp](/forum/user/15687-dsculp "View DSCulp's Profile")  *[Changing Display of Free Item With Characteristics](/forum/26-product-category-display/873306-changing-display-of-free-item-with-characteristics#181505 "-- HikaShop version -- : 2.3.4 -- Joomla version -- : 2.5.27 -- PHP version -- : 5.3.13 -- Browser(s) name and version -- : Firefox 33.1 -- Error-message(debug-mod must be tuned on) -- : None  I have been trying to set up a Gift Certificate on my website and would like to adjust the way it displays in the Products list.  Currently, the item is listed without a price (the actual card is free) but has several Variants that allow the customer to choose the value they would like and one that is listed as Custom Amount. The idea is, that if the customer decides on a preset amount then they will be charged that amount and the order can be processed automatically. If they decide on the Custom Amount, there is no charge made but the order is created and can be followed up for more details and payment.  ;)  It all works great, but the problem is, in the Products list, the card displays with the lowest priced Variant, even though I have chosen Custom Amount (which has no price assigned) as the default value, and the base product (the card itself) is Free. (see example screenshots)  Is there any way to have the price completely removed if there are variants with other prices?? This would make the most sense since they have to click into the Product listing to customize it anyways.")* was created by *[DSCulp](/forum/user/15687-dsculp "View DSCulp's Profile")*

-- HikaShop version -- : 2.3.4
-- Joomla version -- : 2.5.27
-- PHP version -- : 5.3.13
-- Browser(s) name and version -- : Firefox 33.1
-- Error-message(debug-mod must be tuned on) -- : None

I have been trying to set up a Gift Certificate on my website and would like to adjust the way it displays in the Products list.

Currently, the item is listed without a price (the actual card is free) but has several Variants that allow the customer to choose the value they would like and one that is listed as ***Custom Amount***. The idea is, that if the customer decides on a preset amount then they will be charged that amount and the order can be processed automatically. If they decide on the ***Custom Amount***, there is no charge made but the order is created and can be followed up for more details and payment.

Ideally, I would like a popup or something where they could enter the amount they wish and have all orders automated, but that is far beyond my capabilities!! ![;)](/media/kunena/emoticons/24.png ";)")

It all works great, but the problem is, in the Products list, the card displays with the lowest priced Variant, even though I have chosen ***Custom Amount*** (which has no price assigned) as the default value, and the base product (the card itself) is Free. (see example screenshots)

Is there any way to have the price completely removed if there are variants with other prices?? This would make the most sense since they have to click into the Product listing to customize it anyways.

[ ![Variants.jpg](/forum/attachment/20953) ](/forum/attachment/20953 "Variants.jpg")

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

Last edit: 11 years 11 months ago by [DSCulp](/forum/user/15687-dsculp "View DSCulp's Profile"). Reason: Minor changes to structure and wording.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzMzMDYtY2hhbmdpbmctZGlzcGxheS1vZi1mcmVlLWl0ZW0td2l0aC1jaGFyYWN0ZXJpc3RpY3M/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) 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: 86322
- Thank you received: 14279
-
-

11 years 11 months ago [\#181543](#181543) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Changing Display of Free Item With Characteristics](/forum/26-product-category-display/873306-changing-display-of-free-item-with-characteristics#181543 "-- HikaShop version -- : 2.3.4 -- Joomla version -- : 2.5.27 -- PHP version -- : 5.3.13 -- Browser(s) name and version -- : Firefox 33.1 -- Error-message(debug-mod must be tuned on) -- : None  I have been trying to set up a Gift Certificate on my website and would like to adjust the way it displays in the Products list.  Currently, the item is listed without a price (the actual card is free) but has several Variants that allow the customer to choose the value they would like and one that is listed as Custom Amount. The idea is, that if the customer decides on a preset amount then they will be charged that amount and the order can be processed automatically. If they decide on the Custom Amount, there is no charge made but the order is created and can be followed up for more details and payment.  ;)  It all works great, but the problem is, in the Products list, the card displays with the lowest priced Variant, even though I have chosen Custom Amount (which has no price assigned) as the default value, and the base product (the card itself) is Free. (see example screenshots)  Is there any way to have the price completely removed if there are variants with other prices?? This would make the most sense since they have to click into the Product listing to customize it anyways.")*

There is no option to hide the price on the listing based on whether the product has variants.

Edit the file "listing_price" of the view "product" for your frontend template via the menu Display&gt;Views and add that line at the beginning and that should do it:
&lt;?php if(JRequest::getCmd('layout') != 'show' &amp;&amp; !empty($this-&gt;row-&gt;has_options)) return; ?&gt;

The following user(s) said Thank You: [DSCulp](/forum/user/15687-dsculp "View DSCulp's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzMzMDYtY2hhbmdpbmctZGlzcGxheS1vZi1mcmVlLWl0ZW0td2l0aC1jaGFyYWN0ZXJpc3RpY3M/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[DSCulp](/forum/user/15687-dsculp "View DSCulp's Profile")**
- [![DSCulp's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar_2013-04-10.jpg)](/forum/user/15687-dsculp "View DSCulp's Profile") Topic Author
- [ Offline](/forum/user/15687-dsculp)

Less More

- Posts: 9
- Thank you received: 0
-
-
-

11 years 11 months ago [\#181711](#181711) by [DSCulp](/forum/user/15687-dsculp "View DSCulp's Profile")  Replied by *[DSCulp](/forum/user/15687-dsculp "View DSCulp's Profile")* on topic *[Changing Display of Free Item With Characteristics](/forum/26-product-category-display/873306-changing-display-of-free-item-with-characteristics#181711 "-- HikaShop version -- : 2.3.4 -- Joomla version -- : 2.5.27 -- PHP version -- : 5.3.13 -- Browser(s) name and version -- : Firefox 33.1 -- Error-message(debug-mod must be tuned on) -- : None  I have been trying to set up a Gift Certificate on my website and would like to adjust the way it displays in the Products list.  Currently, the item is listed without a price (the actual card is free) but has several Variants that allow the customer to choose the value they would like and one that is listed as Custom Amount. The idea is, that if the customer decides on a preset amount then they will be charged that amount and the order can be processed automatically. If they decide on the Custom Amount, there is no charge made but the order is created and can be followed up for more details and payment.  ;)  It all works great, but the problem is, in the Products list, the card displays with the lowest priced Variant, even though I have chosen Custom Amount (which has no price assigned) as the default value, and the base product (the card itself) is Free. (see example screenshots)  Is there any way to have the price completely removed if there are variants with other prices?? This would make the most sense since they have to click into the Product listing to customize it anyways.")*

Thank you...that worked beautifully!!! ![:-)](/media/kunena/emoticons/3.png ":-)")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84NzMzMDYtY2hhbmdpbmctZGlzcGxheS1vZi1mcmVlLWl0ZW0td2l0aC1jaGFyYWN0ZXJpc3RpY3M/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) 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.078 seconds

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

[](#top)
