Digital experiences for all disciplines
New Landing › How can we help? › Themeforest Theme Support › Neighborhood › Add to Shopping Bag buttons and add to cart button missing..
New Landing › How can we help? › Themeforest Theme Support › Neighborhood › Add to Shopping Bag buttons and add to cart button missing..
- This topic has 14 replies, 4 voices, and was last updated 10 years by Kyle – SUPPORT.
-
Posted in: Neighborhood
-
August 8, 2014 at 2:12 am #99201
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?
August 8, 2014 at 3:15 am #99206Ok 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…
August 8, 2014 at 5:35 am #99231Hi,
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
MohammadAugust 8, 2014 at 7:21 am #99246Hi 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 …August 8, 2014 at 7:26 am #99253Hi,
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
MohammadAugust 8, 2014 at 7:35 am #99255Yeah I stuffed that by not backing it up. I’m using the latest version of neighborhood v1.81…
August 8, 2014 at 10:51 am #99340This reply has been marked as private.August 8, 2014 at 11:36 am #99362Hi 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?August 8, 2014 at 11:41 am #99365I 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”?
August 8, 2014 at 11:44 am #99367Hi,
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
August 8, 2014 at 11:44 am #99368Hi,
Please refer this tutorial http://docs.woothemes.com/document/change-add-to-cart-button-text/.
ThanksAugust 8, 2014 at 11:54 am #99373AWESOME!!! 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?
August 8, 2014 at 12:25 pm #99383Add 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
August 8, 2014 at 12:46 pm #99399Wow. You guys are sharp. Thanks so much!
August 8, 2014 at 12:47 pm #99400No problem ๐
– Kyle
-
Posted in: Neighborhood
You must be logged in and have valid license to reply to this topic.