• Priority: 0
  • Status: Closed
  • Theme: Venedor
  • Assigned To: Marek
  • Private: No
  • Open Date: 12.08.17, 08:28
  • Opened by: Oleksiy
  • Closed by: Marek
  • Closed on: 29.08.17, 23:59
  • Reason: Closed
  • Comment: Glad to help!

Ticket #10666 - Not working script

I have some js switcher to show only those colors wich are in stock now
https://traverse.pp.ua/uk/unversalniy-scharf-buff-original-/p19325.html - img_36 attached
but for some reason it doesn’t work on current theme
https://new.traverse.pp.ua/uk/unversalniy-scharf-buff-original-/p19325 - img 37 attached
could you help with it ?

Comments

Marek 12 Aug 2017, 12:53

The first link is not working for me, could you please check that out? I just need to compare both links to see the difference

Oleksiy 12 Aug 2017, 12:57

i’ve just opened it so you could see now

Marek 12 Aug 2017, 12:57

Yes, I see it now

Marek 12 Aug 2017, 13:10

What is the name of that module?

Oleksiy 12 Aug 2017, 13:12

that made without module directly in tpl as i know

Marek 12 Aug 2017, 13:18

Ok, I’ll check

Marek 12 Aug 2017, 13:52

I have make a fix in your custom code, so it should work now. But I suppose that product doesn’t have colors to hide. Could you please check that out?

Oleksiy 12 Aug 2017, 13:57

the product 19325 have a dozen or more colors out of stock

Marek 13 Aug 2017, 11:31

The problem is in following condition:
https://www.dropbox.com/s/2ucgbwktuvhuj0t/Screenshot%202017-08-13%2011.29.19.png?dl=0

try to modify it, because I don’t know what should it do, and that is a custom script and I’m not obligated to fix that