New Landing How can we help? Themeforest Theme Support Neighborhood Add to Shopping Bag buttons and add to cart button missing..

Viewing 15 posts - 1 through 15 (of 15 total)
  • #99201
    bouncingsprouts
    Member
    Post count: 72

    Hi Guys,
    My “add to shopping bag/wishlist” buttons on my products in my shop, on the related products slider and my add to cart buttons on my product pages are missing. This is because I was following:
    http://support.swiftideas.net/forums/topic/edit-button-text-and-short-description-font-size/

    After editing neighborhood/woocommerce/loop/add-to-cart.php, neighborhood/woocommerce/single-product/add-to-cart/simple.php and neighborhood/woocommerce/single-product/add-to-cart/variable.php they no longer worked. I was trying to change the text on my button from “add to shopping Bag” to “Add to Bag” as I have changed the size of my product images on http://www.bouncingsprouts.com/blog/?product_cat=nappies and the “ADD TO SHOPPING BAG” no longer fit. I was editing the .php files in Dreamweaver and they where blank when I re-downloaded them in order to undo my changes. Therefore me trying to be smart I tried re-uploading the unedited original files from a local neighbourhood theme, but that didn’t work either ๐Ÿ™

    Could you please have a go at fixing it for me?

    #99206
    bouncingsprouts
    Member
    Post count: 72

    Ok so I got my “Add to shopping Bag” buttons working on my product pages, however the product images are still blank when you rollover and there is no “Add to Shopping Bag” button or wish list…

    #99231
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Its seems any plugin conflict.Deactivating all plugins except woocommerce and wishlist to see if this resolves the problem. If this works, re-activate the plugins one by one until you find the problematic plugin(s). Hope that should help to you.

    Thanks ๐Ÿ™‚
    With Best Regards
    Mohammad

    #99246
    bouncingsprouts
    Member
    Post count: 72

    Hi mohammad,
    Thanks for getting back to me. I just went and disabled all my sites plugins and it didn’t fix the problem. The buttons are still missing on the product images as before. A side from that I’m 100 percent sure it’s something I’ve done to neighborhood/woocommerce/loop/add-to-cart.php as it instantly stopped working after messing with it in dreamweaver. I just can’t seem to figure what I did …

    #99253
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    You should have a backup of this file before making any changes. Anyway, which version of theme is being used by you? So i can provide this file.
    Thanks ๐Ÿ™‚
    With Best Regards
    Mohammad

    #99255
    bouncingsprouts
    Member
    Post count: 72

    Yeah I stuffed that by not backing it up. I’m using the latest version of neighborhood v1.81…

    #99340
    Kyle – SUPPORT
    Moderator
    Post count: 35880
    This reply has been marked as private.
    #99362
    bouncingsprouts
    Member
    Post count: 72

    Hi Kyle,
    I have uploaded the fresh copy so and I’m still not seeing any buttons…I’ll keep going through my plugins, any idea on what else it could be?

    #99365
    bouncingsprouts
    Member
    Post count: 72

    I just refreshed a few times and They started working again. Thanks so much! So now that I still have the buttons saying “add to shopping bag” how do i change the text on the buttons to say “Add to Bag”?

    #99367
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    You can add the code bellow to your functions.php file
    Just change “My Button Text” to your desired text.

    
    add_filter( 'add_to_cart_text', 'woo_custom_cart_button_text' );                               
    add_filter( 'woocommerce_product_single_add_to_cart_text', 'woo_custom_cart_button_text' );     
     
    function woo_custom_cart_button_text() {
     
            return __( 'My Button Text', 'woocommerce' );
     
    }
    

    -Rui

    #99368
    Mohammad – SUPPORT
    Moderator
    Post count: 27441
    #99373
    bouncingsprouts
    Member
    Post count: 72

    AWESOME!!! Thanks Everyone!

    One more thing I also have an issue with the wishlist button and the add to cart button misaligning once a user has chosen their option on page (http://www.bouncingsprouts.com/blog/?product=busy-bee-potty-training-pants) is there an easy fix for this?

    #99383
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Add this to your custom css:

    .bag-buttons a.checkout-button, .bag-buttons a.create-account-button, .woocommerce input.button.alt, .woocommerce .alt-button, .woocommerce button.button.alt {
      margin-top: 0;
    }

    – Kyle

    #99399
    bouncingsprouts
    Member
    Post count: 72

    Wow. You guys are sharp. Thanks so much!

    #99400
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    No problem ๐Ÿ™‚

    – Kyle

Viewing 15 posts - 1 through 15 (of 15 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