• Resolved aliaksu

    (@aliaksu)


    Can I create the price of the variation I added for the product based on the main price of the product?
    For example, the prime price of product x is 100$.
    variation name: 500g
    variation prefix:*
    variation value:0.5
    When I do this, the customer will see 50$ when they select the 500g variant of product x.
    If I provide this
    When I update the kg price of the products, I will not bother to update the variations. Thanks in advance for your solutions and suggestions for this.

    • This topic was modified 1 year, 8 months ago by aliaksu.
    • This topic was modified 1 year, 8 months ago by aliaksu.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello,

    If I understand correctly, you’d like a variation to add the additional $50 to the main product price ($100), and also customers to be able to see the additional price ($50). If that’s the case, I’d suggest looking into a product add-on plugin like below:

    https://woocommerce.com/products/product-add-ons/
    https://wordpress.org/plugins/woo-custom-product-addons/

    If this is not what you are referring to, can you please explain how you want to sell products in more detail. If there is an example website, you can share the link in your reply too.

    Thread Starter aliaksu

    (@aliaksu)

    I want the variations to produce the net result by multiplying the price by the main price.
    So here is an example;
    Carrot
    main price:$50
    product variation prefix:*(multiple)
    and I will only determine how many times this variation will be multiplied by the main price. For example, I will set 0.5 for the variation named 500g. Thus, the price of the variations will be determined by multiplication.

    Hi @aliaksu!

    What you describe isn’t possible to achieve with WooCommerce core options; you would need a plugin or custom coding.

    This formula you want to create could be achievable with an extension like:

    * Price by Formula Calculator for WooCommerce (Check the demo here)
    * Measurement Price Calculator. (Check the demo here)

    With these plugins, you can create multiple product options and apply a custom formula to them to calculate the total price of any product.

    You can try the demos to see how they work. If one of these plugins gets your attention, you can try it and see if it fits you; we have a 30-day money-back guarantee if you are unhappy with the outcome. Check our Refund Policy here.

    I hope this helps.

    Cheers!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How can the variation price depend on the main price of the product?’ is closed to new replies.