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
Related
I have a product with 300+ variations. I'm displaying all variations in one large form, because i want the user to pick various variations to buy at once.
When i add to cart it doesn't work, but if i choose a product that has less number of variations, it works normal.
I've alredy changed my max_input_vars in my php.ini.
How i increment the number of variations?
URL: http://patricio.jhkon.site/index.php/product/regular-t-shirt-man/
This is a wrong way to do this task. color should be the attribute to size should be the variation. and you can create a custom fucntion to choose the color for the product. you can create the a dropdown list where user can select the color and from size variation user can select the variation.
if you want to create dropdown using product atrributes. Let me know.
I'm trying to add a second button to a product page with a updated price.
For example I'm using [add_to_cart id='$product->id'] which displays correctly, but I would like to assign this short code a custom price.
The results should show two buttons on a single product page. One with the regular price value and the other with the custom price value.
I tried doing this through variables, but need them in two buttons instead of a drop down.
Thanks for the help!
I'm using the last WooCommerce version and I have no +/- quantity buttons before and after the single product page quantity input field. In the corresponding template ("/global/quantity-input.php") there's only the input field, +/- input elements are missing.
Why is that?
WooCommerce has depreciated the quantity selector buttons in version 2.3 and above.
There is a separate plugin by WooCommerce to get back the quantity selectors
https://wordpress.org/plugins/woocommerce-quantity-increment/
Reference: https://wordpress.org/support/topic/no-more-quantity-selector-after-update
The current WooCommerce uses the html5 number input which does not have separate plus and minus buttons, though some themes might still be adding them with JavaScript.
I am trying to create a "Contact Lenses" Online store using WP and Woocommerce.As you know Woocomerce generate one default quantity display for each product as:
but in my case I need to have TWO Quantity Selectors for each product , one for Right Eye and second for Left eye as:
can you please help me to figure this out how to have two selectors and eventually add the sum of these two into the Cart or display both quantities in the Cart?
Thanks
Why dont you use the built in variation functionality? This way you can then have as many "quantity" fields as you like.
You could setup 2 variations of the product called Right OD and Left OS and have a drop down with the quantities.
This will be by far the best solution for your scenario.
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