The way the Flex Pass is currently configured (by BACT staff?) may not achieve the desired or expected purchase behavior. We'll need to test some configurations to see what most closely achieves BACT's requirements, most likely based on their user's purchase behaviors. Our goal here is to find a configuration that A.) improves their current system and B.) gives their customers flexibility and C.) doesn't require custom coding that is out of scope for this project.
TO-DO: Finalize configuration of Flex Passes in OpenTickets / WooCommerce, gain BACT acceptance, document here.
(Current BACT staff config) – 2018fp4adult-p9tkl4
Observations: Configured this way, the coupon appears to work "correctly" at first blush. If you put one adult ticket in your cart, the discount code is applied. If you put 4 adult tickets in your cart, it's applied to all 4. If you add another adult ticket (total = 5) then it only applies to 4 of those tickets. However, when used in this way, OT/WC only increases the usage by 1, even though 4 tickets were redeemed.
Observations: Configured this way, the coupon only applies itself to one adult ticket in the cart, no matter how many tickets are in the cart. Our test purchase was for 2 adult tickets and 2 child tickets, entering this coupon code discounted one of the adult tickets only. We also entered (but then removed prior to completing the purchase) an additional coupon code for an adult ticket, which was then applied to the other adult ticket in the cart. Once the transaction was completed, the use count for this coupon code increased by 1, making this a fairly desirable configuration as 1 ticket would equal 1 use. Though this does NOT appear to allow a user to redeem multiple tickets on a single Flex Pass in one transaction, which might be desired.