Flooring
Let shoppers lay your flooring in their own room and switch between colours.
Flooring adds a button to your product page that covers the floor of the shopper's room, or of a photo of their own, with your flooring, in every colour you sell.
Widget code
In the Flooring dashboard, open Dashboard → Widget code, pick the product and copy both parts. The Quickstart walks through them.
<script async src="https://cdn.vizbl.com/@vizbl/loader/dist/vizbl.js" data-key="pk_live_YOUR_PUBLISHABLE_KEY"></script>
<vizbl-button product="flooring" object-id="YOUR_OBJECT_ID">Try flooring in scene</vizbl-button>object-idis the colour the page sells. The shopper switches between the product's other colours in the viewer.- A product set up for walls only gets code with
type="wallcovering": it covers every wall of the room at once instead of the floor. A product set up for both the floor and the walls gets the floor's code. See Wallcovering. - For a floor, the room you pick in the dialog adds
room-id, the room the viewer opens in. See Initial room.
The package behind it
The button opens Room Viewer with the type flooring. To install Room Viewer yourself, with your own trigger, see the Flooring guide: it explains the colours.
Related
- Vizbl.js reference: every attribute of
<vizbl-button>. - Developer API: read your flooring and rug kits from your server.