Switch product image when variation dropdown is opened - woocommerce

I have created variation products, but one of the attributes is selecting a font you want printed on the product.
therefore there is a variation image that shows the different fonts and which corresponding attribute it has.
Is there a way i can show this image when the dropdown is chosen?
Here is the product, and the attribute in question is the one called "Skrifttype"
https://holmeolstrupdesign.dk/vare/3d-glas-stjernetegn/
at the moment it changes the image after all variations are chosen.

Related

WooCommerce multiple variation image

I have some products which have multiple variation and mostly these are sets. Once I create variations on WooCommerce with dropdowns or switches with images, I can only attach an image to first variation like;
1st Selection - Pillow types
2nd Selection - Bedsheet type
When I click on 1st selection of pillow, image changes to pillow type but in 2nd selection I want to attach images to bedsheet so when someone click on that option it will also show there.
Is there anyway I can do this?
Thank you

Attributes not showing to choose in 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

Woocommerce show product combination without selecting all combinations

I'm developing an e-commerce using Wordpress and I'm having a problem with product variations. I have about 40 photographic works
and each of them has different options:
print support
frame color
dimension
Currently only if a user selects all the choices the image is updated and a price is displayed based on the choices.
I would like a user to see the updated image and price even by selecting one or two of the options.
Is it possible to create a product variation by setting only one or two variations?
Here is a sample product that I would like to change already from the first or second choice of the user. (at the moment the image and the price are updated only by setting all three variations).
product link -> https://www.italiansummer.it/product/addaura/
Thanks in advance for any help
Try using the gravatar form plugin.

WooCommerce Composite Product Page has unwanted "QTY" input field above Add To Cart

Consider these two composite products, which were created to be identical in every way, except for the product name, sku, image, and options.
Even the composite options are more or less copies, the second one a copy from the first, except for the changes to the component names, prices, skus, etc.
The composite product on this link is correct, because immediately above the ADD TO CART button, there isn't a quantity select:
26″ PATIO FR ON BLACK PEDESTAL
The composite product on this link, on the other hand, has a quantity select input immediately above the ADD TO CART. I don't want it, and I want to remove it:
26” PATIO
I have put the two product pages side-by-side, using the edit product page, compared the products at every level I can think of, comparing the component construction, the advanced tab of each component, and even comparing the components side-by-side (each component being a simple product), and I can't see any difference.
It is just in the settings of your product in Inventory options, enable "Sold individually :

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

Resources