• Resolved pharhaan

    (@pharhaan)


    Hi,

    How can I setup a specific donation form to redirect to cart page to allow a donor to adjust the quantity. Or, if there is any way to add quantity field in the form itself so it could calculate the donation?

Viewing 1 replies (of 1 total)
  • Plugin Support Rick Alday

    (@mrdaro)

    Hi @pharhaan,

    GiveWP is not an e-commerce plugin so it lacks features like “add to cart” or even a cart, and “quantity”.

    The easiest way to do that with GiveWP is to create a donation form with multiple donation levels where each level represents a certain “quantity”.

    We don’t have a ticket sale add-on or anything of the sort.

    Every so often, we get requests for a ticket-sale type of donation.

    The biggest hurdle there is the lack of any functionality that increments the amount of a donation based on something like “quantity.” We created a proof of concept code snippet that adds that sort of functionality a few years ago, which you can see here:?https://github.com/impress-org/givewp-snippet-library/blob/master/form-customizations/give-simple-ticket-incrementer.php

    Note that you are looking at a NOT-PRODUCTION-READY PHP snippet there. You’d need to test it thoroughly to ensure it doesn’t break things, and if it does, you’d be on your own to support it but hopefully, it will give you some rails to run on.

Viewing 1 replies (of 1 total)
  • The topic ‘Redirecting to cart page before checkout’ is closed to new replies.