{"id":161,"date":"2017-05-12T12:01:57","date_gmt":"2017-05-12T12:01:57","guid":{"rendered":"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/?p=161"},"modified":"2024-05-03T12:35:28","modified_gmt":"2024-05-03T12:35:28","slug":"shortcodes","status":"publish","type":"post","link":"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/plugin-settings\/shortcodes\/","title":{"rendered":"Shortcodes"},"content":{"rendered":"\n<p><span style=\"font-weight: 400;\">Thanks to the shortcodes available in the plugin, you will be able to customize your Thank you pages in all its parts, and also change the default arrangement of the four sections it is made of:<\/span><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a class=\"anchor\" href=\"#order-details\">order details<\/a><\/li>\n\n\n\n<li><a class=\"anchor\" href=\"#customer-info\">customer info<\/a><\/li>\n\n\n\n<li><a class=\"anchor\" href=\"#pdf\">PDF<\/a><\/li>\n\n\n\n<li><a class=\"anchor\" href=\"#upsells\">upsells<\/a><\/li>\n\n\n\n<li><a class=\"anchor\" href=\"#coupon\">coupon<\/a><\/li>\n\n\n\n<li><a class=\"anchor\" href=\"#social-box\">social box<\/a><\/li>\n\n\n\n<li><a href=\"#order-total\">order total<\/a><\/li>\n\n\n\n<li><a href=\"#order-date\">order date<\/a><\/li>\n\n\n\n<li><a href=\"#payment-method\">payment method<\/a><\/li>\n<\/ul>\n\n\n\n<p>You can build your Thank You pages using the following shortcodes and sort the available sections in the order you prefer.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"order-details\">Order details<\/h4>\n\n\n\n<p><span style=\"font-weight: 400;\">These are the shortcodes you can use to show order info:&nbsp;<\/span><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><em>[yith_orderreview_header]<\/em>: this prints the main details of the order that has just been placed;<\/li>\n\n\n\n<li><em><code>[yith_orderreview_table]<\/code><\/em>: this prints the product table;<\/li>\n\n\n\n<li><em><code>[yith_ctpw_order_number]<\/code>:<\/em> this prints the order number.<\/li>\n<\/ul>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><a href=\"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/wp-content\/uploads\/sites\/240\/2017\/05\/order-details-shortcode-1.jpg\" data-rel=\"lightbox-image-0\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" width=\"886\" height=\"500\" src=\"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/wp-content\/uploads\/sites\/240\/2017\/05\/order-details-shortcode-1.jpg\" alt=\"Order details shortcode\" class=\"wp-image-605\" srcset=\"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/wp-content\/uploads\/sites\/240\/2017\/05\/order-details-shortcode-1.jpg 886w, https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/wp-content\/uploads\/sites\/240\/2017\/05\/order-details-shortcode-1-300x169.jpg 300w, https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/wp-content\/uploads\/sites\/240\/2017\/05\/order-details-shortcode-1-768x433.jpg 768w\" sizes=\"auto, (max-width: 886px) 100vw, 886px\" \/><\/a><\/figure><\/div>\n\n\n<p><span style=\"font-weight: 400;\">The parameters for the shortcode <strong><em><code>[yith_orderreview_header]<\/code><\/em><\/strong> are:<\/span><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><b>&#8216;style&#8217;: <\/b><span style=\"font-weight: 400;\">compact (single line) or multiline;<\/span><\/li>\n\n\n\n<li><b>&#8216;text_align&#8217;:<\/b><span style=\"font-weight: 400;\"> text alignment (left, center or right);<\/span><\/li>\n\n\n\n<li><b>&#8216;show_message&#8217;:<\/b><span style=\"font-weight: 400;\"> yes\/no.<\/span><\/li>\n<\/ul>\n\n\n\n<div class=\"alert alert-info\"><b><i>Example<\/i><\/b><i><span style=\"font-weight: 400;\">:<\/span><\/i> <i><span style=\"font-weight: 400;\">[yith_orderreview_header style=&#8221;multiline&#8221; text_align=&#8221;center&#8221; show_message=&#8221;yes&#8221;]<\/span><\/i><\/div>\n\n\n\n<p><span style=\"font-weight: 400;\">The parameters for the shortcode <strong><code><em>[yith_orderreview_table]<\/em><\/code><\/strong> are:<\/span><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><b>&#8216;text_align&#8217;:<\/b><span style=\"font-weight: 400;\"> text alignment (left, center, right or justified);<\/span><\/li>\n\n\n\n<li><b>&#8216;show_title&#8217;: <\/b><span style=\"font-weight: 400;\">show the title (yes or no);<\/span><\/li>\n\n\n\n<li><b>&#8216;show_thumb&#8217;:<\/b><span style=\"font-weight: 400;\"> show thumbnails (yes or no);<\/span><\/li>\n\n\n\n<li><b>&#8216;title_color&#8217;:<\/b><span style=\"font-weight: 400;\"> the color of the title;<\/span><\/li>\n\n\n\n<li><b>&#8216;accent_color&#8217;: <\/b><span style=\"font-weight: 400;\">&nbsp;the accent color.<\/span><\/li>\n<\/ul>\n\n\n\n<div class=\"alert alert-info\"><b><i>Example<\/i><\/b><i><span style=\"font-weight: 400;\">: [yith_orderreview_table text_align=&#8221;justified show_title=&#8221;yes&#8221; show_thumb=&#8221;yes&#8221; title_color=#01AF8D accent_color=#5DD9933<\/span><\/i><span style=\"font-weight: 400;\">]<\/span><\/div>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"customer-info\">Customer info<\/h4>\n\n\n\n<p><span style=\"font-weight: 400;\">These are the shortcodes you can use to show customer info:<\/span><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><em><code>[yith_orderreview_customer_details]:<\/code><\/em> this prints the customer&#8217;s details;<\/li>\n\n\n\n<li><em><code>[yith_ctpw_customer_email]:<\/code> <\/em>this prints the customer&#8217;s email;<\/li>\n\n\n\n<li><em><code>[yith_ctpw_customer_name]:<\/code> <\/em>this prints the customer&#8217;s name.<\/li>\n<\/ul>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><a href=\"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/wp-content\/uploads\/sites\/240\/2017\/05\/customer-info-shortcode.jpg\" data-rel=\"lightbox-image-1\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" width=\"464\" height=\"199\" src=\"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/wp-content\/uploads\/sites\/240\/2017\/05\/customer-info-shortcode.jpg\" alt=\"Customer details shortcode\" class=\"wp-image-606\" srcset=\"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/wp-content\/uploads\/sites\/240\/2017\/05\/customer-info-shortcode.jpg 464w, https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/wp-content\/uploads\/sites\/240\/2017\/05\/customer-info-shortcode-300x129.jpg 300w\" sizes=\"auto, (max-width: 464px) 100vw, 464px\" \/><\/a><\/figure><\/div>\n\n\n<p><span style=\"font-weight: 400;\">The parameters for the shortcode<em>&nbsp;<\/em><code><em><strong>[yith_orderreview_customer_details]<\/strong><\/em> <\/code>are:<\/span><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>&#8216;text_align&#8217;:<\/strong> <span style=\"font-weight: 400;\">text alignment (left, center, right);<\/span><\/li>\n\n\n\n<li><strong>&#8216;show_title&#8217;:<\/strong> <span style=\"font-weight: 400;\">show the title (yes or no);<\/span><\/li>\n\n\n\n<li><strong>&#8216;title_color&#8217;:<\/strong> <span style=\"font-weight: 400;\">the color of the title;<\/span><\/li>\n\n\n\n<li><strong>&#8216;layout&#8217;:&nbsp;<\/strong>the shipping and billing info layout (compact or traditional).<\/li>\n<\/ul>\n\n\n\n<p>The <span style=\"font-weight: 400;\">parameter for the shortcode <em><strong><code>[yith_ctpw_customer_name]<\/code><\/strong> is:<\/em><\/span><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>&#8216;name&#8217;<\/strong>: customer&#8217;s billing first name.<\/li>\n<\/ul>\n\n\n\n<div class=\"alert alert-info\"><b><i><em><strong>Example:&nbsp;<\/strong><\/em><\/i><\/b><i><em>[yith_orderreview_customer_details show_title=&#8221;yes&#8221; text_align=&#8221;left&#8221; title_color<\/em><\/i><b><i><em>=<span style=\"font-weight: 400;\">=#01AF8D layout=&#8221;traditional&#8221;<\/span>]<\/em><\/i><\/b><\/div>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"pdf\">PDF<\/h4>\n\n\n\n<p><span style=\"font-weight: 400;\">The shortcode <\/span><i><code><span style=\"font-weight: 400;\">[yith_ctpw_pdf_button]<\/span><\/code><\/i><span style=\"font-weight: 400;\"><code> <\/code>prints the button to let customers download the order summary as a PDF file.<\/span><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><a href=\"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/wp-content\/uploads\/sites\/240\/2017\/05\/pdf-button-shortcode.jpg\" data-rel=\"lightbox-image-2\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" width=\"301\" height=\"243\" src=\"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/wp-content\/uploads\/sites\/240\/2017\/05\/pdf-button-shortcode.jpg\" alt=\"PDF button shortcode\" class=\"wp-image-603\"\/><\/a><\/figure><\/div>\n\n\n<p><span style=\"font-weight: 400;\">The parameters for this shortcode are:<\/span><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>&#8216;title&#8217;:&nbsp;<\/strong>text of the button;<\/li>\n\n\n\n<li><strong>&#8216;bkg_color_hover&#8217;:&nbsp;<\/strong>background color on hover;<\/li>\n\n\n\n<li><strong>&#8216;bkg_color&#8217;:&nbsp;<\/strong>background color;<\/li>\n\n\n\n<li><strong>&#8216;text_color&#8217;:&nbsp;<\/strong>text color;<\/li>\n\n\n\n<li><strong>&#8216;text_color_hover&#8217;:&nbsp;<\/strong>text color on hover;<\/li>\n\n\n\n<li><strong>&#8216;border_radius&#8217;:<\/strong> border radius of the button.<\/li>\n<\/ul>\n\n\n\n<div class=\"alert alert-info\"><b><i><strong>Example: <\/strong><\/i><\/b><i>[yith_ctpw_pdf_button &#8220;title&#8221; bkg_color_hover=&#8221;#5DD9933&#8243; bkg_color=&#8221;#5DD9933&#8243; text_color=&#8221;#2FFFFFF&#8221; text_color= &#8220;#2FFFFFF&#8221; border_radius=&#8221;30&#8243;]<\/i><\/div>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"upsells\">Upsells<\/h4>\n\n\n\n<p><span style=\"font-weight: 400;\">To show an <\/span><i><span style=\"font-weight: 400;\">Upsells<\/span><\/i><span style=\"font-weight: 400;\"> section, you can use the shortcode <\/span><i><code><span style=\"font-weight: 400;\">[ctpw_show_products]<\/span><\/code><\/i><span style=\"font-weight: 400;\"><code>.<\/code><\/span><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><a href=\"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/wp-content\/uploads\/sites\/240\/2023\/06\/43.upsells-printed-shortcode.jpg\" data-rel=\"lightbox-image-3\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" width=\"1730\" height=\"636\" src=\"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/wp-content\/uploads\/sites\/240\/2023\/06\/43.upsells-printed-shortcode.jpg\" alt=\"\" class=\"wp-image-776\" srcset=\"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/wp-content\/uploads\/sites\/240\/2023\/06\/43.upsells-printed-shortcode.jpg 1730w, https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/wp-content\/uploads\/sites\/240\/2023\/06\/43.upsells-printed-shortcode-300x110.jpg 300w, https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/wp-content\/uploads\/sites\/240\/2023\/06\/43.upsells-printed-shortcode-1024x376.jpg 1024w, https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/wp-content\/uploads\/sites\/240\/2023\/06\/43.upsells-printed-shortcode-768x282.jpg 768w, https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/wp-content\/uploads\/sites\/240\/2023\/06\/43.upsells-printed-shortcode-1536x565.jpg 1536w\" sizes=\"auto, (max-width: 1730px) 100vw, 1730px\" \/><\/a><\/figure><\/div>\n\n\n<p><span style=\"font-weight: 400;\">The parameters for this shortcode are:<\/span><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><b>&#8216;columns&#8217;:<\/b><span style=\"font-weight: 400;\"> number of columns;<\/span><\/li>\n\n\n\n<li><b>&#8216;products_per_page&#8217;: <\/b><span style=\"font-weight: 400;\">number of products per page;<\/span><\/li>\n\n\n\n<li><b>&#8216;orderby&#8217;:<\/b><span style=\"font-weight: 400;\"> order products by name, date or random;<\/span><\/li>\n\n\n\n<li><b>&#8216;order&#8217;:<\/b><span style=\"font-weight: 400;\"> ascending or descending;<\/span><\/li>\n\n\n\n<li><b>&#8216;ids&#8217;: <\/b><span style=\"font-weight: 400;\">product IDs, comma separated;&nbsp;<\/span><\/li>\n\n\n\n<li><b>&#8216;title_align&#8217;:<\/b><span style=\"font-weight: 400;\"> title alignment get_option( left, center or right);<\/span><\/li>\n\n\n\n<li><b>&#8216;show_title&#8217;: <\/b><span style=\"font-weight: 400;\">show the title (yes\/no);<\/span><\/li>\n\n\n\n<li><b>&#8216;title_color&#8217;:<\/b><span style=\"font-weight: 400;\"> the color of the title;<\/span><\/li>\n\n\n\n<li><b>&#8216;type&#8217;: <\/b><span style=\"font-weight: 400;\">&nbsp;type of products (best sellers, related, featured, or custom).<\/span><\/li>\n<\/ul>\n\n\n\n<div class=\"alert alert-info\"><b><i><b><i>Example: <\/i><\/b><i><span style=\"font-weight: 400;\">[ctpw_show_products type=&#8221;custom&#8221; ids=&#8221;19,30,40,190&#8243; products_per_page=&#8221;4&#8243; columns=&#8221;4&#8243; orderby=&#8221;name&#8221; order=&#8221;asc&#8221;]<\/span><\/i><\/i><\/b><\/div>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"coupon\">Coupon<\/h4>\n\n\n\n<p><span style=\"font-weight: 400;\">To show a <i>coupon box<\/i> to offer customers a discount on their next orders, you can use the shortcode <code><em>[yctpw_coupon_box]<\/em>.<\/code><\/span><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><a href=\"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/wp-content\/uploads\/sites\/240\/2017\/05\/coupon-shortcode-2.jpg\" data-rel=\"lightbox-image-4\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" width=\"905\" height=\"204\" src=\"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/wp-content\/uploads\/sites\/240\/2017\/05\/coupon-shortcode-2.jpg\" alt=\"Coupon box shortcode\" class=\"wp-image-615\" srcset=\"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/wp-content\/uploads\/sites\/240\/2017\/05\/coupon-shortcode-2.jpg 905w, https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/wp-content\/uploads\/sites\/240\/2017\/05\/coupon-shortcode-2-300x68.jpg 300w, https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/wp-content\/uploads\/sites\/240\/2017\/05\/coupon-shortcode-2-768x173.jpg 768w\" sizes=\"auto, (max-width: 905px) 100vw, 905px\" \/><\/a><\/figure><\/div>\n\n\n<p><span style=\"font-weight: 400;\">The parameters for this shortcode are:<\/span><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>&#8216;title&#8217;:&nbsp;&nbsp;<\/strong>title of the coupon section;<\/li>\n\n\n\n<li><strong>&#8216;code&#8217;:&nbsp;<\/strong>the coupon code that will grant the discount;<\/li>\n\n\n\n<li><strong>&#8216;title_color&#8217;:&nbsp;<\/strong>color of the title;<\/li>\n\n\n\n<li><strong>&#8216;title_font_weight&#8217;: <\/strong>weight of the title font;<\/li>\n\n\n\n<li><strong>&#8216;title_font_size&#8217;:&nbsp;<\/strong>size of the title font.<\/li>\n<\/ul>\n\n\n\n<div class=\"alert alert-info\"><b><i><em><strong>Example:<\/strong><\/em><\/i><\/b><i><em>[yith_coupon_box code=&#8221;15DISCOUNT&#8221; title=&#8221;Enjoy 15% off your next order with the code:&#8221;]<\/em><\/i><\/div>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"social-box\">Social box<\/h4>\n\n\n\n<p><span style=\"font-weight: 400;\">To show a <i>social <\/i>section through which customers can share the purchased products, you can use the shortcode <code><em>[yith_ctpw_social]<\/em>.<\/code><\/span><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><a href=\"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/wp-content\/uploads\/sites\/240\/2017\/05\/social-shortcode.jpg\" data-rel=\"lightbox-image-5\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" width=\"945\" height=\"427\" src=\"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/wp-content\/uploads\/sites\/240\/2017\/05\/social-shortcode.jpg\" alt=\"Social box shortcode\" class=\"wp-image-614\" srcset=\"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/wp-content\/uploads\/sites\/240\/2017\/05\/social-shortcode.jpg 945w, https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/wp-content\/uploads\/sites\/240\/2017\/05\/social-shortcode-300x136.jpg 300w, https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/wp-content\/uploads\/sites\/240\/2017\/05\/social-shortcode-768x347.jpg 768w\" sizes=\"auto, (max-width: 945px) 100vw, 945px\" \/><\/a><\/figure><\/div>\n\n\n<p><span style=\"font-weight: 400;\">The parameters for this shortcode are:<\/span><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>&#8216;facebook&#8217;:<\/strong> yes\/no;<\/li>\n\n\n\n<li><strong>&#8216;twitter&#8217;:<\/strong> yes\/no;<\/li>\n\n\n\n<li><strong>&#8216;pinterest&#8217;:<\/strong> yes\/no;<\/li>\n\n\n\n<li><strong>&#8216;whatsapp&#8217;:<\/strong> yes\/no;<\/li>\n\n\n\n<li><strong>&#8216;order_id&#8217;:<\/strong> ID of the order;<\/li>\n\n\n\n<li><strong>&#8216;title&#8217;:<\/strong> title of the section;<\/li>\n\n\n\n<li><strong>&#8216;title_align&#8217;:<\/strong> title alignment (left, center, right);<\/li>\n\n\n\n<li><strong>&#8216;show_title&#8217;:<\/strong> yes\/no;<\/li>\n\n\n\n<li><strong>&#8216;title_color&#8217;: <\/strong>the color of the title<\/li>\n\n\n\n<li><strong>&#8216;accent_color&#8217;:<\/strong> accent color;<\/li>\n\n\n\n<li><strong>&#8216;button_color_bkg&#8217;:&nbsp;<\/strong>background color of the button;<\/li>\n\n\n\n<li><strong>&#8216;button_color_bkg_hover&#8217;:<\/strong> background color of the button on hover;<\/li>\n\n\n\n<li><strong>&#8216;button_text_color&#8217;:<\/strong> text color of the button;<\/li>\n\n\n\n<li><strong>&#8216;button_text_color_hover&#8217;: <\/strong>text color of the button on hover;<\/li>\n\n\n\n<li><strong>&#8216;button_radius&#8217;:<\/strong> border radius.<\/li>\n<\/ul>\n\n\n\n<div class=\"alert alert-info\"><em><strong>Example:<\/strong> [yith_ctpw_social facebook=&#8221;yes&#8221; twitter=&#8221;yes&#8221; pinterest=&#8221;yes&#8221; whatsapp=&#8221;yes&#8221;]<\/em><\/div>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"order-total\">Order total<\/h4>\n\n\n\n<p><span style=\"font-weight: 400;\">This is the shortcode you can use to show the total of the order: <span style=\"font-weight: 400;\"><code><em>[yith_ctpw_order<span style=\"font-weight: 400;\"><span style=\"font-weight: 400;\"><code><em>_<\/em><\/code><\/span><\/span><\/em><\/code><\/span><\/span><em>tot<\/em><span style=\"font-weight: 400;\"><span style=\"font-weight: 400;\"><code><em>al]<\/em><\/code><\/span><\/span>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/wp-content\/uploads\/sites\/240\/2017\/05\/order-total.jpg\" data-rel=\"lightbox-image-6\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" width=\"1286\" height=\"988\" src=\"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/wp-content\/uploads\/sites\/240\/2017\/05\/order-total.jpg\" alt=\"Order total shortcode\" class=\"wp-image-956\" srcset=\"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/wp-content\/uploads\/sites\/240\/2017\/05\/order-total.jpg 1286w, https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/wp-content\/uploads\/sites\/240\/2017\/05\/order-total-300x230.jpg 300w, https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/wp-content\/uploads\/sites\/240\/2017\/05\/order-total-1024x787.jpg 1024w, https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/wp-content\/uploads\/sites\/240\/2017\/05\/order-total-768x590.jpg 768w\" sizes=\"auto, (max-width: 1286px) 100vw, 1286px\" \/><\/a><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"order-date\">Order date<\/h4>\n\n\n\n<p>This is the shortcode you can use to show the order date: <em>[yith_ctpw_order_date]<\/em>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/wp-content\/uploads\/sites\/240\/2017\/05\/order-date-1.jpg\" data-rel=\"lightbox-image-7\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" width=\"1254\" height=\"766\" src=\"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/wp-content\/uploads\/sites\/240\/2017\/05\/order-date-1.jpg\" alt=\"Order date shortcode\" class=\"wp-image-983\" srcset=\"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/wp-content\/uploads\/sites\/240\/2017\/05\/order-date-1.jpg 1254w, https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/wp-content\/uploads\/sites\/240\/2017\/05\/order-date-1-300x183.jpg 300w, https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/wp-content\/uploads\/sites\/240\/2017\/05\/order-date-1-1024x626.jpg 1024w, https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/wp-content\/uploads\/sites\/240\/2017\/05\/order-date-1-768x469.jpg 768w\" sizes=\"auto, (max-width: 1254px) 100vw, 1254px\" \/><\/a><\/figure>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"payment-method\">Payment method<\/h4>\n\n\n\n<p>This is the shortcode you can use to show the payment method used to pay for the order:<em> [yith_ctpw_order_payment_method]<\/em><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/wp-content\/uploads\/sites\/240\/2017\/05\/payment-method.jpg\" data-rel=\"lightbox-image-8\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" width=\"1340\" height=\"764\" src=\"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/wp-content\/uploads\/sites\/240\/2017\/05\/payment-method.jpg\" alt=\"Payment method shortcode\" class=\"wp-image-984\" srcset=\"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/wp-content\/uploads\/sites\/240\/2017\/05\/payment-method.jpg 1340w, https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/wp-content\/uploads\/sites\/240\/2017\/05\/payment-method-300x171.jpg 300w, https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/wp-content\/uploads\/sites\/240\/2017\/05\/payment-method-1024x584.jpg 1024w, https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/wp-content\/uploads\/sites\/240\/2017\/05\/payment-method-768x438.jpg 768w\" sizes=\"auto, (max-width: 1340px) 100vw, 1340px\" \/><\/a><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Thanks to the shortcodes available in the plugin, you will be able to customize your Thank you pages in all its parts, and also change the default arrangement of the four sections it is made of: You can build your Thank You pages using the following shortcodes and sort the available sections in the order &hellip; <a href=\"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/plugin-settings\/shortcodes\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Shortcodes<\/span><\/a><\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"class_list":["post-161","post","type-post","status-publish","format-standard","hentry","category-plugin-settings"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.8.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>YITH Custom Thank You Page: Shortcodes<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/plugin-settings\/shortcodes\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"YITH Custom Thank You Page: Shortcodes\" \/>\n<meta property=\"og:description\" content=\"Thanks to the shortcodes available in the plugin, you will be able to customize your Thank you pages in all its parts, and also change the default arrangement of the four sections it is made of: You can build your Thank You pages using the following shortcodes and sort the available sections in the order &hellip; Continue reading Shortcodes\" \/>\n<meta property=\"og:url\" content=\"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/plugin-settings\/shortcodes\/\" \/>\n<meta property=\"og:site_name\" content=\"YITH Custom Thank You Page for WooCommerce\" \/>\n<meta property=\"article:published_time\" content=\"2017-05-12T12:01:57+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-05-03T12:35:28+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/wp-content\/uploads\/sites\/240\/2017\/05\/order-details-shortcode-1.jpg\" \/>\n<meta name=\"author\" content=\"Alessio Torrisi\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Alessio Torrisi\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/plugin-settings\/shortcodes\/\",\"url\":\"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/plugin-settings\/shortcodes\/\",\"name\":\"YITH Custom Thank You Page: Shortcodes\",\"isPartOf\":{\"@id\":\"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/plugin-settings\/shortcodes\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/plugin-settings\/shortcodes\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/wp-content\/uploads\/sites\/240\/2017\/05\/order-details-shortcode-1.jpg\",\"datePublished\":\"2017-05-12T12:01:57+00:00\",\"dateModified\":\"2024-05-03T12:35:28+00:00\",\"author\":{\"@id\":\"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/#\/schema\/person\/cb8b9dbb75e34f325cc8329424e6a6c5\"},\"breadcrumb\":{\"@id\":\"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/plugin-settings\/shortcodes\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/plugin-settings\/shortcodes\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/plugin-settings\/shortcodes\/#primaryimage\",\"url\":\"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/wp-content\/uploads\/sites\/240\/2017\/05\/order-details-shortcode-1.jpg\",\"contentUrl\":\"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/wp-content\/uploads\/sites\/240\/2017\/05\/order-details-shortcode-1.jpg\",\"width\":886,\"height\":500,\"caption\":\"Order details shortcode\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/plugin-settings\/shortcodes\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Shortcodes\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/#website\",\"url\":\"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/\",\"name\":\"YITH Custom Thank You Page for WooCommerce\",\"description\":\"Plugin documentation\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/#\/schema\/person\/cb8b9dbb75e34f325cc8329424e6a6c5\",\"name\":\"Alessio Torrisi\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/1dc305ade0adaba279202977d3352276?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/1dc305ade0adaba279202977d3352276?s=96&d=mm&r=g\",\"caption\":\"Alessio Torrisi\"},\"url\":\"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/author\/alessio\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"YITH Custom Thank You Page: Shortcodes","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/plugin-settings\/shortcodes\/","og_locale":"en_US","og_type":"article","og_title":"YITH Custom Thank You Page: Shortcodes","og_description":"Thanks to the shortcodes available in the plugin, you will be able to customize your Thank you pages in all its parts, and also change the default arrangement of the four sections it is made of: You can build your Thank You pages using the following shortcodes and sort the available sections in the order &hellip; Continue reading Shortcodes","og_url":"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/plugin-settings\/shortcodes\/","og_site_name":"YITH Custom Thank You Page for WooCommerce","article_published_time":"2017-05-12T12:01:57+00:00","article_modified_time":"2024-05-03T12:35:28+00:00","og_image":[{"url":"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/wp-content\/uploads\/sites\/240\/2017\/05\/order-details-shortcode-1.jpg","type":"","width":"","height":""}],"author":"Alessio Torrisi","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Alessio Torrisi","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/plugin-settings\/shortcodes\/","url":"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/plugin-settings\/shortcodes\/","name":"YITH Custom Thank You Page: Shortcodes","isPartOf":{"@id":"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/#website"},"primaryImageOfPage":{"@id":"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/plugin-settings\/shortcodes\/#primaryimage"},"image":{"@id":"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/plugin-settings\/shortcodes\/#primaryimage"},"thumbnailUrl":"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/wp-content\/uploads\/sites\/240\/2017\/05\/order-details-shortcode-1.jpg","datePublished":"2017-05-12T12:01:57+00:00","dateModified":"2024-05-03T12:35:28+00:00","author":{"@id":"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/#\/schema\/person\/cb8b9dbb75e34f325cc8329424e6a6c5"},"breadcrumb":{"@id":"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/plugin-settings\/shortcodes\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/plugin-settings\/shortcodes\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/plugin-settings\/shortcodes\/#primaryimage","url":"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/wp-content\/uploads\/sites\/240\/2017\/05\/order-details-shortcode-1.jpg","contentUrl":"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/wp-content\/uploads\/sites\/240\/2017\/05\/order-details-shortcode-1.jpg","width":886,"height":500,"caption":"Order details shortcode"},{"@type":"BreadcrumbList","@id":"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/plugin-settings\/shortcodes\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/"},{"@type":"ListItem","position":2,"name":"Shortcodes"}]},{"@type":"WebSite","@id":"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/#website","url":"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/","name":"YITH Custom Thank You Page for WooCommerce","description":"Plugin documentation","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/#\/schema\/person\/cb8b9dbb75e34f325cc8329424e6a6c5","name":"Alessio Torrisi","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/1dc305ade0adaba279202977d3352276?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/1dc305ade0adaba279202977d3352276?s=96&d=mm&r=g","caption":"Alessio Torrisi"},"url":"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/author\/alessio\/"}]}},"_links":{"self":[{"href":"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/wp-json\/wp\/v2\/posts\/161","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/wp-json\/wp\/v2\/comments?post=161"}],"version-history":[{"count":49,"href":"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/wp-json\/wp\/v2\/posts\/161\/revisions"}],"predecessor-version":[{"id":985,"href":"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/wp-json\/wp\/v2\/posts\/161\/revisions\/985"}],"wp:attachment":[{"href":"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/wp-json\/wp\/v2\/media?parent=161"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/wp-json\/wp\/v2\/categories?post=161"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.yithemes.com\/yith-custom-thank-you-page-for-woocommerce\/wp-json\/wp\/v2\/tags?post=161"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}