Quantity input field above add to cart button
-
Hello,
I would like to ask you, how to place quantity input field above add to cart button? Please see the attached images.
Best Reagrds
Attachments:
You must be
logged in to view attached files.
Hello,
Please add this code to the Theme Settings > Custom CSS > Global:
body form.cart {
display: block!important;
}
body div.quantity {
display: block;
}
form.cart :where(.single_add_to_cart_button,.wd-buy-now-btn,.quantity) {
margin-bottom:20px;
}
Best Regards
Hello,
Thank you Elise, it’s working.
Could I also ask you how to add some text before that quantity field?
I can add a text block before the product price, but not before quantity input.
It’s seems a quantity field doesn’t have own widget as a price has.
Best Regards
Attachments:
You must be
logged in to view attached files.
Hello,
Unfortunately, it is not possible to add text right there.
You can consider the option Before or After add to cart button. You can insert your text in this area.
Please find the option in the Theme Settings > Single Product > Add to cart.
If you have any questions please feel free to contact us.
Best Regards