Attributes not showing to choose in woocommerce - woocommerce

At my product page, when I go to Product Data, select “Variable product” and then click on “Variations” I get the message, “Before adding variations, add and save some attributes on the Attributes tab.”
enter image description here
So… I went to the Attributes tab, created an attribute titled ‘Colors’, and ‘Size’.
enter image description here
With those saved, I went back to my saved product, went back to “Product Data”, selected “Variable product” and clicked on, “Variations”
But there I again see that message "Before adding variations, add and save some attributes on the Attributes tab.".

After you've added your global attributes (Products › Attributes), you still need to select those attributes from the Attributes tab on the product edit page. You'll then be able to set up variations for a product.
Go to: Products › Add Product (or edit an existing one).
Select the Attributes tab in the Product Data. Use the dropdown menu to choose any of the global attributes that you’ve created.
Select Add to make the attribute type available for variations
Select the terms that you want to use for this product's variations (I've selected Black and White in the screenshot below).
Check Use for variations
Click Save attributes
You can now set up variations within the Variations tab

Related

Check Selected Woocommerce Product Variation Name for String

Quick question, how can I check Woocommerce product variation name for specific string on a product page, so I could display custom message?
Let's say I have a product variation with a name "Stack Overflow", how on a product page can I check if the customer selects it to then display custom message?
I know I can have custom descriptions for each variation, but when you have 1000+ it takes forever to change all of those, so instead I would simply like to code it globally so a specific message would display when customer selects specific variation.
For example, let's say I have "large, medium, small", so when they select "large" it'll display my message.
I tried to use get_term_by with no luck.

field image didn't appears in my view

I am using Drupal commerce, I have been wanting to create views for recently added products, actually that works (pretty easy) but when I want to add the field image, images didn't appear. I will try to illustrate my steps:
1) create new view, show: content; of: product display; sorted by: newest first.
2) add relationship (content: referenced products) then I required it.
what I did wrong!
thanks for any answer.
You have to add the image field from the referenced product (i.e the image field, using the relationship like "(Referenced Product) Image") in your view. In Drupal Commerce, image fields on products are usually product field and not product display field as they might change across products variations.
If you already add the image field, make sure you choose "Use relationship : Referenced product" in the image field settings, otherwise Views will keep looking for this field on the product display, not on the product itself.

Attributes not displaying in woocommerce

At my first product page, when I go to Product Data, select “Variable product” and then click on “Variations” I get the message, “Before adding variations, add and save some attributes on the Attributes tab.”
So… I went to the Attributes tab, created an attribute titled ‘Colors’, and one titled ‘Size’. Then for terms on dimensions I added “Black, Blue, Red White” and for Size, I added he terms, “S, M, L, Xl”
With those saved, I went back to my saved product, went back to “Product Data”, selected “Variable product” and clicked on, “Variations”
But there I again see that message "Before adding variations, add and save some attributes on the Attributes tab.".
Now working fine.
Error: "toolbar" class was taking potion fixed. It was taking this style from gravity plugin stylesheet.

woocommerce: how to add new fields to variations form and show them on frontend

using last versions of wordpress, woocommerce and cheope (theme).
the question: how to
add some extra fields in variations form (text and image field types)
show them on frontend so that their values change accordingly on changing of attributes-select values.
e.g.: the site sells candles and uses variable products, for each kind of candle has several dimensions (with specific different prices), each of which has different duration.
The duration is an important element that I want the user to be informed about.
The same to show the available colors all together.
Unluckily in the standard variation form there is no field where I can insert these or other features.
some help please?
updated 07-August-2013
I succeeded in adding to variations form a new field displayed on back-end, as you can see here, by inserting the code you can find here (please see the comments too) in the function.php file of the theme.
Now, what I’m not able to do is get this field to display with each proper value on front-end (please take a look to the last comment in the above linked page).
Any tip or trick?
thanks
1)Add product attribute and check checkbox Used for variations and Visible on the product page
2)go to variations and add new and fill all fields price and stock must add on them
Your producr display variations and their data

How To Configure Fields To Display In Ubercart Product Node

I have set up ubercart on a site and everything seems ok when adding products and viewing the catalog page however when I click on the product the product view does not include the product image or the price.
I have have enabled all fields in admin/store/settings/products/edit/fields however this does not seem to change anything (SKU etc not displayed either, only description, size options, add to cart button and link to category)
Can anyone suggest why these may not be showing, Am I looking at completely the wrong config screen? Thanks
Check here admin/content/node-type/product/display if the display for the Full node is OK.
Another way will be to create a node-product.tpl.php template and display the fields as you wish (You'll have $node there, etc..).

Resources