Preselect the product variation in Woocommerce - wordpress

Currently working on a subscription based food ordering project which uses the product variations to select different options per recipe.
Option 1(working);
On the (man)=menu page I'm displaying each product with the corresponding variations (product -> white rice or brown rice). This works fine and customers can easily make their selection
Example:
https://puu.sh/IVDcM/c7d88428a2.png
Option 2:
Another option is that customer can re-order/change their menu selection (which updates the subscription with the new selection). This page is pretty much the same as option 1.
Issue:
When viewing the products on the Option 2 page I would like to be able to show the previous selected variation options.

Related

Woocommerce: Autoselect Variation based on Attribute Filtering

I already managed to pre-select the first on-stock variation as soon as you load the single product page. Now I wanted to take a step further, I wanted to make woocommerce pre-select a variation selected through filtering on Archive pages and Shop page if a choice has been made obviously. Like: On shop page I filter Size M and after I select the product that has Size M avaiable, make it already selected and not the first one that could be like an XS. For instance I'm using the Stock Woocommerce Filtering Widgets with Attributes.
Is it possible?
Thank you so much!

Woocommerce hide variation dropdown with only 1 option

I have some products with a specific attribute which most of the times has a single option.
If that is the case, i'd like to hide the option picker (drop-down) on my product page.
The attribute is called package size and it is set to one by default for all products. But it is confusing for the customer too see the option picker if there is only one option available.
I'd like to remove it for products with only one package size option.
Any ideas ?
Greetings

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 :

Drupal Commerce Multiple Product Listing

I am currently working on a project based on drupal + drupal commerce module.
I made a products node (Product Display) using the product reference and inline entity form - Multiple Values.
Now the problem is, I want to list products in a "div" rather than listing them through select box.
To be more clear:
It does list out multiple products, but shows only 1 product at a time. I have to select a product from the drop-down list.
As you can see here:
http://i.stack.imgur.com/EO8if.jpg
Please note: Table panel and bottle box are products.
What I want is:
All the products should be listed without the need of a drop-down select box selection.
Thanks & Regards
Is there a reason why you have used only one node of type "product display" for two diferent products "Table Panel" and "Bottle Box"?
If you create one node for each product its easier do display them as a list.
In my understanding, I wasn't doing it in the right way. I found out the way. I can make product displays and then render them as a VIEW. And style it accordingly. Again many thanks for your input, it really helped me to think, why am I doing this way.
Thanks nimbfire.

Resources