[SOLVED] Product image reording not working on vendor product page

  • Posts: 306
  • Thank you received: 42
  • Hikamarket Multivendor Hikashop Business
6 years 9 months ago #273555

-- url of the page with the problem -- : thelittlecraftshack.com/
-- HikaShop version -- : 3.1.1
-- HikaMarket version -- : 1.7.3
-- Joomla version -- : 3.7.3
-- PHP version -- : 5.6.30
-- Error-message(debug-mod must be tuned on) -- : No error message

Hi

When editing a product via the vendor control panel I cannot drag and drop the product images to re-order them. I can add new images by dropping them. It does work OK in the back-end administrator area however.

I tried switching to the Protostar template and it works OK so I switched back to the site template (Rockettheme Irridescent) and removed the custom views and also my custom css, cleared the cache and the browser cache but the fault is still there.

I then set up a test site with the same versions of Hikashop and Hikamarket and the same template and it worked OK.

I have also re-installed Hikashop and Hikamarket.

Any other ideas I could try?

regards
Trevor

Last edit: 6 years 9 months ago by trevsmiff.

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

  • Posts: 26000
  • Thank you received: 4004
  • MODERATOR
6 years 9 months ago #273565

Hello,

It looks like your default template have some javascript errors.
Due to that errors, the HikaMarket javascript is not initialized/processed properly so you do not have the features like "drag & drop" upload, etc.
You should check your JS console for more details.

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.

  • Posts: 306
  • Thank you received: 42
  • Hikamarket Multivendor Hikashop Business
6 years 9 months ago #273572

Hi Jerome

I can drag and drop to upload images OK in Hikamarket and I can use drag & drop to rearrange images in the backend admin but not in Hikamarket.

I will check the javascript errors to see if I can understand where they are coming from and what they mean.

Thanks
Trevor

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

  • Posts: 306
  • Thank you received: 42
  • Hikamarket Multivendor Hikashop Business
6 years 9 months ago #273779

Hi Jerome

I have managed to track this down a bit further. It is not the template that is causing an issue but there appears to be a conflict with MaxiMenu CK.
As soon as the product edit page loads the following error appears in the console:

TypeError: this._addClass is not a function[Learn More]  jquery-ui.min.js:14:30077
    _create https://..domain.tld../media/com_hikashop/js/jquery-ui.min.js:14:30077
It only seems to happen when the product edit page is opened from the vendor control panel, it is not there on the back-end product edit page.
Is this a JQuery conflict perhaps!

Best regards
Trevor

Last edit: 6 years 9 months ago by trevsmiff.

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

  • Posts: 26000
  • Thank you received: 4004
  • MODERATOR
6 years 9 months ago #273789

Hello,

Yes, you have a jQuery conflict.
Best would be to install jQuery Easy so it will fix automatically these conflicts by providing one single jQuery inclusion in the page.

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.

  • Posts: 306
  • Thank you received: 42
  • Hikamarket Multivendor Hikashop Business
6 years 9 months ago #273818

Thanks Jerome

I installed jQuery Easy as suggested and that has solved the problem.

Thanks
Trevor

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

Moderators: Obsidev
Time to create page: 0.068 seconds
Powered by Kunena Forum