• Resolved bobby

    (@mgkday)


    Hello,

    I am trying to use WooCommerce with a custom theme.

    I could install the plugin successfully.
    I have all the pages working.
    I added a variable product, everything is almost working.

    I did not modify the theme at all for installing WooCommerce.

    Here is the part that doesn’t work:

    When I look at a product page, it looks as if jQuery wasn’t working:

    -the “Description” and “Additional Information” tabs are both shown (no tab effect), there links are useless since they are already displayed.
    -the product is variable (color and size) was is displayed gives me a hint that jQuery isn’t working. indeed I see the “Clear selection” text, without even selecting a color nor a size. and if I select a combination, no “add to cart/quantity” part appears.

    I inspected the page, no JS errors. So I can’t debug this.

    I tried using the “woocommerce_content();” trick as in the WC docs, but no changes.

    Any advices ?

    thank you very much in advance.

    MGK

    https://www.ads-software.com/extend/plugins/woocommerce/

Viewing 16 replies (of 16 total)
  • Hi MGKday,

    I don’t think wp_footer() is a way to call the footer, but rather it’s a hook that most of WooCommerce’s scripts are hooked into. Sounds to me like your theme may have been missing this important hook, and when you added it, the missing functionality of WC was restored.

    I wish the solution was that simple for me! I’ve had exactly the same problem you’ve described, with the tabs displaying all the content vertically – basically they are not picking up the tab-related Jquery. But I will start a new thread about my own Jquery tab woes! ??

Viewing 16 replies (of 16 total)
  • The topic ‘[Plugin: WooCommerce – excelling eCommerce] Custom Theme – jQuery failing ?’ is closed to new replies.