Product not added to cart
Diagnose and fix issues where customized products are not added to the WooCommerce cart.
After a customer finishes customizing a product and clicks Add to Cart, the product should be added to the WooCommerce cart with the customization data. If this fails, the customer may see an error, the page may reload without adding the product, the cart quantity may be wrong, or nothing happens.
Symptoms
- Clicking Add to Cart does nothing or reloads the page.
- The cart remains empty after adding a customized product.
- A WooCommerce error message appears (e.g., "This product cannot be purchased").
- The product is added to cart but without customization data.
- The cart quantity is always 1, no matter what the customer typed in the quantity field.
Cart quantity is always 1 (fixed in v2.1.0)
In versions before 2.1.0, customized products were sometimes added to the cart with a quantity of 1 even when the customer entered a higher number in the WooCommerce quantity field. This happened because the hidden quantity input that Chamevo submits with the cart form was reading the wrong source.
Fix: Update to Chamevo 2.1.0 or later. The quantity input now reads directly from the WooCommerce quantity field on the product page, so whatever number the customer types is the number that lands in the cart.
If you are still seeing this behavior on 2.1.0+, clear your page cache and confirm no theme or plugin is replacing the WooCommerce quantity input with a custom widget that Chamevo cannot read.
Cause 1: Customization required but not completed
If Customization Required is enabled in settings, the product cannot be added to cart until the customer customizes it.
Fix:
- Go to Chamevo β Settings β General β Display.
- Check the Customization Required setting.
- If set to "Any view" or "All views," the customer must make changes before the Add to Cart button works.
- The customizer should show a message indicating customization is needed.
Cause 2: Variable product without selected variation
For WooCommerce variable products, the customer must select a variation before adding to cart.
Fix:
- Check if Customize Button: Variation Needed is enabled in Chamevo β Settings β WooCommerce β Product Page.
- If enabled, the Customize button only appears after the customer selects a variation.
- Verify the WooCommerce product has variations with prices set.