I would like to display the total number of the Woocommerce product attributes in each attribute type on a page.
For example, display Colour 3 when attributes Red 1 and Orange 2 product results are displayed after selecting attributes from the product filter.
I found a code here but it doesn't seem to work.
Related
Create a custom colum in the product grid. It shows that how many size options available against that product. If the product has (S,M,L) then 3, if product has (XS,S,M,L,XL) then 5 and if product has (X,M,L and Color options like Green, Blue, Black) then shows 6, in other words show how many child products does this product have? if simple product then it shows 0.
i have been trying to solve it through ui components but the column is not created and also try to solve it like order id but not found answer.
In WooCommerce for WordPress, when you have a variable product, you can enter dimensions (length, widht and height) and weight for each variation.
However, the number I enter don't show up in frontend unless I also fill in the corresponding fields for the parent product.
The problem is, that whatever value I enter for the parent product is displayed on frontend when 'Select an option' is selected from the dropdown menu, and I don't want that. And if I enter '0' in the weight and dimension fields for the parent product or leave them empty, weight and dimensions are not displayed on frontend for the product variations either.
I have cart widget on the right side with individual item,
I would like to mix all of the individual item into one Mix item when 'Mix' button is call with 'Mix name' input field like in the picture:
So Before 'mix',
Every product in the cart is an Individual product
the cart will detect item and restriction for item that belong to which category - so based on restriction, only max 9 items can be in the cart at this time.
when user hit mix:
every individual product in the cart will merge into 1 Mix product with including product name for each, product quantity for each, product price total
Is it possible to add quantity fields like:
I found a workaround but it only seems to with one variation attribute.
I need a cumulative effect as shown in the image
I have 1 attribute called Weight in Products > Attributes. I have a nice hierarchy in here and its organized like the picture below.
Organized attributes:
My problem is when you go to add a new product and under attributes I added my attribute called weight. But in the select dropdown there its not organized. See the image below for the unorganized select list of attributes when adding a product.
Unorganized attributes:
How can I get my select list when adding a product to look like the one that is under Products > Attributes? Or, how can I get image #2 to look like image #1?