Problem adding a second price to a variant

  • Posts: 2
  • Thank you received: 0
9 years 6 months ago #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?

Last edit: 9 years 6 months ago by mrcrix.

Please Log in or Create an account to join the conversation.

  • Posts: 2
  • Thank you received: 0
9 years 6 months ago #227218

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: 9 years 6 months ago by mrcrix.

Please Log in or Create an account to join the conversation.

  • Posts: 26264
  • Thank you received: 4043
  • MODERATOR
9 years 6 months ago #227222

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

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 & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

Time to create page: 0.058 seconds
Powered by Kunena Forum