Skip Navigation

[Closed] Woocommerce Views 'Add to Cart Button' doesn't show up

This support ticket is created 4 years, 8 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 - - 9:00 – 13:00
14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 - - 14:00 – 18:00

Supporter timezone: Africa/Casablanca (GMT+01:00)

This topic contains 6 replies, has 2 voices.

Last updated by Jamal 4 years, 8 months ago.

Assisted by: Jamal.

Author
Posts
#1593639
Screenshot 2020-04-21 at 12.05.43.png

Tell us what you are trying to do?
I am trying to add a 'Add to Cart Button' in my template via blocks.
This exercise is to replace shortcodes with the respective blocks.
All works well except the 'Add to Cart Button'. Am I using it correctly?
Is there any documentation that you are following?
no
Is there a similar example that we can see?

What is the link to your site?
hidden link

#1594291

Hello and thank you for contacting the Toolset support.

I visited the woodogs page and I was able to add a product to the cart without issues. hidden link
The page is an archive page and the products on it have the button add-to-cart and working without issues.

I am afraid, I don't understand the issue here. Can you provide the steps to follow to reproduce the issue, I'll try them locally or on your site(preferably test site).
Your next reply will be private to let you share credentials to your (test) website safely. ** Make a database backup before sharing credentials. **

#1598625
Screenshot 2020-04-24 at 15.17.54.png

Hi Jamal,

thank you for your reply.
yes. the add to cart buttons are added via short code [wpv-woo-buy-or-select].

my issue is, if i use "Add to Cart Button" block, i cannot get it to work.

Dave

#1599191

Hello Dave,

I just tried on a clean installation to customize the single product page and an archive page, on both tests, I was able to add the "Add to Cart" button using the "Add to Cart Button" block without issues.

Make sure to have the WooCommerce Views plugin installed and to check our article about WooCommerce integration https://toolset.com/learn/create-an-ecommerce-wordpress-site/

I might need to take a closer look at your view to understand the issue better. Can you also record a short video or screenshots that display it?
Your next reply will be private to let you share credentials safely. ** Make a database backup before sharing credentials. **

#1600813

I can see the issue on your website, the "Add to Cart" block is not working. I could not reproduce this locally with a similar setup(I used category instead of vendors).

Maybe this is a compatibility issue and we should test your website in a minimal setup(only Toolset plugins, WooCommerce, WooCommerce Product Vendors). Preferably on a test site. Or I can take a copy of your website and check that locally. How would you like to proceed?

#1602029

hi Jamal,

thank you. yes, you can take a copy for your local test.

Dave

#1604327

Hello Dave, I took a copy of your website for my local debugging. When debugging I made the mistake to deactivate plugins on your live site instead of the copy. I had reactivated the plugins, but I am not sure if I missed anyone. Please check your website and let me know if there is anything I can do.

In the meantime, I'll be debugging locally why the add-to-cart block is not working and I'll get back to you.

The topic ‘[Closed] Woocommerce Views 'Add to Cart Button' doesn't show up’ is closed to new replies.