If you want to create a new style for the checkout_success.php page, you can create a custom template of your choice and upload it to the themes/ If you want to add some custom/local changes in checkout_success.php, you need to add a custom php file with name custom_tpl_checkout_success.php in themes/functions/ folder where you can add the new changes and define those to a template variable. Also you should place that variable in themes/ We have a custom file custom_add.php in themes/functions/ folder which will be available for all files. If you want a new template variable for all the checkout section, you can define that on custom_add.php. |
|
Variables used in checkout_success.tpl | |
{literal}{{/literal}$checkout_bar_confirmation_text{literal}}{/literal} | To display the checkout bar text for confirmation. The data of this can be change by changing the value of define CHECKOUT_BAR_CONFIRMATION in corresponding |
{literal}{{/literal}$checkout_bar_delivery_text{literal}}{/literal} | To display the checkout bar text for delivery information. The data of this can be change by changing the value of define CHECKOUT_BAR_DELIVERY in corresponding |
{literal}{{/literal}$checkout_bar_finished_text{literal}}{/literal} | To display the checkout bar text for success. The data of this can be change by changing the value of define CHECKOUT_BAR_FINISHED in corresponding |
{literal}{{/literal}$checkout_bar_payment_text{literal}}{/literal} | To display the checkout bar text for payment information. The data of this can be change by changing the value of define CHECKOUT_BAR_PAYMENT in corresponding |
{literal}{{/literal}$checkout_bullet_img{literal}}{/literal} | To display the bullet image on the checkout bar. The image is stored in images/checkout_bullet.gif. |
{literal}{{/literal}$checkout_success_category_image{literal}}{/literal} | This is the image showing on the right side on the {literal}{{/literal}$checkout_success_page_heading{literal}}{/literal}. |
{literal}{{/literal}$checkout_success_form{literal}}{/literal} | To add the code for form in checkout success page. |
{literal}{{/literal}$checkout_successpage_admin_message{literal}}{/literal} | To display the message which will enter from C advanced-> Configuration -> Enable/Disable Features -> Checkout Success -> Message to show on checkout success page. |
{literal}{{/literal}$checkout_success_orders_text{literal}}{/literal} | To display the success orders text. |
{literal}{{/literal}$checkout_success_page_heading{literal}}{/literal} | To display the page heading of checkout success page. The data of this can be change by changing the value of define HEADING_TITLE in checkout_success.php language file. |
{literal}{{/literal}$checkout_success_text{literal}}{/literal} | To display the checkout success text. The data of this can be change by changing the value of define TEXT_SUCCESS in checkout_success.php language file. |
{literal}{{/literal}$checkout_survey_text{literal}}{/literal} | To display the survey, if present. |
{literal}{{/literal}$continue_button_text{literal}}{/literal} | To display the continue button. |
{literal}{{/literal}$coupon_gv_customer{literal}}{/literal} | To display the gift Voucher text, if gift Voucher account greater than zero. |
{literal}{{/literal}$download_data_text{literal}}{/literal} | To display the download data text, if the order products have. |
{literal}{{/literal}$facebook_icon{literal}}{/literal} | To display the faceboook icon. This will show only when enabling Show Facebook icon from C advanced-> Configuration -> Enable/Disable Features -> Checkout Success -> Show Facebook icon. Url will be taken from those are entered in C advanced-> Configuration -> Social Networks -> Follow Us -> Your Face Book Link. |
{literal}{{/literal}$newsletter_subscribe_tpl{literal}}{/literal} | To display the newsletter subscribe option(if newsletter module installed). This will show only when enabling Show Signup for Newsletter from C advanced-> Configuration -> Enable/Disable Features -> Checkout Success -> Show Signup for Newsletter. |
{literal}{{/literal}$pbscc_checkout_bar{literal}}{/literal} | To display the checkout bar text for pbscc, if the payment method is pbscc. |
{literal}{{/literal}$pbscc_silver_img{literal}}{/literal} | To display the silver bar, if the payment method is pbscc. |
{literal}{{/literal}$print_order_button_text{literal}}{/literal} | To display the print button. |
{literal}{{/literal}$thanks_for_shopping_text{literal}}{/literal} | To display ‘thank you for shopping’ text. The data of this can be change by changing the value of define TEXT_THANKS_FOR_SHOPPING in checkout_success.php language file. |
{literal}{{/literal}$twitter_icon{literal}}{/literal} | To display the twitter icon. This will show only when enabling Show Twitter icon from C advanced-> Configuration -> Enable/Disable Features -> Checkout Success -> Show twitter_icon icon. Url will be taken from those are entered in C advanced-> Configuration -> Social Networks -> Follow Us -> Your Twitter Link. |
{literal}{{/literal}$youtube_icon{literal}}{/literal} | To display the youtube icon. This will show only when enabling Show Youtube icon from C advanced-> Configuration -> Enable/Disable Features -> Checkout Success -> Show Youtube icon. Url will be taken from those are entered in C advanced-> Configuration -> Social Networks -> Follow Us -> Your You Tube Link. |