• Resolved nicdimmock

    (@nicdimmock)


    Hi There. I’ve been using your plugin for a year or more now, and it just keeps getting better!. Thanks very much.

    I’ve been asked to work on a project that uses your fields slightly differently and wondered if it is possible. I have a school disco event product with 300 tickets available. I want to use two <select> controls: Adult tickets required and child tickets required.. When the user adds to basket I would like the product qty being purchased to adjust to adult tickets + Child tickets so the correct inventory is maintained..

    Does that make sense? Can you think of a way? I can do it with some custom javascript but wanted to see if I can do it cleaner with your plugin.
    Thanks!.
    Nic,

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor sarkparanjothi

    (@sarkparanjothi)

    Hi you given url saying This page isn’t working
    So please check your website and then let me know

    Thread Starter nicdimmock

    (@nicdimmock)

    Hi @sarkparanjothi
    Since the 3 weeks I posted this question I decided to perform the development myself.
    To solve the issue I wrote my own plugin that uses some jQuery to react when the dropdown boxes I mentioned were changed. This then extracts the ticket count and changes the woo commerce qty textbox. The qty textbox is also set to readonly so the user can only change the quantity by using the dropdowns. It’s quite effective and my additional javascript doesn’t interfere with your client side validation code, which is a bonus.

    If your plugin is still under development it might be an area you may wish to expand into.

    Thanks
    Nic.

    Plugin Contributor sarkparanjothi

    (@sarkparanjothi)

    hi @nicdimmock,
    Best of luck for your development.

    Please check one think.
    Update wc-fields-factory version 3.1.0

    You can enable fields cloning there and also fields rule in product field.

    Using both you can do it.
    Thanks.!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Update product Qty when using drop down’ is closed to new replies.