November 25, 2013 at 3:02 am 12752
|Tareq Hasan||Hi there, I have set up a form using 'custom taxonomies' for WooCommerce products (specifically the 'product type') and would like to have one option set as default - but there is no 'Default value' field - can this not be done? Ideally, I would like to use a hidden field for this but this assumes I know the relevant WooCommerce meta tag names and correlating values. I guessed _product_type with the value 'variable' and 'var' which didn't work. Is there a list somewhere with all meta tags / values used as default?|
November 25, 2013 at 8:12 am 12763
You can get all woocomemrce meta_key names from your database.
Check image :
Also, when you add fields you can set default values :
I hope i answer your question?
November 25, 2013 at 2:57 pm 12790
That’s great – thanks for referring me to the phpMyAdmin 🙂
Though, I tried to find the meta tag for product type and found _product_type with the value ‘variable’ which I had already tried and it didn’t work, my added products are still ‘simple’ which seems to be the default. I also found the meta tag _product_data with the value ‘variableproduct’ but again, it didn’t seem to work. Any thoughts?
Is there a way to link the specific meta tags to the front end attributes or is this a trial and error exercise?
From my Form Editor
November 25, 2013 at 3:05 pm 12792
(just noticed that my screenshots attached in the email don’t show up here)
I just found in the phpMyAdmin all the different meta tags and correlating values that I have tried to give to products that I have since deleted. This suggests that the meta tags and values are still in the data base even if not used?
This doesn’t exactly help me in finding the right meta tag for a specific product attribute.
Any steer on this?
November 25, 2013 at 5:23 pm 12803
Woocommerce Variable products still not possible with wpuf-pro. We are working on it.
For Downlodable product check this tutorial: http://docs.wedevs.com/woocommerce-downloadable-product/
November 25, 2013 at 5:32 pm 12806
Ok so with respect to ‘variable products’ I suppose I’ll ask ‘contributors’ to add simple products and I will then convert (manually) to variable products in the back end. Far from ideal but okay. Do you know when this might get introduced?
With respect to other meta tags / values though – how do I link each attribute in the WP Admin pages to the list of several thousands meta tags and values in the phpMyAdmin list?
For example, I have made a customer registration form with address details and I would like for these to be recognised by WooCommerce as billing address / shipping address etc.
November 25, 2013 at 5:43 pm 12809
Hum.. if you check our woocommerce tutorials you should get all necessary meta_keys for products.
But, you got a point. We should write another one for user’s registration fields only for woocommerce to make it easy for customers.
let me allow couple of hours or may be 1 day, see what i can do here.
PS: people actually don’t want to bother new customers to fill-up long form on very first time when they do register on a new site. They want customer’s to fill all these (billing/shipping information) when customer decide to buy the product 🙂
November 26, 2013 at 8:57 pm 12886
@director, variable products in WooCommerce is really complex. Although the feature might come later or not at all in WPUF, we are going to release a theme by which you can turn your site to a full fledge e-commerce site with stores, much like ebay. Where user can register to your site and open stores and sell products.