HTML, CSS and Snippets
Include Shopwaive's HTML snippets in your theme to conveniently display transactional history and customer balances
Last updated
Include Shopwaive's HTML snippets in your theme to conveniently display transactional history and customer balances
Last updated
After customer's log into their account, you can display their account balance and transaction history with the following markup.
You can style your customer's transaction table on their account page by including these styles to your Theme.
In the CSS ABOVE, the table header includes a brand color you can change:
When using the Checkout extension for Shopify Plus you may wish to reduce loading global scripts on your storefront, in which case you should disable the Popup app embed and instead render the minified script using the liquid snippet below which renders the HTML and snippets described above. For brands on Shopify Plus, the following liquid code can be added to a new snippet called shopwaive_script.liquid for example. Then include the snippet in your theme.liquid using the render tag like so
In your file theme.liquid, add this:
Create a snippet named shopwaive_script.liquid and add this:
If you do not use the provided below, use of the selector tags will require the App embed to be turned on from your Shopify Admin Theme settings. For the most recommended implementation, turn off the Popup app embed and render the
Brands can use these selectors and styles in combination with server requests to the to provide the most optimal integration experience with your site. Have questions on any specific features?