• Resolved MDC2957

    (@mdc2957)


    Suppose I have a dropdown with two options. One option shouldn’t change the price, and the other option should add a fee. How do I do that with this plugin? Seems like an easy thing but I can’t figure it out? Thank you

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Krzysztof Pi?tkowski

    (@wckalkulator)

    Hi @mdc2957

    Add “Select” field with two options. Option value will be some price amount.
    Set one option value to zero. And just use this field in formula.

    Extra info:

    Option values should be unique, so if you need to have two options with “zeros” it is better to make option values to 0,1,2,3,… and then use global parameter as a array with price amouts. If you will need help just write and I will send you screenshots of example.

    Some help: https://www.youtube.com/watch?v=qFA-4TJ6gvs

    Thread Starter MDC2957

    (@mdc2957)

    I’m having a lot of trouble understanding how to use your plugin. Nothing is making any sense to me. I’ve been using this paid plugin:

    https://codecanyon.net/item/woocommerce-custom-fields/11332742?s_rank=3

    It’s very easy, but it hasn’t been updated in over two years so I’m a little concerned about continuing to use it. I came across your plugin, and I think it does the same thing, but I cannot understand it. Can I just pay you to configure it for me? All I want to do is give a few options to the customer for a particular product. Some options add to the price, and some don’t.

    Plugin Author Krzysztof Pi?tkowski

    (@wckalkulator)

    @mdc2957 Plugin you mentioned is different to mine. You define Fieldset as it is some group of fields. Each Fieldset may have many fields to get user input.
    Each Fieldset has one price calculation formula. This formula can be single-line, conditional or behave like price add-ons.

    Did you watch my video guides: https://www.youtube.com/channel/UCnMHay68CLmOtfRuCqlUuDg/videos ?

    Describe what you need and I will show you how to make it work.

    Thread Starter MDC2957

    (@mdc2957)

    It sounds like the other plugin though. I just want to give the customer options to choose from when buying a product. Some options don’t change the price, and other options do,, such as:

    Feature A
    Option 1
    Option 2 +$99

    Feature B
    Option 1
    Option 2

    Feature C
    Option 1
    Option 2 +$100

    I could do this with attributes and variations, but it’s a lot of work, and it’s not really necessary to do so.

    Plugin Author Krzysztof Pi?tkowski

    (@wckalkulator)

    @mdc2957 sorry for late reply, but I was in hospital.
    Here is explanation https://imgur.com/a/96N9Jvb

    Steps:
    1. Assign fieldset to the product/category
    1. Add “Select” field (screenshot 1)
    2. Add “Dropdown” field (screenshot 2)
    3. Add “Select” field (screenshot 3)
    4. Write formula (screenshot 4)
    5. Save

    Thread Starter MDC2957

    (@mdc2957)

    Hospital?? Oh no, I hope you’re ok!!
    Thank you for the explanation and screenshots, I will give it a try ??

    Thread Starter MDC2957

    (@mdc2957)

    Just want to say thank you; your instructions worked nicely!!
    One thing I want to let you know – The radio button for the Default option does not seem to save visibly. In other words, when you go back to edit the fieldset, the radio button for the default setting disappears. But the correct defaults are selected on the front end. Just a minor thing really.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘How to assign a price to an option?’ is closed to new replies.