Trouble with product not using Woocommerce Custom Product Addons on add to cart
-
Hello,
For some reason, 2 products not using the plugin get the “Select option” button in the product page instead of the “Add to cart” button.
I went into the db and deleted all the _wcpa% meta key except for the product using the plugin. It didnt change anything.
I went into the code and saw the condition “if ($this->is_wcpa_product($product_id))” in public function add_to_cart_url($url, $product). It return true for both of those product.
I also noticed the transient “_transient_wcpa_products_transient” in the db having the id of my 2 product not using any custom field.
What is this plugin using to determine if a product use a the custom field or not? It seem to be faulty in my case.
Using wordpress 5.0.2 and Woocommerce Custom Product Addons 2.2.6
Thank.
The page I need help with: [log in to see the link]
- The topic ‘Trouble with product not using Woocommerce Custom Product Addons on add to cart’ is closed to new replies.