You are here: / / Thankyou page – Include variations information
Tagged: thankyou page
How can I access the variations information in the thankyou page? Is there a tag I can use?
Not at the moment. The standard thank you page shortcode should show the details with the variations that was purchased.
If you are customizing it using the “asp_stripe_payments_checkout_page_result” filter then you can get all the transaction data and fully customize that output:
The $txn_data array will contain the transaction and item data that you can use.
Thanks for the reply.
Yes. I have created a thank-you page for this product.
If I use the filter hooks to modify thank-you on the standard page — I assume that will be for all products ? — there is no per product setting on that ?
Am I correct?
The filter will pass additional arguments that will have the product ID in there. So in your custom code, you can check that product ID and then override the output only if you want to handle that one. Otherwise, you will just return from that function and it will show the default that comes from our plugin.
You must be logged in to reply to this topic.