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.
Related
I would like to hide attributes terms or values from variation dropdown list and also enabled not disabled. just hide it from selecting in variations dropdown list because I want To use this variation ID as a single product.
My Example is
hide attribute value woocommerce
I found the below code which helps me of what Exactly I need but it makes the attribute value or variation Id disabled and I can't use it anymore as a single product by variation Id
Hide specific product attribute terms on WooCommerce variable product dropdown
If you can hide an option/attribute only in this dropdown then you should have 2 options:
Hide by using CSS
Hide by using JS like this-
option1)
$('#test').find('option[text="Domains Num"]').css('display','none'); OR $('#test').find('option[text="Domains Num"]').hide();
option2)
$('#mySelect option:contains(' + value + ')').css('display','none');
In your Js file or footer.php page
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
How can I change the Subtotal text on the WooCommerce product page (not the cart page). Screenshot attached, I'd like to change 'Subtotal' > 'Subtotal (GST Inclusive)'
Screenshot of Subtotal
Thanks!
In regular single product page of Woocommerce with default themes (like twentytwenty), there is no Subtotal inside it.
I believe, in your case, the Subtotal is shown by a plugin or theme function. So, you need to check the custom code that shows this Subtotal area. After making some research, please provide us your work related to issue and make clear your question.
Additionally, you can use translate plugins or plugin named String Locator to easily solve this issue.
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
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