• Hi,
    This is an awesome plugin and it does everything I could possibly ask.
    Thank you !!
    However one issue has arisen after activating this plugin on my local site.

    After activating this plugin all the products on my main SHOP page now have the ‘ADD TO BASKET’ Button underneath each listing where as before the
    ‘ADD TO BASKET’ Button was not there.

    Before the ‘ADD TO BASKET’ Button was only displayed on the product description page for each item.

    Possibly could have something to do with my theme ?
    I have the Flatsome Theme by UX DESIGNS installed on my site.
    Wordpress 4.7 everything is up to date.

    Appreciate any guidance you can provide.
    Thx Jay

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Contributor angelleye

    (@angelleye)

    I’m a little confused. An Add to Cart button would be displayed on your shop page by default simply because that’s how WooCommerce works. If you have offers enabled on shop/home page then you would also see a Make Offer button after the add to cart button.

    It sounds like you’re telling me your shop page doesn’t display any add to cart or offer button at all..?? But now with our plugin installed it’s actually causing it to display your cart button, but NOT the offer button..?? That’s odd.

    Please verify.

    Thread Starter jayjay111

    (@jayjay111)

    Hi,
    In Flatsome theme you have a layout option for the shop page to display products without the default ‘Add to Cart’ Button that you mentioned.

    I originally selected that layout option for my shop page then after activating this plugin it then caused the cart button to be displayed.

    I found a work around for this by adding some code I found on stackoverflow to my child theme functions.php to get rid of the default ‘Add to Cart’ button on shop page in woocommerce:

    add_action( ‘woocommerce_after_shop_loop_item’, ‘remove_add_to_cart_buttons’, 1 );

    function remove_add_to_cart_buttons() {
    if( is_product_category() || is_shop()) {
    remove_action( ‘woocommerce_after_shop_loop_item’, ‘woocommerce_template_loop_add_to_cart’ );
    }
    }

    But the ‘Add to Cart’ Button shows up again now on the default ‘Woocommerce Products Custom’ widget I have on my homepage.

    I’m not familiar with PHP but i’m guessing if I had another ‘IF’ statement for the ‘Woocommerce Products Custom’ widget the same would work as above and then all would be fixed ?

    Really appreciate you getting back to me.
    Thought it was a little strange when as soon as I activated this plugin all of my product listings on the shop page appeared with the ‘Add to Cart/Basket’ Button underneath them.

    NB. before i added the code to my functions.php i tried a plugin called ‘remove add to cart button woocommerce’ or something along those lines. It replaced the ‘Add to Cart’ Button with ‘Read More’ Button for each product listing on the shop page LOL ??

    Plugin Contributor angelleye

    (@angelleye)

    Our plugin adds a product level option to enable offers for individual products, and then there is a global option for whether or not to display the offer button on the home page / shop page. Do you have this turned on or off? It would be under Settings -> Offers for WooCommerce -> Display Options

    Thread Starter jayjay111

    (@jayjay111)

    Hi,
    My apologies i did not mention that in the previous message.
    The answer is NO
    I do not have the global option turned on to display the offer button on the home page / shop page.

    Before I did try it out by selecting this option to display the offer button on the home page/ shop page and as you mentioned previously it did add the offer button above/below the ‘Add to Cart’ button.

    Plugin Contributor angelleye

    (@angelleye)

    Can you provide a copy of your theme so we can install it here for testing? Please submit a ticket here, reference this thread, and attach the theme as a zip file.

    Thread Starter jayjay111

    (@jayjay111)

    Hi,
    Im in the process of submitting a ticket but the theme is too large to upload as it is 8.4MB
    Is there another way i could send it to you.

    Plugin Contributor angelleye

    (@angelleye)

    Do you have a Google Drive, Dropbox, or anything like that? You can put it there and then provide a link to download.

    Thread Starter jayjay111

    (@jayjay111)

    OK will do
    Thank you

    Hi,

    i got the same problem.

    Usually my theme does not show a add-to-cart button on Shop pages, just plain textlinks to the products. If I turn on your plugin and ACTIVATE the “show offer on shop” pages setting I get an add-to-cart and a make-offer button on shop pages. If I turn the option off, I still get the add-to-cart button. If I turn your plugin off, the add-to-cart button is gone.

    Any news regarding to this?

    Thanks, Chris

    Plugin Contributor angelleye

    (@angelleye)

    I think we’ve found the issue here, but we’re going to need to work to figure out a way to resolve this without breaking other functionality.

    Are you using the Flatsome theme as well, or some other theme?

    Thread Starter jayjay111

    (@jayjay111)

    Hey Chris,
    The angelleye support team got back to me via email.
    Unfortunately I can’t log back into my support account but here is their reply:

    Hi Jay,

    the 1.3.1 adds the ability to display the offer button for items that have no price set at all. This was a big request we had, but getting it done technically required the use of some hooks that seem to be overriding what your theme is doing now.

    We’re looking to see if we can find another method for allowing that no price offer functionality without affecting theme settings. We’ll do out best to get something worked out and include it in our next update.

    In the mean-time, if you want to use our current version release you could then add this to your theme’s CSS to hide the cart button on your shop page:

    .archive.woocommerce a.button.add_to_cart_button {display: none;}

    Please give that a try and let me know if it does what you need.

    I added the line of code above to my site running flatsome theme by going to the Flatsome drop down menu on the top bar of the wordpress admin dashboard. Then selecting ‘Advanced’ – ‘Customs CSS’ and then pasting the code into ‘ALL SCREENS’. This worked for me on the shop page but still the ‘Add to Cart’ Button shows up again on the default ‘Woocommerce Products Custom’ widget I have on my homepage.

    Thanks angeleye and jayjay for your replies.

    @angeleye: No, I’m using another theme.

    @jayjay: Thanks for your help. I’ll give this a shot as soon as I have ironed out some other trouble I’m running into working with this plugin,

    Plugin Contributor angelleye

    (@angelleye)

    We’ll do our best to get this worked out in the next update so the new functionality won’t interfere with theme settings like this.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Add to Basket Button shows up on product listing page’ is closed to new replies.