J-Query tabs not working in Woocommerce

浪子不回头ぞ 提交于 2019-12-25 01:54:02

问题


I seem to be having some problems with my J-Query when using Woocommerce. I have installed Woocommerce and am using a custom theme (Foundation-master). Woocommerce works fine apart from the J-query of certain elements. For example on the checkout page the "ship to different address form" is always displayed despite whether the checkbox is ticked and when clicking on different payment options the default option is always displayed.

There are no conflicts in the console.

When I switch to the Twenty Fourteen theme Woocommerce works fine.

Does anyone know how to fix this? Or would anyone be able to point me in the direction of a way to get closer to the problem?


回答1:


This was an issue of how i was registering my scripts. See here http://foundation.zurb.com/forum/posts/2284-foundation-5-to-wordpress-js-jquery-scripts



来源:https://stackoverflow.com/questions/22487504/j-query-tabs-not-working-in-woocommerce

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!