New Landing How can we help? Themeforest Theme Support Neighborhood Can't add variable product to cart

Viewing 7 posts - 1 through 7 (of 7 total)
  • #141093
    Hughans
    Member
    Post count: 13

    I have just updated my website to the versions below and now there is no ‘add to cart’ button on the variable product pages (the simple product pages are fine).

    I have deactivated all of the plugins and the issue is still the same.

    Can someone please let me know a fix asap?

    Website details are:

    ### Environment ###

    Home URL: http://www.ellaspede.com
    Site URL: http://www.ellaspede.com
    WC Version: 2.2.10
    WC Database Version: 2.2.10
    WP Version: 4.1
    WP Multisite Enabled: No
    Web Server Info: LiteSpeed
    PHP Version: 5.5.20
    MySQL Version: 5.6.21
    WP Active Plugins: 9
    WP Memory Limit: 128 MB
    WP Debug Mode: No
    WP Language: en_US
    WP Max Upload Size: 8 MB
    PHP Post Max Size: 8 MB
    PHP Time Limit: 30
    PHP Max Input Vars: 1000
    SUHOSIN Installed: No
    WC Logging: Log directory (/home/ellasped/public_html/wc-logs/) is writable.
    Default Timezone: Default timezone is UTC
    fsockopen/cURL: Your server has fsockopen and cURL enabled.
    SOAP Client: Your server has the SOAP Client class enabled.
    WP Remote Post: wp_remote_post() was successful – PayPal IPN is working.

    ### Locale ###

    decimal_point: .
    thousands_sep: N/A
    mon_decimal_point: N/A
    mon_thousands_sep: N/A

    ### Plugins ###

    Installed Plugins: Akismet by Automattic version 3.0.4
    Facebook Like Box by Vinoj Cardoza version 2.8.1
    Contact Form 7 by Takayuki Miyoshi version 3.5.3
    MailChimp for WordPress Lite by Danny van Kooten version 2.1.1
    Revolution Slider by ThemePunch version 3.0.95
    WooCommerce Australia Post by WooThemes version 2.1.12 – 2.3.3 is available
    WooCommerce Smart Coupons by Store Apps version 2.1 – 2.6.2 is available
    WooCommerce by WooThemes version 2.2.10
    WordPress SEO by Joost de Valk version 1.5.5.3

    ### Settings ###

    Force SSL: No

    ### WC Pages ###

    Shop Base: #3982 – /shop/
    Cart: #3983 – /cart/
    Checkout: #5862 – /checkout/
    My Account: #3984 – /my-account/

    ### WC Taxonomies ###

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

    ### Theme ###

    Theme Name: Neighborhood
    Theme Version: 2.05
    Theme Author URL: http://www.swiftideas.net
    Is Child Theme: No
    WooCommerce Support: Yes

    ### Templates ###

    Template Overrides (WooCommerce):neighborhood/woocommerce/archive-product.php
    neighborhood/woocommerce/cart/cart-empty.php
    neighborhood/woocommerce/cart/cart-item-data.php
    neighborhood/woocommerce/cart/cart-shipping.php
    neighborhood/woocommerce/cart/cart-totals.php
    neighborhood/woocommerce/cart/cart.php
    neighborhood/woocommerce/cart/cross-sells.php
    neighborhood/woocommerce/cart/mini-cart.php
    neighborhood/woocommerce/cart/shipping-calculator.php
    neighborhood/woocommerce/checkout/form-billing.php
    neighborhood/woocommerce/checkout/form-checkout.php
    neighborhood/woocommerce/checkout/form-shipping.php
    neighborhood/woocommerce/checkout/thankyou.php
    neighborhood/woocommerce/content-product.php
    neighborhood/woocommerce/content-product_cat.php
    neighborhood/woocommerce/content-single-product.php
    neighborhood/woocommerce/loop/add-to-cart.php
    neighborhood/woocommerce/loop/loop-end.php
    neighborhood/woocommerce/loop/loop-start.php
    neighborhood/woocommerce/loop/result-count.php
    neighborhood/woocommerce/myaccount/form-edit-address.php
    neighborhood/woocommerce/myaccount/form-login.php
    neighborhood/woocommerce/myaccount/form-lost-password.php
    neighborhood/woocommerce/myaccount/my-account.php
    neighborhood/woocommerce/myaccount/my-address.php
    neighborhood/woocommerce/order/order-details.php
    neighborhood/woocommerce/single-product/add-to-cart/external.php
    neighborhood/woocommerce/single-product/add-to-cart/grouped.php
    neighborhood/woocommerce/single-product/add-to-cart/simple.php
    neighborhood/woocommerce/single-product/meta.php
    neighborhood/woocommerce/single-product/product-image.php
    neighborhood/woocommerce/single-product/product-thumbnails.php
    neighborhood/woocommerce/single-product/related.php
    neighborhood/woocommerce/single-product/review.php
    neighborhood/woocommerce/single-product/tabs/additional-information.php
    neighborhood/woocommerce/single-product/tabs/description.php
    neighborhood/woocommerce/single-product/tabs/tabs.php
    neighborhood/woocommerce/single-product/up-sells.php
    neighborhood/woocommerce/single-product-reviews.php
    neighborhood/woocommerce/single-product.php
    neighborhood/woocommerce/taxonomy-product_cat.php
    neighborhood/woocommerce/taxonomy-product_tag.php

    Thank you!

    #141121
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    Please update all of your plugins. If that doesn’t fix the issue then try deactivating the facebook like box, not sure if that’s causing the issue

    – Kyle

    #141305
    Hughans
    Member
    Post count: 13

    Hi Kyle,

    I have updated all of the website plugins and deactivated the Facebook like box but it hasn’t resolved the issue.

    If you can advise of another fix that would be great. We’re currently loosing sales on all of our variable products so I need to resolve this as fast as I can.

    Thanks for your help Kyle.

    Hughan

    #141310
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,
    It seems that you made some customizations like the grey category next to the dropdown.
    https://www.dropbox.com/s/ij1m5ahynklokg2/screenshot_product_page.png?dl=0

    Can you confirm that? and revert to the original files to see if the button appears?

    -Rui

    #141315
    Hughans
    Member
    Post count: 13

    Hi Rui,

    The grey category box only appeared after I updated the to the latest version of the theme/wordpress/woocommerce, it wasn’t something that I had intentionally coded in there.

    I did some searching around and tried a number of different fixes for this ‘variable product add to cart issue’ and it seems as though I have fixed it by pasting the following code in the Neighbourhood theme’s functions.php file.

    function mv_my_theme_scripts()
    {
    wp_enqueue_script('add-to-cart-variation', plugins_url() . '/woocommerce/assets/js/frontend/add-to-cart-variation.js',array('jquery'),'1.0',true);
    }
    add_action('wp_enqueue_scripts','mv_my_theme_scripts');

    Ill continue to go through my site to ensure everything else is in order, but for now it seems like that has resolved this particular issue.

    I found the info for the fix on this page: https://wordpress.org/support/topic/plugin-woocommerce-excelling-ecommerce-checkout-button-not-showing-on-woo-commerce-product/page/2

    Thanks for your help Rui.

    Hughan

    #141420
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    I am glad that you managed to resolve the issue.
    Thanks
    Mohammad

    #141424
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Ok I see but it’s not normal, maybe some file didn’t updated successfully.
    Let us know if find further problems.

    -Rui

Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register