1. Help Center
  2. Embedding
  3. Embedding with HTML code

Customizing your embedded Twice store

How to customize your embedded store by editing specific parameters

The rentle-store HTML element supports a variety of configuration parameters, which allow you to define among others which product or category should be displayed by default, or which language should be used. Twice provides two options to get the correct code snippet to use in your html file.

Option 1) Use the Embed Builder app

The easiest way to get the correct parameters is to copy the code snippet from the Twice Embed Builder. In the embed builder, you can simply navigate to the section of your online store which you would like to display on your website. Choose any location, category or product and click Copy Embed Code </> to view the correct code snippet to copy to your website.

Option 2) Configure manually

You can alsmo manually pass parameters to the rentle-store element with standard HTML syntax, for example:

<rentle-store   shop="myshop"  store="mystorelocation"  category="mycategory"/>

See the full list of possible parameters, applicable values and their respective behaviors below. Please note that the shop parameter is the only required parameter.