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

#   Unexpected behaviour - pricing\\Variant

##

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

Less More

- Posts: 18
- Thank you received: 7
-
-

4 months 2 weeks ago [\#372251](#372251) by [navarre](/forum/user/52450-navarre "View navarre's Profile")  *[Unexpected behaviour - pricing\\Variant](/forum/32-content-creation/910595-unexpected-behaviour-pricing-variant#372251 "-- HikaShop version -- : 6.5.0 -- Joomla version -- : 6.1.1 -- PHP version -- : 8.4 -- Browser(s) name and version -- : Chrome - 149.0.7827.104  I encountered a behaviour with an item having two variants - both variants unpublished - but notice it can be added to cart as a free item.  If Variant 1 is unpublished and not set to Default - AND - item 2 is set to unpublished BUT is set to Default. The item remains &quot;is&quot; shown in the shop and available for customer to purchase for Free. (See attached screenshots)  This surprised me when I was doing some work in my pre-production site:blink: :blink:  Is their a way to warn the operator - or black the save operation so that a person doesn't arrive at this scenario of thinking they have turned an item off from selling - when it remains available and potentially now added to a cart as a free item  Many thanks")* was created by *[navarre](/forum/user/52450-navarre "View navarre's Profile")*

-- HikaShop version -- : 6.5.0
-- Joomla version -- : 6.1.1
-- PHP version -- : 8.4
-- Browser(s) name and version -- : Chrome - 149.0.7827.104

I encountered a behaviour with an item having two variants - both variants unpublished - but notice it can be added to cart as a free item.

If Variant 1 is unpublished and not set to Default - AND - item 2 is set to unpublished BUT is set to Default. The item remains "is" shown in the shop and available for customer to purchase for Free. (See attached screenshots)

This surprised me when I was doing some work in my pre-production site:blink: :blink:

Is their a way to warn the operator - or black the save operation so that a person doesn't arrive at this scenario of thinking they have turned an item off from selling - when it remains available and potentially now added to a cart as a free item

Many thanks

- [ ![Screenshot 2026-06-17 153547.png](/forum/attachment/63230) ](/forum/attachment/63230 "...-17 153547.png") [ ](/forum/attachment/63230?download=1 "...-17 153547.png")
- [ ![Screenshot 2026-06-17 153653.png](/forum/attachment/63231) ](/forum/attachment/63231 "...-17 153653.png") [ ](/forum/attachment/63231?download=1 "...-17 153653.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vOTEwNTk1LXVuZXhwZWN0ZWQtYmVoYXZpb3VyLXByaWNpbmctdmFyaWFudD90bXBsPW1hcmtkb3du) 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: 86324
- Thank you received: 14285
-
-

4 months 2 weeks ago [\#372253](#372253) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Unexpected behaviour - pricing\\Variant](/forum/32-content-creation/910595-unexpected-behaviour-pricing-variant#372253 "-- HikaShop version -- : 6.5.0 -- Joomla version -- : 6.1.1 -- PHP version -- : 8.4 -- Browser(s) name and version -- : Chrome - 149.0.7827.104  I encountered a behaviour with an item having two variants - both variants unpublished - but notice it can be added to cart as a free item.  If Variant 1 is unpublished and not set to Default - AND - item 2 is set to unpublished BUT is set to Default. The item remains &quot;is&quot; shown in the shop and available for customer to purchase for Free. (See attached screenshots)  This surprised me when I was doing some work in my pre-production site:blink: :blink:  Is their a way to warn the operator - or black the save operation so that a person doesn't arrive at this scenario of thinking they have turned an item off from selling - when it remains available and potentially now added to a cart as a free item  Many thanks")*

Hi,

Thank you for your feedback on this. This indeed needs some improvement.
I've made modifications in that regard following your message.
Download the install package of HikaShop on our website and install it on yours and you'll get the modifications. It should then work properly:
- warn the user in the backend when saving a product like this
- forbid add to cart and remove the button when no variants are available.

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

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

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

Less More

- Posts: 18
- Thank you received: 7
-
-

4 months 2 weeks ago [\#372263](#372263) by [navarre](/forum/user/52450-navarre "View navarre's Profile")  Replied by *[navarre](/forum/user/52450-navarre "View navarre's Profile")* on topic *[Unexpected behaviour - pricing\\Variant](/forum/32-content-creation/910595-unexpected-behaviour-pricing-variant#372263 "-- HikaShop version -- : 6.5.0 -- Joomla version -- : 6.1.1 -- PHP version -- : 8.4 -- Browser(s) name and version -- : Chrome - 149.0.7827.104  I encountered a behaviour with an item having two variants - both variants unpublished - but notice it can be added to cart as a free item.  If Variant 1 is unpublished and not set to Default - AND - item 2 is set to unpublished BUT is set to Default. The item remains &quot;is&quot; shown in the shop and available for customer to purchase for Free. (See attached screenshots)  This surprised me when I was doing some work in my pre-production site:blink: :blink:  Is their a way to warn the operator - or black the save operation so that a person doesn't arrive at this scenario of thinking they have turned an item off from selling - when it remains available and potentially now added to a cart as a free item  Many thanks")*

Many thanks for this very quick action.

I confirm the Warning message to the operator in Backend - and the add to cart button also removed.

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

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