Questions tagged [product-variations]
106 questions
0
votes
0 answers
Pass some WooCommerce product data to Contact Form 7 enquiry form "all stock"
On Pass some WooCommerce product data to Contact Form 7 enquiry form answer to my previous question allow me to pass the product name (and the variation attribute "Color" for variable products) to a custom enquiry-form (contact form 7) that appears…
Selman Güneri
- 79
- 3
0
votes
1 answer
WooCommerce display variable product attributes
I am trying to display attributes of a particular product (i.e. id: 459) that has multiple variations and trying to display some of the attributes (i.e. name, id, link to the product and image) on the index page. I managed to get the variation image…
pv619
- 385
- 5
- 24
0
votes
0 answers
Product attributes as dropdown menu in WooCommerce with Goya theme
I'm new to WordPress and I'm a bit stuck with a WooCommerce website that uses the Goya theme. I have added product attributes and product variations for my variable products.
However, the theme displays them as links (see the Color and Size…
eee
- 35
- 4
0
votes
2 answers
How to fetch product variant from MySQL
How to fetch product variant from table. How to apply MySQL query for this
products
+----+--------------+
| id | product_name |
+----+--------------+
| 1 | IPhone …
Deep Patel
- 70
- 6
0
votes
1 answer
Replace WooCommerce product short description by selected variation description
Can I hide woocommerce short description if variable product description is visible?
Then if I reset the variation, then short description will display again and then hide the variable product description again.
Any help?
Yucaree
- 13
- 3
0
votes
0 answers
Custom WooCommerce pricing page using variations for memberships plans
I'm trying to create a WooCommerce pricing page and i'm using the below code based on How to use variation and add-to-cart button outside woocommerce loop answer code, to display the variations on this pricing page.
function…
Petros_MBS
- 1
- 1
0
votes
2 answers
Customization on WooCommerce variable product with custom fields
We have created a site using WooCommerce and WordPress with predefined products.
However, Product A must have variations, to resolve this, we added custom fields such as Colors, Dimensions, etc...
Now once the end-users are navigating to the…
user1027620
- 2,563
- 4
- 32
- 57
0
votes
1 answer
Display default and selected variation price from a woocommerce variable product
I've been looking over Stack for an answer but can't find one (even when reading this and this)
Here my trouble: i would like to display (or at least get the variable) of the default and selected price of a woocommerce variable product.
System:…
0
votes
1 answer
Product Variation Stock Count on Non WooCommerce Page
I'm needing to display the available "Stock" for some variations. The catch is that I need to do it on a static, standard WP page. I know the Product ID and Variation ID, can I use those to get the variation stock count, outside of WooCommerce's…
Circle B
- 1,237
- 2
- 20
- 34
0
votes
0 answers
Metabox update (gallery and variations) in product
Is it possible to fill the gallery so that the first image is the main product image??
And the second question
maybe right here and tell me how to immediately display the color and size attributes with checkboxes, so as not to create variations, but…
0
votes
0 answers
Add a gallery pictures programmatically to woocommerce product variation
I have created programmatically a variable product with variation. All is fine but I can't add additional variation images to product variations.
I know this isn't possible by default and therefore I used this official woocommerce plugin.
The…
0
votes
0 answers
How get min or max price of in stock product variation?
I use get_variation_price to get max or min price between product variations. but I don't know how to get min or max price between product variations which each has stock quantity bigger than 0?
Is there any idea, I get stock to this…
Web Design
- 129
- 15
0
votes
0 answers
Woocommerce and variable products stock management
Who can help me with my problem/my wish to see the total amount of stock of that product and to keep stock on the different options too.
Let me explain by giving an example first.
The product is: Weekend Retreat
Total amount of stock: 3x
Option own…
0
votes
0 answers
Only One Product Variant added to Cart, and It's always the first one added to my db
I'm setting up a simple online store with no user system - just a session following a cart.
Currently, I am able to select a Product (could be thought of as a product category), and within that product page select a ProductVariant…
Aaron Z
- 3
- 3
0
votes
0 answers
Value can't be selected
I've been working on the modifications of the select list of the variations (Wordpress,Woocommerce). There are 2 buttons up and down that are expected to change them. They are working but 'Add to cart' isn't active when I change one variation to…
Henry49
- 19
- 4