J
J
jazzman72020-12-11 00:03:06
WordPress
jazzman7, 2020-12-11 00:03:06

How to make a button in the "add to cart" for variational products?

Good day. There is a variation product, by default I set options, on the product page the "add to cart" button was activated, but on the store page, instead of the "add to cart" button, the "choose ..." button. How can I change it to "add to cart"? I have already seen similar topics, according to the answers from them I tried to install the Woocommerce plugin Add to cart Ajax for variable products - it does not work, other answers are generally outdated, they advise changing files that are no longer there. In general, I'm in a stupor, please help.

PS so as not to produce questions, I’ll ask if anyone knows how to do it so that when choosing an option, the main price of the product changes, and does not appear under the options?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
W
WP Panda, 2020-12-11
@wppanda5

Add to cart is just a link, the easiest option, see how to get the default option, see what link you get when adding to the cart from one product, instead of id, represent your default option in it, and add to the category. The rest requires knowledge. Well, there are such plugins, if you want with a choice

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question