Product Page: How can I update the "Variable Price Label"

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  Nic 2 months ago.

Website URL: http://www.taxmine.com/product/cras-neque-metus/
Theme: Colora - Organic Responsive WooCommerce WordPress Theme
Purchase Code: Supplied
Support date: 2018-03-29108 days

  • Author
    Posts
  • #33489

    Kaushik Ghate
    Participant

    If I have 2 variations for the product:

    • 1st variation costs $30
    • 2nd variation costs $60

    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.

    Attachments:
    You must be logged in to view attached files.
  • #33495

    Nic
    Keymaster

    Hi,

    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

    Thanks

  • #33515

    Kaushik Ghate
    Participant
    This reply has been marked as private.
  • #33516

    Nic
    Keymaster

    Hello,

    I just updated for you,

    So, you cant reinstall or update theme.

    Thanks.

  • #33519

    tony b
    Participant

    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

  • #33520

    Nic
    Keymaster

    I updated code in file colora/functions.php, line 177, you can check

  • #33521

    tony b
    Participant

    Ahh I see,

    I have just noticed this is for the Colora theme, can the same be done for the organic theme?

  • #33522

    Nic
    Keymaster

    Yep, you can

  • #33523

    tony b
    Participant

    Hi Nic,

    I have added the code to the functions file, but still see no difference on the site?

  • #33524

    Nic
    Keymaster

    You can follow this screenshot

    http://prntscr.com/guosh9

  • #33525

    tony b
    Participant

    Hi Nic

    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?

  • #33526

    tony b
    Participant

    it would be great if i could get it to show “From £xxx”

  • #33527

    Nic
    Keymaster

    You can edit in line 186 and 192. http://prntscr.com/guouov

  • #33528

    tony b
    Participant

    can you copy the code here so that i can paste?

  • #33529

    Nic
    Keymaster

    I just update in Colora theme you can check again in line 186 and 192

  • #33530

    tony b
    Participant

    Hi Nic,

    I dont have Colora, I have organica.

  • #33531

    Nic
    Keymaster

    Oh, i’m sorry.

    Attachments:
    You must be logged in to view attached files.
  • #33533

    tony b
    Participant

    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” ?

  • #33534

    Nic
    Keymaster

    OK, only delete some code

    Attachments:
    You must be logged in to view attached files.
  • #33536

    tony b
    Participant

    BOOM!

    Thank you so much, i have been messing with this for 3 weeks!

  • #33569

    Nic
    Keymaster

    You have no questions, So this topic is closed.

    If you have another issue, you can create new topic.

    Thanks

The topic ‘Product Page: How can I update the "Variable Price Label"’ is closed to new replies.

Browser our premium, beautiful WooCommerce WordPress themes for your online store