• The Add to Basket functionality isn’t working on my site. I know it’s a conflict with the theme because the function works fine if I switch to a default theme. The problem is, I’m the theme developer and I can’t figure out what the conflict is. I’ve tried stripping WooCommerce down to default, disabling all other plugins, and checking for errors in Developer Tools all to no avail.

    No idea where to even look to figure this out. Really hoping someone can help cause I’ve got a client waiting on the site and right now no one can purchase anything through the shop!

    Here’s a link to my shop page.

    and here’s my system status report:

    ### WordPress Environment ###

    Home URL: https://theroseshed.co.uk
    Site URL: https://theroseshed.co.uk
    WC Version: 2.5.1
    Log Directory Writable: ? /var/sites/t/theroseshed.co.uk/public_html/wp-content/uploads/wc-logs/
    WP Version: 4.4.1
    WP Multisite: –
    WP Memory Limit: 256 MB
    WP Debug Mode: –
    Language: en_GB

    ### Server Environment ###

    Server Info: Apache
    PHP Version: 5.4.42
    PHP Post Max Size: 100 MB
    PHP Time Limit: 60
    PHP Max Input Vars: 1000
    SUHOSIN Installed: –
    MySQL Version: 5.6.21
    Max Upload Size: 100 MB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ?
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post: ?
    Remote Get: ?

    ### Database ###

    WC Database Version: 2.5.1
    :
    woocommerce_sessions: ?
    woocommerce_api_keys: ?
    woocommerce_attribute_taxonomies: ?
    woocommerce_termmeta: ?
    woocommerce_downloadable_product_permissions: ?
    woocommerce_order_items: ?
    woocommerce_order_itemmeta: ?
    woocommerce_tax_rates: ?
    woocommerce_tax_rate_locations: ?

    ### Active Plugins (11) ###

    Advanced Custom Fields: by Elliot Condon – 4.4.5
    Akismet: by Automattic – 3.1.7
    iThemes Security: by iThemes – 5.2.0
    Contact Form 7: by Takayuki Miyoshi – 4.3.1
    Google Analytics: by Kevin Sylvestre – 1.0.6
    Meta Slider: by Matcha Labs – 3.3.6
    Recent Posts Widget With Thumbnails: by Martin Stehle – 4.6.2
    Simple Image Widget: by Cedaro – 4.3.0
    WooCommerce: by WooThemes – 2.5.1
    Yoast SEO: by Team Yoast – 3.0.7
    WP Featherlight: by WP Site Care – 0.3.0

    ### Settings ###

    Force SSL: ?
    Currency: GBP (£)
    Currency Position: left
    Thousand Separator: ,
    Decimal Separator: .
    Number of Decimals: 2

    ### API ###

    API Enabled: ?
    API Version: 3.1.0

    ### WC Pages ###

    Shop Base: #4248 – /shop/
    Basket: #4734 – /basket/
    Checkout: #4735 – /checkout/
    My Account: #4736 – /my-account/

    ### Taxonomies ###

    Product Types: external (external)
    grouped (grouped)
    simple (simple)
    variable (variable)

    ### Theme ###

    Name: The Rose Shed
    Version: 1.0
    Author URL: https://janineisabelle.ca
    Child Theme: ? – If you’re modifying WooCommerce on a parent theme you didn’t build personally
    then we recommend using a child theme. See: How to create a child theme

    WooCommerce Support: ?

    ### Templates ###

    Overrides: TheRoseShed/woocommerce/archive-product.php
    TheRoseShed/woocommerce/content-product.php
    TheRoseShed/woocommerce/content-single-product.php
    TheRoseShed/woocommerce/single-product.php

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • The “shop” page is down. It would probably help if it wasn’t.

    Since it seems that there’s a problem with the template. Couldn’t a comparison be done between the Storefront template and the template being used for the files that have the “add to cart” button?

    Also PHP should be looked at for the modified files such as content-single-product.php to see if that could have any impact. Why were they changed? Was it just for rearranging things or a lot more?

    Plugin Contributor Mike Jolley (a11n)

    (@mikejolley)

    1 thing that stood out, they load a non-core version of jquery from google APIs. This is a bad idea and can cause conflicts. Code for that is in their functions.php file.

    Thread Starter janineisabelle

    (@janineisabelle)

    kimsf – it’s back up. I’ve already tried disabling the modified files to no avail.

    Mike Jolley – Got rid of the jquery version being loaded from functions.php, problem persists.

    Plugin Contributor Mike Jolley (a11n)

    (@mikejolley)

    Given this script applies to all buttons, it looks suspect https://theroseshed.co.uk/wp-content/themes/TheRoseShed/js/slidetoggle.js?ver=4.4.1

    Thread Starter janineisabelle

    (@janineisabelle)

    Ahh thanks, that fixed it! Now when I click the “Add to Basket” button, it takes me to the Basket page – except that page is blank! Ack!

    Plugin Contributor Mike Jolley (a11n)

    (@mikejolley)

    You should check that page contains the shortcode/displays content. Separate issue.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Unknown theme conflict breaking checkout function’ is closed to new replies.