I am using WooCommerce combined with WP Types and Views and Woocommerce views in order to display products and I am trying to add an add-on to all the products. I am using the woocommerce product addons plugin, however the "notes" textfield I am trying to add, only comes up for the variable products and not the simple ones.
You can view it here: hidden link
The view displays the product then the following inside an inline lightbox:
I tested this on a local site and saw no difference between simple and variable products, the add-on field showed on both.
So I think I will need to see this on your site to check how you have done this.
I will mark your next reply as private so that I can get log-in credentials from you—you may want to create a temporary admin user for me to use that you can later delete. And be sure to have a current backup of your site, even though I don't intend to make any changes other than—possibly—to temporarily add a backup plugin to take a snapshot of the site.
I logged in with the credentials you provided but I don't have backend access. If I try to visit /wp-admin/ I'm redirected to a front-end account dashboard.
WooCommerce extensions typically work by hooking into some actions triggered by WooCommerce. When you use Views to produce customised WooCommerce output the same actions may not be triggered, depending on the particular circumstances of what you add where.
In this case it seems that the required action is triggered with the variable products workflow, but not that for single products.
I am escalating this thread to see if it is possible to update the workflow used with wpv-woo-buy-or-select so that it triggers the action required by the WooCommerce Product Add-ons extension.
Thank you. In the meantime I have another question:
With Ajax enabled, it only works for single products. Variable Products need to refresh the page.
Is there a way to have Ajax add to cart for both simple and variable products within a View?
I am trying to use Gravity Forms to add a notes field. It shows up on the variable products in the loop, but not on simple products.
You mentioned you would look into triggering the add-ons to show up with the WooCommerce Product Add-ons extension (thinking gravity forms puts their forms in the same way.
It has been a while but our lead developer took a long look at this and provided a lengthy explanation as to why we are not able to resolve this issue.
I could paste his feedback, but the short answer is that we cannot resolve it. The only viable solution could have unintended consequences for a myriad of other 3rd party plugins which is a Pandora's box we don't want to open.