Skip to main content

Widget implementation

shop website implementation

Generally said all widget types can be implemented to any type of website or framework based on our proprietary technology we developed to make the website implementation as smooth as possible.

⚠ In case you have a WIX website, check our WIX implementation guide.


Installation

1) Navigate to your shop settings and open the widgets tab.

Settings widgets implementation 1

2) Select the widget type from the list you want to use.

Settings widgets implementation 2

3) Choose the product(s) you want to implement.

Settings widgets implementation 3

4) Open the website tab and copy the code to your website.

Settings widgets implementation 4

Every widget you want to use has two steps of implementation:

Step 1

First copy the link of our general script (only once!) just after your <body> tag .

<script type="module"src="https://cdn.rtr-io.com/widgets.js"></script>

Afterwards you need to initialize a connection to your inventory and choose the default language you want to show. → More about the default language

<script>
window.RTR_ACCESS_TOKEN = 'YOUR ACCESS TOKEN';
window.RTR_LOCALE = 'de-DE';
</script>

Step 2

Then copy the code snippet of the actual widget, such as the Order details widget, to the section of the website where you want to display it.

<rtr-order></rtr-order>

Functionalities, Knowledge Hub, Website & Shop