Skip Navigation

[Resolved] Problem with add/subtract quantities from product page w/ wpv-woo-buy-options

This thread is resolved. Here is a description of the problem and solution.

Problem:

I am using the wpv-woo-buy-options shortcode on a product page and the plus and minus buttons do not work. However if I add a product to the cart, the buttons will then work.

Solution:

The issue was with GeneratePress Premium module plugin.

Relevant Documentation:

This support ticket is created 4 years 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: Asia/Hong_Kong (GMT+08:00)

This topic contains 2 replies, has 2 voices.

Last updated by kevinP-11 4 years ago.

Assisted by: Luo Yang.

Author
Posts
#1877553

Tell us what you are trying to do?
I am using the wpv-woo-buy-options shortcode on a product page and the plus and minus buttons do not work. However if I add a product to the cart, the buttons will then work. Looking at the source, there is code added.
this is a sample of some of the differences.
before adding a product - <div class="quantity">
after adding a product - <div class="quantity buttons-added">-

What is the link to your site?
hidden link

Thanks!
Kevin

#1877881
add-to-cart.JPG

Hello,

The problem you mentioned above is abnormal, and I have tried it in my localhost with a fresh WP installation + the latest version of Toolset plugins + Woocommerce plugin, it works fine, see my screenshot add-to-cart.JPG

Please check these in your website:
1) Make sure you are using the latest version of Toolset plugins + Woocommerce plugin, you can download Toolset plugins here:
https://toolset.com/account/downloads/

2) In case it is a compatibility problem, please deactivate all other plugins, and switch to wordpress default theme 2020, deactivate all custom PHP/JS code snippets, and test again

#1878211

The issue was with Generate Press Premium module plugin.
My issue is resolved now. Thank you!