Shortcodes, blocks, and widgets
Shortcodes
The plugin registers two tags that render the same inline assistant. Attributes are not used (unset($atts)).
[ai_woocommerce_assistant]
Syntax
[ai_woocommerce_assistant]
Attributes None. Extra attributes are ignored.
Default values N/A.
Examples
[ai_woocommerce_assistant]
Where it can be used Any post, page, or builder that executes WordPress shortcodes (including many Elementor shortcode widgets, which is not a dedicated Elementor addon).
Limitations
- No height, color, or product-id attributes. Use Appearance and AI Language in admin.
- On a page that includes this shortcode, the floating launcher is hidden so you do not get two chats.
- Requires Enable AI Agent.
[aiwsa_chat]
Alias of [ai_woocommerce_assistant]. Same behavior, no attributes.
[aiwsa_chat]
Gutenberg blocks
Not provided. There is no register_block_type in this plugin. The REST conversation channel enum includes block for possible clients; that is not a block editor UI.
Elementor / Divi / other builders
No dedicated widget. Admin copy states the assistant does not depend on Elementor, Divi, or the theme’s page builder. Use the shortcode widget/module of your builder, or the floating launcher.
Floating launcher
Not a shortcode. Controlled by Show floating assistant and Launcher position. See Appearance.