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

#   Setting prices for variants

##

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

Less More

- Posts: 22
- Thank you received: 0
-
-

8 years 1 month ago -  8 years 1 month ago [\#298688](#298688) by [josflachs](/forum/user/42532-josflachs "View josflachs's Profile")  *[Setting prices for variants](/forum/25-install-update/895872-setting-prices-for-variants#298688 "-- url of the page with the problem -- : localhost -- HikaShop version -- : 4.0.0 -- Joomla version -- : 3.8.12 -- PHP version -- : 7.2.9 -- Browser(s) name and version -- : Firefox 62.03  Gents, I've got a small problem. I want to create a product with 3 variants: free, basic, extended. Creating the necessary variants works fine. I have to set one as default. Works too. The problem is setting the prices correct.  I set basic as default. That price is 10. All prices are now showing as: Common price: 10,00 THB Our price: 10,00 THB each. When I select extended, the price shows as: Common price: 100,00 THB Our price: 10,00 THB each. When I select free, the price shows as: Common price: 10,00 THB Our price: 10,00 THB each.  What do I need to do to show the correct prices, in my case free/zero/0,00 for free, 10 for basic and 100 for extended?  Setting the price for the free variant to 0 doesn't work. When I set the price at 0 or 0,00 I get a php error. (Also if I set it in the product itself.)")* was created by *[josflachs](/forum/user/42532-josflachs "View josflachs's Profile")*

-- url of the page with the problem -- : localhost
-- HikaShop version -- : 4.0.0
-- Joomla version -- : 3.8.12
-- PHP version -- : 7.2.9
-- Browser(s) name and version -- : Firefox 62.03

Gents, I've got a small problem. I want to create a product with 3 variants: free, basic, extended. Creating the necessary variants works fine. I have to set one as default. Works too. The problem is setting the prices correct.

I set basic as default. That price is 10. All prices are now showing as: Common price: 10,00 THB Our price: 10,00 THB each.
When I select extended, the price shows as: Common price: 100,00 THB Our price: 10,00 THB each.
When I select free, the price shows as: Common price: 10,00 THB Our price: 10,00 THB each.

What do I need to do to show the correct prices, in my case free/zero/0,00 for free, 10 for basic and 100 for extended?

Setting the price for the free variant to 0 doesn't work. When I set the price at 0 or 0,00 I get a php error. (Also if I set it in the product itself.)

Last edit: 8 years 1 month ago by [josflachs](/forum/user/42532-josflachs "View josflachs's Profile").

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

Less More

- Posts: 86584
- Thank you received: 14325
-
-

8 years 1 month ago [\#298695](#298695) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Setting prices for variants](/forum/25-install-update/895872-setting-prices-for-variants#298695 "-- url of the page with the problem -- : localhost -- HikaShop version -- : 4.0.0 -- Joomla version -- : 3.8.12 -- PHP version -- : 7.2.9 -- Browser(s) name and version -- : Firefox 62.03  Gents, I've got a small problem. I want to create a product with 3 variants: free, basic, extended. Creating the necessary variants works fine. I have to set one as default. Works too. The problem is setting the prices correct.  I set basic as default. That price is 10. All prices are now showing as: Common price: 10,00 THB Our price: 10,00 THB each. When I select extended, the price shows as: Common price: 100,00 THB Our price: 10,00 THB each. When I select free, the price shows as: Common price: 10,00 THB Our price: 10,00 THB each.  What do I need to do to show the correct prices, in my case free/zero/0,00 for free, 10 for basic and 100 for extended?  Setting the price for the free variant to 0 doesn't work. When I set the price at 0 or 0,00 I get a php error. (Also if I set it in the product itself.)")*

Hi,

First, you don't want to set any price in the main product.
Otherwise, the variants without a price will use the price of the main product.
Then, you don't want to set any "retail price". Not in the main product and not in the variants.
Finally, you want to edit the basic variant and set the price of 10 in the price area (not the retail price), set no price at all for the free variant, and set a price of 100 for the extended variant.

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

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