• Resolved protive

    (@protive)


    I want customers to be able to purchase “training hours”, in increments of ten. I also want them to be able to choose “number of students”, which will change the base hour price. So:

    1 student, 10 hours – $500
    1 student, 20 hours – $1000
    1 student, 30 hours – $1500

    2 students, 10 hours – $800
    2 students, 20 hours – $1600
    2 students, 30 hours – $2400

    What plugin would allow me to do this?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Hannah S.L.

    (@fernashes)

    Automattic Happiness Engineer

    This is a fairly specific case, but I’d tackle this using standard WooCommerce variations. You’d have a variation for the number of students (i.e. 1, 2, 3), and then a variation for the hourly increments (i.e. 10, 20, 30). For each variation combination, you can fill in the price.

    Here’s some more information on getting set up with those variations:
    https://docs.woocommerce.com/document/variable-product/

    Thread Starter protive

    (@protive)

    Hi Hannah, Thanks a lot for your reply!

    The problem I was hoping to achieve was automated calculation of the price using multipliers included in the product attributes. We have 30 student classes, and with 3 multipliers per class (location, number of students, and number of hours) that comes to 30*3*3*3 = 810 variations for which we’ll need to manually fill in prices.

    If there’s any plugin out there which would allow us to do this automatically it would save a lot of time.

    • This reply was modified 6 years, 6 months ago by protive.
    Plugin Support Hannah S.L.

    (@fernashes)

    Automattic Happiness Engineer

    Thanks for the extra information! That is indeed a lot of multiplers.

    WooCommerce doesn’t have options to calculate the price from that many variables. You could handle it by making the variations in a CSV file and then importing to update the products on the site:
    https://github.com/woocommerce/woocommerce/wiki/Product-CSV-Importer-&-Exporter

    Otherwise, I don’t know of a plugin that can handle this level of complexity. You could always handle it via customization, though – in that case, I highly recommend contacting one of the services on our customizations page: https://woocommerce.com/customizations/

    madeincosmos

    (@madeincosmos)

    Automattic Happiness Engineer

    Hi @protive,

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

    Cheers!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Purchase number of hours?’ is closed to new replies.