problem with the products's size and colour

  • Posts: 42
  • Thank you received: 1
7 years 6 months ago #281226

-- HikaShop version -- : 3.2.1
-- Joomla version -- : 3.8.1
-- PHP version -- : 7.0.17
-- Browser(s) name and version -- : chrome
-- Error-message(debug-mod must be tuned on) -- : problem with the products's size and colour

Hi

i do have a problem since i upgrade joomla to 3.8.1 with the the products's size and colour.
When there is size and color to choose on a product like this one
ek-kinox.com/fr/hikashop-menu-for-module-141/product/1911-.html
the size is not the good one, i mean if i choose m with black or white it s keeping on xs size

Can you help me please ?

Regards

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

  • Posts: 83780
  • Thank you received: 13568
  • MODERATOR
7 years 6 months ago #281230

Hi,

If you look at the console of your browser you'll that that you have javascript errors on the page:
monosnap.com/file/jFDskUQvwaAthcah1Z7435bGvshTr2
These prevent the characteristic system from being initialized properly.
If you click on one of them, it points to that code:
monosnap.com/file/sZrrz1jaIH6zbiOHe3nx6gbEDGvhY1
That code doesn't come from HikaShop but is either added by a 3rd party extension or by a customization you've made.

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

  • Posts: 42
  • Thank you received: 1
7 years 6 months ago #281260

oh ok thank you

i didn t add this code.. No idea where it comes from

do i have to reset it ?

Thanks you

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

  • Posts: 42
  • Thank you received: 1
7 years 6 months ago #281262

can you help me to fix it ?

on which field it is on the component ?

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

  • Posts: 83780
  • Thank you received: 13568
  • MODERATOR
7 years 6 months ago #281263

Hi,

We can't say precisely. It has either been added by a plugin, or by a view override.
So for plugins, you can try disabling the plugins of the group "hikashop" or "system" one by one via the Joomla plugins manager to test if disabling one of them help.
For the view overrides, you can switch to the default template of Joomla. If you don't get the javascript errors, then it would confirm that it comes from one of the files in templates/YOUR_TEMPLATE/html/com_hikashop/product/
You can then rename the files one by one in that folder to identify which one is causing the problem.

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

  • Posts: 42
  • Thank you received: 1
7 years 6 months ago #281301

thanks for your reply

i did all what you said to do and it s still the same problem ?

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

  • Posts: 26232
  • Thank you received: 4035
  • MODERATOR
7 years 6 months ago #281302

Are you really sure that you do not have any view override for "product / show_block_img" ?
www.hikashop.com/support/documentation/1...-display.html#layout


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: 42
  • Thank you received: 1
7 years 6 months ago #281364

Hello

Thanks for your reply

I'm sure I didn't do any override. I also rename the /home/ekkinox/www/templates/shaper_organic_life/html/com_hikashop folder without any change.
The issue occurs when I add a second characteristic set to a product.
This one works properly :
ek-kinox.com/fr/boutique-ekkinox/manager...ise-oxford-ciel.html
This one doesn't work
ek-kinox.com/fr/boutique-ekkinox/manager...ise-oxford-noir.html
Only the default variant goes in the cart (as seen in capture screen)



Thanks for your help

Br
Anne Claire

Attachments:

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

  • Posts: 26232
  • Thank you received: 4035
  • MODERATOR
7 years 6 months ago #281365

Hello,

You have definitively a modification in your views.
Even in the "working" page we can find the extra javascript code which generate the same error.
But because your "sp-smart-slider" is executed before, you do not see the effect of the JS error.

So I'm sorry but you do have custom code.
Maybe the HikaShop core file has been edited directly, I can't know and I can't tell. What I can tell for sure is that the JS code you have in not in the HikaShop packages.

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.174 seconds
Powered by Kunena Forum