This shortcodes can be used in custom thank you page to show some informations to customize the Thank you Message:
the shortcode will print by default the customer billing name, but you can let it print the customer first name using name=”first_name” as shortcode parameter.
Order Details Shortcodes
|In the plugin options, you can choose whether to show the Order Details Parts or not. You can also show them wherever you want on the Custom Thank You page by using these shortcodes:
(this shortcode do not need values to pass by)
Up-sells Section Shortcode
|The custom Thank-you page can also include an Upsells section. You can manage it from the plugin settings page: in this case, it will show up after the share section. Alternatively, you can disable it in the plugin settings and add it wherever you want using the shortcode
ids: list of products IDs separated by a comma.
Example: this will show 4 products selected through their ID and ordered by ascending title on one row:
[ctpw_show_products ids="10,15,25,64" columns="4" orderby="title" order="ASC"]
Social Box Section Shortcode
|The custom Thank-you page can also include a social section by which the customer can share the product\s purchased. This can be managed from the plugin settings page: in this case, it will show up after the order details section. Alternatively, you can disable it in the plugin settings and add it wherever you want in thank you page using the shortcode
[yith_ctpw_social facebook="yes" twitter="yes" google="yes" pinterest="yes"]
Save As PDF Button Shortcode
|You can also activate the button Save as PDF, so the customer can save the Order Details as Pdf and download it. This button can be activated in Plugin Settings Panel and it will be added in a specific part of the page, or alternatively, you can add it where you need using this shortcode