I'm using leto woocommerce theme and product details page there add to cart -button is next to quantity -+ selection in default view.

How to add two fields side by side in woocommerce? For example, add a text box next to the add to cart button. The text is coming from the function in functions.php file.

This is how it is now:

enter image description here

This is what I would like it to look like:

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.