Home › Forums › WordPress Themes › Product Page: How can I update the "Variable Price Label"
This topic contains 20 replies, has 3 voices, and was last updated by -hostexp 11 months, 2 weeks ago.
Website URL: http://www.taxmine.com/product/cras-neque-metus/Theme: Purchase Code: Please provide correct purchase code
If I have 2 variations for the product:
On the product page, I want to show the price as “$30 to $60” or “From $30”. How can I achieve this?
Currently, the price which is shown at the top is hardcoded to the lower of the two variable prices (in this example, to $30) and does not change as the 2nd variable is selected.
On a separate topic, when I change the number of items (lets say from 1 to 2), the calculated price at the bottom does not update.
Our theme dont have that.
You can follow here https://iconicwp.com/blog/change-price-range-variable-products-woocommerce/.
If it cause the error, you can provide me ftp inf0 + wp login in private reply that i can help you
I just updated for you,
So, you cant reinstall or update theme.
Hi I have the same question/ request.
I have added the code using the editor but saw a “white screen” so removed the code and added again using FTP, still no change though. you already have my FTP and ADMIN
I updated code in file colora/functions.php, line 177, you can check
Ahh I see,
I have just noticed this is for the Colora theme, can the same be done for the organic theme?
Yep, you can
I have added the code to the functions file, but still see no difference on the site?
You can follow this screenshot
Thank you, The code in the screen grab looks very different to the code posted on this page https://iconicwp.com/blog/change-price-range-variable-products-woocommerce/ ?
can you copy the code here?
it would be great if i could get it to show “From £xxx”
You can edit in line 186 and 192. http://prntscr.com/guouov
can you copy the code here so that i can paste?
I just update in Colora theme you can check again in line 186 and 192
I dont have Colora, I have organica.
Oh, i’m sorry.
You are a god! thank you.
One last question… Is is possible to remove the range and just have “FROM: MIN” instead of “FROM: MIN- MAX” ?
OK, only delete some code
Thank you so much, i have been messing with this for 3 weeks!
You have no questions, So this topic is closed.
If you have another issue, you can create new topic.
The topic ‘Product Page: How can I update the "Variable Price Label"’ is closed to new replies.