• Resolved RobinWebber

    (@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!

    https://www.ads-software.com/plugins/woocommerce/

Viewing 6 replies - 1 through 6 (of 6 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…

    Thread Starter RobinWebber

    (@robinwebber)

    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.

    Thread Starter RobinWebber

    (@robinwebber)

    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.

    Thread Starter RobinWebber

    (@robinwebber)

    Hi bowenac,

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

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