Support » Plugin: WooCommerce » Price depends on gold price

  • Resolved RobinWebber


    Hi there,

    I would like to know if it’s possible to let the price of WooCommerce products depend on something fixed, like the gold price.

    Is it possible to add a field to WooCommerce to add the fixed (gold) price which calculates the price of the products like for example 2.5x the fixed price?

    Hopefully someone can help!

Viewing 7 replies - 1 through 7 (of 7 total)
  • Yes you could create a template override and add a custom feild maybe called Gold… Then where the price is displayed multiply that by the value of the gold field value…

    Hi bowenac,

    Thanks for the quick reply! Could you explain yourself a bit more? How could I create a template override so that the price will be used, also in the following pages?

    You want me to write the code for you? I explained myself perfectly fine. Look up creating template over rides. Or contact me directly and I can help you with this.

    Okay, thank you! I’ll figure it out.

    Did you figure this out? Just wanted to let you know you should be able to do this using filters as well.

    Hi bowenac,

    Yes I think I’ve found it. Thanks for the tip!

    hi can you guys explain me a little more??? I am developing a jewlery website

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Price depends on gold price’ is closed to new replies.