Entering Promo code at checkout

I have seen at least one website that allows the customer to enter a promo code at checkout in which then it updates the carts contents with the new pricing for the performances that the promo code applies to. What series of API calls need to be used to achieve this type functionality? Second, I assuming that this can only be done with offers but would loved to know how/if this also can be done with a mode of sale switch especially when there is a performance in the current cart that is not available in the new mode of sale.

Thanks,

Marty

  • Anybody? No thoughts?

     

    Thanks,

    Marty

     

    From: Tessitura Web Forum [mailto:forums-tessitura-web@tessituranetwork.com] On Behalf Of Marty Jones
    Sent: Monday, December 05, 2011 12:52 PM
    To: Martin A. Jones
    Subject: [Tessitura Web Forum] Entering Promo code at checkout

     

    I have seen at least one website that allows the customer to enter a promo code at checkout in which then it updates the carts contents with the new pricing for the performances that the promo code applies to. What series of API calls need to be used to achieve this type functionality? Second, I assuming that this can only be done with offers but would loved to know how/if this also can be done with a mode of sale switch especially when there is a performance in the current cart that is not available in the new mode of sale.

    Thanks,

    Marty




    You were sent this email automatically because you subscribed to the Tessitura Web forum. You may reply to this message to post to the Web forum or visit the site to search, read and post to the forums. In the interest of keeping the forum posts from becoming cluttered, we encourage you to delete previous message text from your reply before sending. Thank you!

  • We're not doing it, and I'm no web programmer, but when I first read your post I guessed it might be done with an editable pricetype/pricemap and using...I'm not sure which method would apply but the sproc is wp_update_price, and then some custom code and possibly executelocalprocedure to reference a local table that ties the promocode to the discount type instead of just an offer/pricetype combination. Maybe?

  • Marty,
    The Science Museum uses promo codes at checkout, but I cannot speak to the technical side of things. We are currently rewriting our online purchasing with a third party: Gorton Studios, so we can better manage offers, and a rather complex structure of pricing and member benefits.

    These promo codes are tied to Price Types, so by extension I guess, Modes of Sale. We are only able to report on these promos through T-Stats, there is no standard Tessitura report that gets granular enough to look at numbers of discounts used. But by using T-Stats in conjunction with Tessitura List Builder we can get all the detail a Marketing Department could ("reasonably") ask for. Again, I can't speak to the API, but set up in the System Tables is about three or four steps.

    Hope this helps.
    Ray


    From: "Marty Jones" <bounce-martyjones7649@tessituranetwork.com>
    To: rbernard@smm.org
    Sent: Tuesday, December 6, 2011 10:07:05 AM
    Subject: RE: [Tessitura Web Forum] Entering Promo code at checkout

    Anybody? No thoughts?

     

    Thanks,

    Marty

     

    From: Tessitura Web Forum [mailto:forums-tessitura-web@tessituranetwork.com] On Behalf Of Marty Jones
    Sent: Monday, December 05, 2011 12:52 PM
    To: Martin A. Jones
    Subject: [Tessitura Web Forum] Entering Promo code at checkout

     

    I have seen at least one website that allows the customer to enter a promo code at checkout in which then it updates the carts contents with the new pricing for the performances that the promo code applies to. What series of API calls need to be used to achieve this type functionality? Second, I assuming that this can only be done with offers but would loved to know how/if this also can be done with a mode of sale switch especially when there is a performance in the current cart that is not available in the new mode of sale.

    Thanks,

    Marty




    You were sent this email automatically because you subscribed to the Tessitura Web forum. You may reply to this message to post to the Web forum or visit the site to search, read and post to the forums. In the interest of keeping the forum posts from becoming cluttered, we encourage you to delete previous message text from your reply before sending. Thank you!




    You were sent this email automatically because you subscribed to the Tessitura Web forum. You may reply to this message to post to the Web forum or visit the site to search, read and post to the forums. In the interest of keeping the forum posts from becoming cluttered, we encourage you to delete previous message text from your reply before sending. Thank you!
  • Hi Marty - we are doing this - however, we use UpdatePriceType to make the actual pricing change once the promo is entered and the appropriate price type is found. At this point, we only use one MOS for single ticket purchases, although we are currently working on leveraging ranking for price discounts and special offers. However, I am planning that the MOS change will occur prior to any items being added to the cart - because (it has been a while since I had to deal with this) - you can't mix items from different MOS' in the cart. So, anything that was reserved in the cart under X MOS would need to be released and re-added with Y MOS if you went that route. (Again, maybe that has changed - i've not had to worry about that issue so I may be out of the loop on that)

     

    Good luck

  • Thanks Nathan, Could you explain your logic a little that once the promo code is entered, how you determine which performances in the cart need to be updated? Do you loop through all of the performances in the cart, fire off a getperformancedetailswithdiscount for each performance and see if the current performance's pricetype can be updated?

     

    Thanks,

     

    From: Tessitura Web Forum [mailto:forums-tessitura-web@tessituranetwork.com] On Behalf Of Nathan Campbell
    Sent: Tuesday, December 06, 2011 11:22 AM
    To: Martin A. Jones
    Subject: Re: [Tessitura Web Forum] Entering Promo code at checkout

     

    Hi Marty - we are doing this - however, we use UpdatePriceType to make the actual pricing change once the promo is entered and the appropriate price type is found. At this point, we only use one MOS for single ticket purchases, although we are currently working on leveraging ranking for price discounts and special offers. However, I am planning that the MOS change will occur prior to any items being added to the cart - because (it has been a while since I had to deal with this) - you can't mix items from different MOS' in the cart. So, anything that was reserved in the cart under X MOS would need to be released and re-added with Y MOS if you went that route. (Again, maybe that has changed - i've not had to worry about that issue so I may be out of the loop on that)

     

    Good luck

    From: Marty Jones <bounce-martyjones7649@tessituranetwork.com>
    Sent: 12/5/2011 12:48:48 PM

    I have seen at least one website that allows the customer to enter a promo code at checkout in which then it updates the carts contents with the new pricing for the performances that the promo code applies to. What series of API calls need to be used to achieve this type functionality? Second, I assuming that this can only be done with offers but would loved to know how/if this also can be done with a mode of sale switch especially when there is a performance in the current cart that is not available in the new mode of sale.

    Thanks,

    Marty




    You were sent this email automatically because you subscribed to the Tessitura Web forum. You may reply to this message to post to the Web forum or visit the site to search, read and post to the forums. In the interest of keeping the forum posts from becoming cluttered, we encourage you to delete previous message text from your reply before sending. Thank you!

  • That's exactly how it works :)