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

#   Turning the variants on/off does not work well

##

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

Less More

- Posts: 424
- Thank you received: 11
-
-

4 years 6 months ago [\#341345](#341345) by [BluepointWebdesign](/forum/user/34929-bluepointwebdesign "View BluepointWebdesign's Profile")  *[Turning the variants on/off does not work well](/forum/22-market-bug-report/904356-turning-the-variants-on-off-does-not-work-well#341345 "-- HikaShop version -- : 4.4.5 -- HikaMarket version -- : 4.4.0 -- Joomla version -- : 3.10.6  Hello,  we run into some problems when switching the variants on/off in the front-end. If I disable 1 variant and click on save the variant, it works, but switching the next on or off does not work correctly. It only saves it when the product is saved. And if I click on a disabled variant, according to the switch it is already on?? Weird things are happening in the front-end editor :blink:  You can try it yourself... if you log in with the details below.  Regards, Michiel")* was created by *[BluepointWebdesign](/forum/user/34929-bluepointwebdesign "View BluepointWebdesign's Profile")*

-- HikaShop version -- : 4.4.5
-- HikaMarket version -- : 4.4.0
-- Joomla version -- : 3.10.6

Hello,

we run into some problems when switching the variants on/off in the front-end.
If I disable 1 variant and click on save the variant, it works, but switching the next on or off does not work correctly. It only saves it when the product is saved. And if I click on a disabled variant, according to the switch it is already on?? Weird things are happening in the front-end editor :blink:

You can try it yourself... if you log in with the details below.
This message contains confidential information

Regards,
Michiel

- [ ![Variants&#95;2.png](/forum/attachment/54755) ](/forum/attachment/54755 "Variants&#95;2.png") [ ](/forum/attachment/54755?download=1 "Variants&#95;2.png")

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

4 years 6 months ago [\#341360](#341360) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Turning the variants on/off does not work well](/forum/22-market-bug-report/904356-turning-the-variants-on-off-does-not-work-well#341360 "-- HikaShop version -- : 4.4.5 -- HikaMarket version -- : 4.4.0 -- Joomla version -- : 3.10.6  Hello,  we run into some problems when switching the variants on/off in the front-end. If I disable 1 variant and click on save the variant, it works, but switching the next on or off does not work correctly. It only saves it when the product is saved. And if I click on a disabled variant, according to the switch it is already on?? Weird things are happening in the front-end editor :blink:  You can try it yourself... if you log in with the details below.  Regards, Michiel")*

Hello,

I cannot reproduce your issue in your website.
I can save the variants and the modifications are correctly stored in the database ; the changes are correctly displayed when switching the variants.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

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

Less More

- Posts: 424
- Thank you received: 11
-
-

4 years 6 months ago [\#341391](#341391) by [BluepointWebdesign](/forum/user/34929-bluepointwebdesign "View BluepointWebdesign's Profile")  Replied by *[BluepointWebdesign](/forum/user/34929-bluepointwebdesign "View BluepointWebdesign's Profile")* on topic *[Turning the variants on/off does not work well](/forum/22-market-bug-report/904356-turning-the-variants-on-off-does-not-work-well#341391 "-- HikaShop version -- : 4.4.5 -- HikaMarket version -- : 4.4.0 -- Joomla version -- : 3.10.6  Hello,  we run into some problems when switching the variants on/off in the front-end. If I disable 1 variant and click on save the variant, it works, but switching the next on or off does not work correctly. It only saves it when the product is saved. And if I click on a disabled variant, according to the switch it is already on?? Weird things are happening in the front-end editor :blink:  You can try it yourself... if you log in with the details below.  Regards, Michiel")*

Hi,

I've made you a video to see what is going on: This message contains confidential information

I tried several different browsers.. all the same :dry:

Regards,
Michiel

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

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

Less More

- Posts: 424
- Thank you received: 11
-
-

4 years 6 months ago [\#341393](#341393) by [BluepointWebdesign](/forum/user/34929-bluepointwebdesign "View BluepointWebdesign's Profile")  Replied by *[BluepointWebdesign](/forum/user/34929-bluepointwebdesign "View BluepointWebdesign's Profile")* on topic *[Turning the variants on/off does not work well](/forum/22-market-bug-report/904356-turning-the-variants-on-off-does-not-work-well#341393 "-- HikaShop version -- : 4.4.5 -- HikaMarket version -- : 4.4.0 -- Joomla version -- : 3.10.6  Hello,  we run into some problems when switching the variants on/off in the front-end. If I disable 1 variant and click on save the variant, it works, but switching the next on or off does not work correctly. It only saves it when the product is saved. And if I click on a disabled variant, according to the switch it is already on?? Weird things are happening in the front-end editor :blink:  You can try it yourself... if you log in with the details below.  Regards, Michiel")*

Try to turn on/off multiple variants... the first is working, after that it only works when you save the product

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

4 years 6 months ago [\#341406](#341406) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Turning the variants on/off does not work well](/forum/22-market-bug-report/904356-turning-the-variants-on-off-does-not-work-well#341406 "-- HikaShop version -- : 4.4.5 -- HikaMarket version -- : 4.4.0 -- Joomla version -- : 3.10.6  Hello,  we run into some problems when switching the variants on/off in the front-end. If I disable 1 variant and click on save the variant, it works, but switching the next on or off does not work correctly. It only saves it when the product is saved. And if I click on a disabled variant, according to the switch it is already on?? Weird things are happening in the front-end editor :blink:  You can try it yourself... if you log in with the details below.  Regards, Michiel")*

Hello,

There is a JavaScript error which is displayed multiple times Code:

Uncaught ReferenceError: JoomlaCalendar is not defined

Which has been solved in HikaMarket 4.1.0 due to Joomla JS modification.
I recommend you to update to the latest version ; you're using HikaMarket 4.0.0 (and not the 4.4.0 which does not exist).

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

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

Less More

- Posts: 424
- Thank you received: 11
-
-

4 years 6 months ago [\#341529](#341529) by [BluepointWebdesign](/forum/user/34929-bluepointwebdesign "View BluepointWebdesign's Profile")  Replied by *[BluepointWebdesign](/forum/user/34929-bluepointwebdesign "View BluepointWebdesign's Profile")* on topic *[Turning the variants on/off does not work well](/forum/22-market-bug-report/904356-turning-the-variants-on-off-does-not-work-well#341529 "-- HikaShop version -- : 4.4.5 -- HikaMarket version -- : 4.4.0 -- Joomla version -- : 3.10.6  Hello,  we run into some problems when switching the variants on/off in the front-end. If I disable 1 variant and click on save the variant, it works, but switching the next on or off does not work correctly. It only saves it when the product is saved. And if I click on a disabled variant, according to the switch it is already on?? Weird things are happening in the front-end editor :blink:  You can try it yourself... if you log in with the details below.  Regards, Michiel")*

Hello Jerome,

I've updatet the test site we have, but still not working propperly.... it's the same as before: turn off or on 1e variant is working good, 2e variant off or on is not working/showing till you save the product.

This message contains confidential information

Regards,
Michiel

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

4 years 6 months ago [\#341547](#341547) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Turning the variants on/off does not work well](/forum/22-market-bug-report/904356-turning-the-variants-on-off-does-not-work-well#341547 "-- HikaShop version -- : 4.4.5 -- HikaMarket version -- : 4.4.0 -- Joomla version -- : 3.10.6  Hello,  we run into some problems when switching the variants on/off in the front-end. If I disable 1 variant and click on save the variant, it works, but switching the next on or off does not work correctly. It only saves it when the product is saved. And if I click on a disabled variant, according to the switch it is already on?? Weird things are happening in the front-end editor :blink:  You can try it yourself... if you log in with the details below.  Regards, Michiel")*

Hello,

Do you have a view override for the "productmarket / variant" view ?
Because the code is still not the one in the current release Code:

if(typeof(JoomlaCalendar) !== "undefined" &amp;&amp; JoomlaCalendar.init){

So there is still the JS error because you have the line Code:

if(JoomlaCalendar &amp;&amp; JoomlaCalendar.init){

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

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

Less More

- Posts: 424
- Thank you received: 11
-
-

4 years 6 months ago [\#341588](#341588) by [BluepointWebdesign](/forum/user/34929-bluepointwebdesign "View BluepointWebdesign's Profile")  Replied by *[BluepointWebdesign](/forum/user/34929-bluepointwebdesign "View BluepointWebdesign's Profile")* on topic *[Turning the variants on/off does not work well](/forum/22-market-bug-report/904356-turning-the-variants-on-off-does-not-work-well#341588 "-- HikaShop version -- : 4.4.5 -- HikaMarket version -- : 4.4.0 -- Joomla version -- : 3.10.6  Hello,  we run into some problems when switching the variants on/off in the front-end. If I disable 1 variant and click on save the variant, it works, but switching the next on or off does not work correctly. It only saves it when the product is saved. And if I click on a disabled variant, according to the switch it is already on?? Weird things are happening in the front-end editor :blink:  You can try it yourself... if you log in with the details below.  Regards, Michiel")*

Hello Jerome,

Yes we have an override in this view.
We deleted the override and still it is not working.... so we changed the line "if(JoomlaCalendar &amp;&amp; JoomlaCalendar.init){" to "if(typeof(JoomlaCalendar) !== "undefined" &amp;&amp; JoomlaCalendar.init){" and it was still not working.

We made you a admin login to see and try for yourself
This message contains confidential information

please let us know what you did to get it to work so we can change it on the live site to.

regards,
michiel

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

4 years 6 months ago [\#341613](#341613) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Turning the variants on/off does not work well](/forum/22-market-bug-report/904356-turning-the-variants-on-off-does-not-work-well#341613 "-- HikaShop version -- : 4.4.5 -- HikaMarket version -- : 4.4.0 -- Joomla version -- : 3.10.6  Hello,  we run into some problems when switching the variants on/off in the front-end. If I disable 1 variant and click on save the variant, it works, but switching the next on or off does not work correctly. It only saves it when the product is saved. And if I click on a disabled variant, according to the switch it is already on?? Weird things are happening in the front-end editor :blink:  You can try it yourself... if you log in with the details below.  Regards, Michiel")*

Hello,

I made a test in your website (front-end) and I cannot reproduce your issue.
I'm able to change variant, edit the "published" state and same the variant which is updated dynamically in the section on top.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

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

Less More

- Posts: 424
- Thank you received: 11
-
-

4 years 6 months ago [\#341641](#341641) by [BluepointWebdesign](/forum/user/34929-bluepointwebdesign "View BluepointWebdesign's Profile")  Replied by *[BluepointWebdesign](/forum/user/34929-bluepointwebdesign "View BluepointWebdesign's Profile")* on topic *[Turning the variants on/off does not work well](/forum/22-market-bug-report/904356-turning-the-variants-on-off-does-not-work-well#341641 "-- HikaShop version -- : 4.4.5 -- HikaMarket version -- : 4.4.0 -- Joomla version -- : 3.10.6  Hello,  we run into some problems when switching the variants on/off in the front-end. If I disable 1 variant and click on save the variant, it works, but switching the next on or off does not work correctly. It only saves it when the product is saved. And if I click on a disabled variant, according to the switch it is already on?? Weird things are happening in the front-end editor :blink:  You can try it yourself... if you log in with the details below.  Regards, Michiel")*

Hello,

we tested everything in LambaTest ([ www.lambdatest.com/](https://www.lambdatest.com/)) end saw that only in Safari the variants where turning on/off correctly.
In Chrome and Firefox it is still NOT working.... the first variant on/off is working ok, but after that nothing can be turned on/off until you save the product itself and return to the variants.

We have tried this now on 3 computers AND the independent systeem off lambdatest and still the same issue.
Hope you will trie again on some other browsers/computer?

Regards,
Michiel

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

4 years 6 months ago [\#341687](#341687) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Turning the variants on/off does not work well](/forum/22-market-bug-report/904356-turning-the-variants-on-off-does-not-work-well#341687 "-- HikaShop version -- : 4.4.5 -- HikaMarket version -- : 4.4.0 -- Joomla version -- : 3.10.6  Hello,  we run into some problems when switching the variants on/off in the front-end. If I disable 1 variant and click on save the variant, it works, but switching the next on or off does not work correctly. It only saves it when the product is saved. And if I click on a disabled variant, according to the switch it is already on?? Weird things are happening in the front-end editor :blink:  You can try it yourself... if you log in with the details below.  Regards, Michiel")*

Hello,

I was using Chrome with my previous tests. But I was able to see your issue with firefox.
The issue you have is the usage of a cache ; the product is updated correctly but the GET which is done in order to refresh the variant listing is returned by a cache.
We can try to force the request of the "no cache".
You can edit the file "components/com_hikamarket/controller/product.php" and replace (several times) Code:

if(hikaInput::get()-&gt;getCmd('tmpl', '') == 'component') {

By Code:

if(hikaInput::get()-&gt;getCmd('tmpl', '') == 'component') { hikamarket::headerNoCache();

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

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

Less More

- Posts: 424
- Thank you received: 11
-
-

4 years 6 months ago [\#341757](#341757) by [BluepointWebdesign](/forum/user/34929-bluepointwebdesign "View BluepointWebdesign's Profile")  Replied by *[BluepointWebdesign](/forum/user/34929-bluepointwebdesign "View BluepointWebdesign's Profile")* on topic *[Turning the variants on/off does not work well](/forum/22-market-bug-report/904356-turning-the-variants-on-off-does-not-work-well#341757 "-- HikaShop version -- : 4.4.5 -- HikaMarket version -- : 4.4.0 -- Joomla version -- : 3.10.6  Hello,  we run into some problems when switching the variants on/off in the front-end. If I disable 1 variant and click on save the variant, it works, but switching the next on or off does not work correctly. It only saves it when the product is saved. And if I click on a disabled variant, according to the switch it is already on?? Weird things are happening in the front-end editor :blink:  You can try it yourself... if you log in with the details below.  Regards, Michiel")*

Hello Jerome,

thanks for the solution! Works great ![;)](/media/kunena/emoticons/24.png ";)")

Regards,
Michiel

The following user(s) said Thank You: [Jerome](/forum/user/80-jerome "View Jerome's Profile")

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

4 years 6 months ago [\#341778](#341778) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Turning the variants on/off does not work well](/forum/22-market-bug-report/904356-turning-the-variants-on-off-does-not-work-well#341778 "-- HikaShop version -- : 4.4.5 -- HikaMarket version -- : 4.4.0 -- Joomla version -- : 3.10.6  Hello,  we run into some problems when switching the variants on/off in the front-end. If I disable 1 variant and click on save the variant, it works, but switching the next on or off does not work correctly. It only saves it when the product is saved. And if I click on a disabled variant, according to the switch it is already on?? Weird things are happening in the front-end editor :blink:  You can try it yourself... if you log in with the details below.  Regards, Michiel")*

Hello,

Thank you for the feedback, I'm adding these patchs for the next release.

Kind regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

Moderators: [Obsidev](/forum/user/7040-obsidev "View Obsidev's Profile")

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.089 seconds

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