Measurement units conversion for wholeseller customer

I'm using Measurement units conversion based on country in Woocommerce product page answer code

This code shows kilograms for guests too, but only when the guest enters the shipping address when purchasing, how to show kilograms by default without entering the shipping address ? and showing lbs only for user role wholeseller from USA? Thank you in advance.



Read more here: https://stackoverflow.com/questions/64891344/measurement-units-conversion-for-wholeseller-customer

Content Attribution

This content was originally published by Spirit at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: