Block/single Page for the thank you page to add functinality
Permalink Browser Info Environment
It would be very cool if we could display different info on a landing page depending on what product, or class of products was purchased.
For instance, we are selling event tickets and beer glasses, two very different things.
Is it possible to, upon order confirmation/completion, know the contents of the order, that way we could choose a different block to display, etc. on the page, and/or use that for other logic on the site.
Thanks!
For instance, we are selling event tickets and beer glasses, two very different things.
Is it possible to, upon order confirmation/completion, know the contents of the order, that way we could choose a different block to display, etc. on the page, and/or use that for other logic on the site.
Thanks!
Type: | Discussion |
---|---|
Status: | In Progress |
I agree that this would be great to be able to handle, but it really is a big technical challenge to achieve due to the way Snipcart works and how it's really all processed on their end. There's nothing at all data wise available on the complete page that relates to the order that was just put through, concrete5 doesn't even know that that has happened. Any/all information about an order has to come through Snipcart's callback to the site, but that then happens independent of the session that the current user is a part of.
The complementing membership add-on partly handles this, in that it processes a call-back from Snipcart which includes the order details and registers users according to what product/group relationships have been set up. That process _might_ be able to be adjusted to redirect to different pages, but I'll be honest and say it was a complete nightmare to get it working in the first place.
If you were creating user accounts at the same time it would be possible with the add-on right now, as you could place those users in user groups and then use those for block visibility permissions. But for guest customers it would have to be a case of redirecting to a particular page, and that's where I've not got a quick solution sorry.