Home / Forums / WoodMart support forum / add-to-cart-variation.js conflicting
Home › Forums › WoodMart support forum › add-to-cart-variation.js conflicting
add-to-cart-variation.js conflicting
- This topic has 9 replies, 2 voices, and was last updated 5 years, 9 months ago by 
Artem Temos. 
- 
		AuthorPosts
 - 
		
			
				January 7, 2020 at 10:42 am #166676
jEctiveParticipantHello! I am very happy to use your theme “woodmart” but also in addition to it I really need this plugin for my store. Unfortunately, your theme comes into conflict with it when I open and scroll the sidebar on the shop page. For identification of the problem, I turned to the authors of the plugin, they found it and advised to contact the support of woodmart themes. Below I have attached their response.
Plugin support answer:We are sorry for your inconvenience. We have tried to figure out the issue and we found the sidebar is conflicting so It would be better if you contact your theme support team about the issue.
And explain to them that since you need the variation option on the shop page so it needs to trigger add-to-cart-variation.js each time of variation item selection but when you open the sidebar and scroll down then it’s infinitely hitting by the mouse-wheel event.
January 7, 2020 at 6:02 pm #166691
Artem TemosKeymasterHello,
Do you mean that the event is triggered when you scroll the sidebar? Does it relate to our theme event or some event in the plugin? Could you please specify the information?
Kind Regards
January 9, 2020 at 4:39 pm #167179
jEctiveParticipantYes, that event is triggered when you scroll the sidebar.
Variation Swatches option needs to trigger add-to-cart-variation.js each time when variation item is selected and when you open the sidebar and scroll down then it’s infinitely hitting by the mouse-wheel event.
So we think it’s related to theme event.
January 10, 2020 at 8:40 am #167248
Artem TemosKeymasterthe sidebar and scroll down then it’s infinitely hitting by the mouse-wheel event.
Our theme doesn’t have any events on mouse-wheel trigger. Does this event added by the plugin? Could you or plugin’s developers point us to the part of code where it is written so we can better understand this and check?January 13, 2020 at 4:26 pm #167717
jEctiveParticipantHi!
This trigger is not related to our plugin, Could you please see here: https://www.useloom.com/share/e3f3c3fcd89845eead05598406712b31
Here I have explained that this mouse-wheel trigger is coming when the left sidebar has a scroll bar.Thank you
You can also check it HERE by open the sidebar and scrolling there.
January 14, 2020 at 7:28 am #167797
Artem TemosKeymasterCould you please send us your admin and FTP access so we can check?
January 14, 2020 at 8:04 am #167806
jEctiveParticipantYes of course!
January 14, 2020 at 8:49 am #167816
Artem TemosKeymasterIt happens because of a function that triggered on our lazy load action that also connected to the hidden sidebar scroll https://prnt.sc/qnezv3
This code should be removed from the plugin to fix this.January 15, 2020 at 2:25 pm #168122
jEctiveParticipantThank you !!! It’s works for me.
January 15, 2020 at 2:44 pm #168131
Artem TemosKeymasterGreat, you are welcome!
 - 
		AuthorPosts
 
The topic ‘add-to-cart-variation.js conflicting’ is closed to new replies.
- You must be logged in to create new topics. Login / Register