This view contains the codes in external pages to view the page. These implementations contain button and view codes, as well as 3 types of code for view: Modal, chat window and inline.
The variable that contains the codes are the following:
widget_popup: Contains the code of the view to be used in a popup or modal
widget_inline: Contain the code of the view to be used in some direct space of the page.
widget_bot: It contains the code of the view to be used in a chat window.
For widget_bot y widget_popup , to the user should be shown this piece of code that is the button that opens them.
“<button onclick="toggleOrderingWidget()">Open widget</button>”
- A select for switch between popup and chat box.
- section that contains the codes for widgets in popups.
- Code section for
widget_botand can be switched with the select in 1.
- section that contains the codes for widgets inline.
Updated over 3 years ago