Last active
February 19, 2016 05:52
-
-
Save ChuckJHardy/2e9449abb08b37e3baef to your computer and use it in GitHub Desktop.
Bridge Products Widget Example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!-- BRIDGE Products Widget Element | |
| Action: Add | |
| Location: Where the `Reservation` button should be located | |
| Keys: | |
| 1. PRODUCT_VARIANT_ID - The variant ID for the product to be reserved | |
| Description: The widget will load within this element and append the reservation button | |
| --> | |
| <bridge-products-widget id="[PRODUCT_VARIANT_ID]"></bridge-products-widget> | |
| <!-- BRIDGE Products Widget Script | |
| Action: Add | |
| Location: At the bottom for the page or where your existing scripts are located. | |
| Keys: | |
| 1. LEADFORMANCE_CLIENT_NAME - Your client name as stated by Leadformance | |
| 2. ENVIRONMENT - The environment you wish to run. prelive or production | |
| 3. LOCALE - The language you wish to run. Defaults to `fr` which missing | |
| Description: This is the widget script. | |
| --> | |
| <script charset='UTF-8' src="https://bridge-products-widget.s3.amazonaws.com/[LEADFORMANCE_CLIENT_NAME]-[ENVIRONMENT]-[LOCALE].js"></script> | |
| <!-- Full Application Example --> | |
| <!doctype html> | |
| <body> | |
| <bridge-products-widget id="642118707003"></bridge-products-widget> | |
| <script charset='UTF-8' src="https://bridge-products-widget.s3.amazonaws.com/TestClient-production-fr.js"></script> | |
| </body> | |
| </html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment