SwissUpLabs Logo

Settings

In order to change general extension settings, go to StoresConfigurationSwissup section ➔ CheckoutSuccess Page.

Checkout Success Page settings have three sections.

General

Checkout Success system config general

You can enable or disable extension in this section.

Miscellaneous scripts and HTML field allows you to insert Javascript, CSS, or HTML code at the very end of the page. It’s not intended to use for visible information because it’s shown below footer. This field is useful to add Google Adwords or any other conversion tracing code. This field allows to use variables:

Variable Description Extension version
{{orderId}} Order number 1.1.0
{{orderAmount}} Order grand total 1.1.0
{{orderBaseAmount}} Order grand total in base currency (useful for multi currency stores) 1.1.0
{{orderItems}} Array of items from order where every item is JSON object 1.1.3
{{orderBillingAddress}} JSON object with billing address data 1.1.4
{{orderShippingAddress}} JSON object with shipping address data 1.1.4
{{currency}} Order currency 1.1.0
{{currencySymbol}} Order currency symbol 1.1.0
{{customerEmail}} Email of customer who placed an order 1.1.0
{{customerId}} Id of customer who placed an order 1.1.0
{{paymentCode}} Code of payment method for an order 1.1.0
{{paymentTitle}} Name of payment method for an order 1.1.0
{{shippingCode}} Code of shipping method for an order 1.1.0
{{shippingTitle}} Name of shipping method for an order 1.1.0

Most of variables came with extension version 1.1.0. But there some that requiers higher version. Check column “Extension version”.

Check “Miscellaneous scripts snippets” page for some examples.

Address data

Address data object may have properties like ‘city’, ‘company’, ‘country’, ‘country_id’, ‘fax’, ‘firstname’, ‘lastname’, ‘middlename’, ‘postcode’, ‘prefix’, ‘region’, ‘region_id’, ‘street’, ‘suffix’, ‘telephone’.

Page Layout

Checkout Success system config layout

Section Layout allows you to preview your checkout success page for any order you have. Other powerfull tool is layout Builder for uccess page. Builder helps you to construct your own unique layout and engage customer come back to your store.

Button Preview page starts full page preview for order (number set in the input field near by).

Button Builder starts layout builder (real-time builder) for success page. You can rearange page elements and add new ones. For example CMS blocks, additional checkout fields (requires our module) and/or delivary date (requires our module).

Layout builder

Notice: unfortunatly real-time builder works not for all Magento instances. The issue occurs when Magento Admin has one host name and storefront has the other. Browser blocks crossorigin requests for security reasons. For such case we kept old Success Page layout builder. You can choose “Layout builder” in drop-down near “Builder” button.

Layout builder (old)

Edit this Page