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

#   Problem adding a second price to a variant

##

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

Less More

- Posts: 2
- Thank you received: 0
-
-

10 years 9 months ago -  10 years 9 months ago [\#227211](#227211) by [mrcrix](/forum/user/40489-mrcrix "View mrcrix's Profile")  *[Problem adding a second price to a variant](/forum/25-install-update/881690-problem-adding-a-second-price-to-a-variant#227211 "-- HikaShop version -- : 2.6.1 -- Joomla version -- : 3.4.8 -- PHP version -- : 5.5 -- Browser(s) name and version -- : Chrome last -- Error-message(debug-mod must be tuned on) -- : no error  Hello, I have a problem with the variants. I have correctly configured the variant for a product and I can correctly see the selector in the product page so everything seems to be ok but... the problem comes from the fact that I have 2 different currencies and when I add a second price to a variant this simply is not saved and when the ajax icon stop to spin the value come back as before deleting my last addiction hence the second price is not saved.  Moreover sometime even the main price it is saved but many times it is not, some time happen even the the added currency is not available on the currency selector but it is present only in the first selector, not in the second... the behavior is very strange, I have just 2 products but I cannot add any price for the variants... or better I can set the price sometime but just for one currency not for both.  I have the starter edition, is maybe this the problem?")* was created by *[mrcrix](/forum/user/40489-mrcrix "View mrcrix's Profile")*

-- HikaShop version -- : 2.6.1
-- Joomla version -- : 3.4.8
-- PHP version -- : 5.5
-- Browser(s) name and version -- : Chrome last
-- Error-message(debug-mod must be tuned on) -- : no error

Hello, I have a problem with the variants.
I have correctly configured the variant for a product and I can correctly see the selector in the product page so everything seems to be ok but... the problem comes from the fact that I have 2 different currencies and when I add a second price to a variant this simply is not saved and when the ajax icon stop to spin the value come back as before deleting my last addiction hence the second price is not saved.

Moreover sometime even the main price it is saved but many times it is not, some time happen even the the added currency is not available on the currency selector but it is present only in the first selector, not in the second... the behavior is very strange, I have just 2 products but I cannot add any price for the variants... or better I can set the price sometime but just for one currency not for both.

I have the starter edition, is maybe this the problem?

Last edit: 10 years 9 months ago by [mrcrix](/forum/user/40489-mrcrix "View mrcrix's Profile").

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

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

Less More

- Posts: 2
- Thank you received: 0
-
-

10 years 9 months ago -  10 years 9 months ago [\#227218](#227218) by [mrcrix](/forum/user/40489-mrcrix "View mrcrix's Profile")  Replied by *[mrcrix](/forum/user/40489-mrcrix "View mrcrix's Profile")* on topic *[Problem adding a second price to a variant](/forum/25-install-update/881690-problem-adding-a-second-price-to-a-variant#227218 "-- HikaShop version -- : 2.6.1 -- Joomla version -- : 3.4.8 -- PHP version -- : 5.5 -- Browser(s) name and version -- : Chrome last -- Error-message(debug-mod must be tuned on) -- : no error  Hello, I have a problem with the variants. I have correctly configured the variant for a product and I can correctly see the selector in the product page so everything seems to be ok but... the problem comes from the fact that I have 2 different currencies and when I add a second price to a variant this simply is not saved and when the ajax icon stop to spin the value come back as before deleting my last addiction hence the second price is not saved.  Moreover sometime even the main price it is saved but many times it is not, some time happen even the the added currency is not available on the currency selector but it is present only in the first selector, not in the second... the behavior is very strange, I have just 2 products but I cannot add any price for the variants... or better I can set the price sometime but just for one currency not for both.  I have the starter edition, is maybe this the problem?")*

Hi,I have found the solution, I post it here maybe it could be useful to someone with the same problem, well the variant section will not work until you use the editor ArkEditor (CKEDITOR) as I did, now I switched back to the default Tiny mice editor and the issue disappeared.

I don't know if the problem is generated by Hikashop or ArkEditor (CKEDITOR) but the problem was fixable only removing ArkEditor and using tiny mice.

Edit:
I want just to add that the problem is caused of an Javascript error:
Uncaught SyntaxError: Unexpected token } on line 141 of the file hikashop.js inside media/com_hikashop/js

Last edit: 10 years 9 months ago by [mrcrix](/forum/user/40489-mrcrix "View mrcrix's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg4MTY5MC1wcm9ibGVtLWFkZGluZy1hLXNlY29uZC1wcmljZS10by1hLXZhcmlhbnQ/dG1wbD1tYXJrZG93bg==) 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: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

10 years 9 months ago [\#227222](#227222) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Problem adding a second price to a variant](/forum/25-install-update/881690-problem-adding-a-second-price-to-a-variant#227222 "-- HikaShop version -- : 2.6.1 -- Joomla version -- : 3.4.8 -- PHP version -- : 5.5 -- Browser(s) name and version -- : Chrome last -- Error-message(debug-mod must be tuned on) -- : no error  Hello, I have a problem with the variants. I have correctly configured the variant for a product and I can correctly see the selector in the product page so everything seems to be ok but... the problem comes from the fact that I have 2 different currencies and when I add a second price to a variant this simply is not saved and when the ajax icon stop to spin the value come back as before deleting my last addiction hence the second price is not saved.  Moreover sometime even the main price it is saved but many times it is not, some time happen even the the added currency is not available on the currency selector but it is present only in the first selector, not in the second... the behavior is very strange, I have just 2 products but I cannot add any price for the variants... or better I can set the price sometime but just for one currency not for both.  I have the starter edition, is maybe this the problem?")*

Hi,

You have a setting in HikaShop in order to choose the editor used by HikaShop.
with that setting you can continue to use ArkEditor for the other parts in the Joomla backend.
[ www.hikashop.com/support/support/documen...onfig.html#main\_main](http://www.hikashop.com/support/support/documentation/54-hikashop-config.html#main_main)

About the issue ; the product edition use Ajax and it is possible that the editor is not compatible with that.
We had to add some specific code for specific TinyMCE version in some specific Joomla version.

I'm more than surprise of your javascript error because we do not have it in our side.
And if you have such javascript error ; the fact that changing the editor won't solve the issue.

Regards,

---

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

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

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

[](#top)
