Герб Укріїни
Believe in Ukraine and the Armed Forces. Glory to Ukraine!

WooCommerce how to change the position of the variable price (replacing the main price)

I encountered such a problem: there was a variable product, and the price was displayed in two places (from and to above the attributes, and the specific price of the selected attribute below them). Accordingly, the task was to make one attribute price in place of the price range. The following solution helped, feel free to use it:

In functions.php of your theme

Читайте також:  How to display attributes on the product page in WooCommerce, under a short description

In general, it was possible to change the position of the variable price to the position of the main one. It worked well:

Replacing the variable price with the regular price in the category

Читайте також:  Advantages of Creating an Online Store on WordPress

Below, I’ll show on a screenshot what we get:

Leave a Reply

Your email address will not be published. Required fields are marked *