Upload image on Variant not working

  • Posts: 32
  • Thank you received: 1
9 years 5 months ago #235802

-- HikaShop version -- : 2.6.2
-- Joomla version -- : 3.5.1
-- PHP version -- : 5.6

Hi,

I am having an issue uploading an image to the Variant.
Please see below screenshots for your reference. Thanks!
www.awesomescreenshot.com/image/1149115/...89120318a93dbd7064ec




Any help would be appreciated. Thanks

Regards,
Gary

Attachments:

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

  • Posts: 84307
  • Thank you received: 13701
  • MODERATOR
9 years 5 months ago #235811

Hi,

That's probably a bug with the popup system of Joomla.
Change the "popup mode" setting of the HikaShop configuration to "Vex" and that should hopefully help.
If not, please check the javascript console of your browser on that page for any javascript error. That would allow us to better understand the problem.

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

  • Posts: 32
  • Thank you received: 1
9 years 5 months ago #236106

Hi,

Still not working, here's the error.

VM2591:266 Uncaught SyntaxError: Unexpected token }
Oby.updateElem @ hikashop.js?v=262:243
xhr.onreadystatechange @ hikashop.js?v=262:184

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

  • Posts: 84307
  • Thank you received: 13701
  • MODERATOR
9 years 5 months ago #236132

Hi,

We're not able to reproduce the problem on our end.
Could you provide a backend access to your website and a link to this thread via ou contact form so that we could have a closer look at the issue ?
www.hikashop.com/support/contact-us.html

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

  • Posts: 32
  • Thank you received: 1
9 years 5 months ago #236296

ok, sent you an email thru contact form.

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

  • Posts: 84307
  • Thank you received: 13701
  • MODERATOR
9 years 5 months ago #236352

Hi,

From what I can see, the problem comes from the CKEditor on your website.
Change the "editor" setting of the HikaShop configuration to use another editor and it should work.
Also, try to change the code:

$custom = preg_replace('#<script .*type="text/javascript" src=".*"></script>#iU', '', $custom);
to:
$custom = preg_replace('#<script .*(type="text/javascript")? src=".*"></script>#iU', '', $custom);
in the file administrator/components/com_hikashop/views/product/tmpl/variant.php and that should work even with CKEditor.

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

  • Posts: 32
  • Thank you received: 1
9 years 5 months ago #236472

I changed the script code on variant.php to the one you sent but still not working.
Here's what I did, I changed the Editor on Hikashop, it seems that the ArkEditor conflicting the Variant script.

Thanks, works fine now.

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

Time to create page: 0.073 seconds
Powered by Kunena Forum