Plugin Support
RK a11n
(@riaanknoetze)
Hi there,
At the moment, there no default way to change the variation display order on the front-end. The drag-and-drop functionality in the admin area applies to the admin area only. On the front-end, the order is based on the variation ID (which remains constant even when using the drag-and-drop ordering in admin).
Practically speaking, this means you’d need additional custom coding to change the variation order on the front-end. Another option (depending on whether stock control is needed or not), would be to use product addons which do allow more fine-grain control over display order. For more information on how product addons work, have a look at this guide.
@riaanknoetze Thanks for your reply.
The variation order does work fine, I can control it and it reflects to the front end. My question is to change the default price which shows the minimum which is variant A, I need the price of variant B which is more priced, referring to my previous message.
So, it is about the price only.
Plugin Support
RK a11n
(@riaanknoetze)
Thanks for confirming that – I’m having a hard time figuring out where you’re running into trouble though. Can you share screenshot of how things are configured in the admin area as well as one showing the frontend to showcase what you’re expecting to see?
Can you share a direct link to the product page to take a closer look as well?
@riaanknoetze Thanks again for your reply.
https://ardenhealth.com/product/permea-plus-100-virgin-argan-oil/
There are 2 variants, one priced 22 the other priced 35, what shows below the title of the product is the 22, I want to other price of 100 mm bottle to appear instead which is 35.
I hope this is clear enough.
Thanks,
Plugin Support
RK a11n
(@riaanknoetze)
Ah, thanks for that link – maker perfect sense now 🙂
When testing on my locating testing site, I see the following:
By default, WooCommerce displays the variable product range below the title rather than a specific price for a single variation only.
In most cases where I’ve seen this happen, it’s usually linked to the theme that’s overriding the default product page template. Are you seeing any indications of your theme overriding templates when looking at WooCommerce > Status (Look under the “Templates” section)? Alternatively, are you seeing the same issue when doing a live-preview of a different theme (Can be done under Appearance > Themes)?
Thanks, I am contacting the theme support and see what they reply.
Plugin Support
RK a11n
(@riaanknoetze)
Sounds like a plan – Let us know if there’s anything else we can help with!