• Resolved ujora

    (@ujora)


    Hi Maarten (sorry for spelling your name wrong all the time!),

    I just bought the full version of the plugin and I’m more than happy. As you’ve pushed another version recently, I’m seeing that you’re working on the product tirelessly – that’s really awesome.

    I was hoping I might convince you to add another feature: Price adjustment based on variations

    Let’s say I want to sell t-shirts or pizzas – whatever. Let’s say I want to charge the customer an additional 1.25 USD per extra ingredient for every mdium pizza and 2.00 USD for every large pizza. It would make sense to have the pizza as one product with a number of variations in woocommerce instead of using multiple products.

    Now it would be stellar to have the option to have a filter based on variations (e. g. attribute “size”) and then be able to adjust the pricing for that variation. I don’t think that’s possible right now – and as far as I can see you’d be the only one offering that particular feature.

    Let me know what you think ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Wombat Plugins

    (@maartenbelmans)

    Hi @ujora

    Thanks for supporting our work, I really appreciate it! ??

    As for your feature request:

    I agree it would be cool to have that logic on the pricing of an option. The only thing I worry about is that this will over-complicate the settings page. Since it adds a lot of extra options (if the user has many other fields).

    The good news is that this is already possible with the current version. You may have noticed that each field has “conditional logic” to make sure the field only appears in certain cases. So, in the example of your pizza, you can do is this:

    a) make a “size” field with “medium” and “large”.
    b) make a “multi select” field of ingredients. Price the ingredients at $1. In the conditional settings, make sure the field only appears when “medium” is selected.
    c) make another “multi select” field for ingredients. Price the ingredients at $2 and make sure the field only appears when “large” is selected.

    The end result will be what you want :-).

    Thread Starter ujora

    (@ujora)

    Hi Maarten,

    Thanks for the quick reply as always. You shouldn’t be working on a Sunday night though ??

    What you’re saying makes absolute sense. There is a minor (I hope) problem though, I will try to expand on that. As you know, I’m not really selling pizzas but travel tours. They might look like this:

    Trip A (variant 1)
    Time: summer
    1 pax = 359 eur
    2 pax = 249 eur (each) = total of 498 euro
    + additional fees for each person, e. g. transport

    Trip A (variant 2)
    Time: winter
    1 pax = 309 eur
    2 pax = 159 eur (each)
    + additional fees for each person, e. g. transport

    To offer tours like this, conditional logic almost does the job. I can add a field for “time” and add a surcharge for each additional person, the price for the surcharge based on the time of the year. That’s really cool!

    Unfortunately there are two problems with this approach.
    Problem 1: The base price needs to change when I select another time. Theoretically, this could be solved by using a negative flat fee (which isn’t possible right now), but that would raise user questions. I could use WooCommerce variations to do that, but then I would lose my conditionals.
    Problem 2: If I use conditional logic to “add” another person, it doesn’t make sense to ask for a quantity afterwards. However, I need the quantity field to be able to apply additional fees for each person multiple times.

    To solve problem 1 it would be great to be able to use WooCommerce variations for conditionals.

    To solve problem 2 it would be great to be able to not only have a field appear multiple times based on quantity but also based on values of other fields (basically like conditionals).

    I know this probably goes way beyond what the plugin was originally intended to support, but maybe others could profit from these functionalities as well? Or maybe you can see another way of solving those problems within the current logic of the plugin.

    Thank you either way. And don’t reply before Monday ??

    • This reply was modified 5 years, 5 months ago by ujora.
    Plugin Author Wombat Plugins

    (@maartenbelmans)

    As it’s now Monday, here is my reply ??

    I think your first problem can be fixed as follows (but please correct me if I’m wrong):

    In WooCommerce, set the price of your product to the lowest possibility. I think in your example, that’s €309.

    Then, you will never need a “negative flat fee” as the price can only go up.

    Now, it’s just a matter of using the plugin to price your additional fields. When the customer selects “summer”, add a flat fee of €50, which raises the price to €359.

    Does that make sense? And does that fix your first problem?

    As for your 2nd problem:

    The way I understand it, this also seems possible. Add a number field for “how many people are going?”. Set the min amount to 1 and the max to 10 (or however many people your system allows). Enable field pricing and select “value x amount”. This will multiply the value entered in the number field (so the quantity of people that want to go) by the amount you set in the settings. So if each additional person costs €50 extra, you’d add “50” in the “amount” field.

    Then, I would hide the default WooCommerce “quantity” field via CSS because it serves no purpose for your particular product. I can help with that.

    Wouldn’t this solve your 2nd problem?

    Note: these forums are actually meant for the free version of the plugin and WordPress doesn’t like it (rightfully so) when we answer questions about premium features. Would it be okay to reach out via our website (either the live chat or contact form)? Thanks!

    Thread Starter ujora

    (@ujora)

    Will do. Thanks ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Feature Request: Price adjustment by variation’ is closed to new replies.