a year ago
Widget Customization and Implementation
The following outlines the key aspects of widget customization:
- Overall Structure:
- The widget is composed of HTML elements and tags that contain various types of content.
- Customization is limited to the content text; HTML tags themselves cannot be altered.
- Styles:
- Styles are applied to HTML tags to enhance visual appearance.
- Customization of styles is permitted.
- Logical Code:
- This component manages the functionality of the widget, such as updating text and IDs based on selling plan changes or applying discounts.
- Users are not permitted to modify the core logic of the widget. Developers may extend the SDK's logic using the provided documentation, but cannot change the fundamental logic.
- SDK Features:
- The SDK is designed to facilitate widget selection and usage for users without coding knowledge.
- Selling plans created by the backend are intended for use within the platform and do not require the SDK for implementation.
- Merchants with a developer experienced in front-end development can utilize Liquid or API to access and display backend-created selling plans, bypassing the need for the SDK.