Changeset 3764244
- Timestamp:
- 10/25/2026 09:42:01 AM (25 hours ago)
- Location:
- bugalou-for-woocommerce
- Files:
-
- 11 added
- 4 edited
-
tags/1.1.0 (added)
-
tags/1.1.0/assets (added)
-
tags/1.1.0/assets/css (added)
-
tags/1.1.0/assets/css/admin.css (added)
-
tags/1.1.0/bugalou-for-woocommerce.php (added)
-
tags/1.1.0/includes (added)
-
tags/1.1.0/includes/class-bugalou-connect.php (added)
-
tags/1.1.0/includes/class-bugalou-widget.php (added)
-
tags/1.1.0/readme.txt (added)
-
tags/1.1.0/uninstall.php (added)
-
trunk/bugalou-for-woocommerce.php (modified) (3 diffs)
-
trunk/includes/class-bugalou-connect.php (modified) (2 diffs)
-
trunk/includes/class-bugalou-widget.php (added)
-
trunk/readme.txt (modified) (6 diffs)
-
trunk/uninstall.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
bugalou-for-woocommerce/trunk/bugalou-for-woocommerce.php
r3764151 r3764244 4 4 * Plugin URI: https://bugalou.com/en/integrations/woocommerce 5 5 * Description: Connect your WooCommerce store to Bugalou's AI customer service platform in one click — order tracking, AI chatbot answers, and automated support across WhatsApp, email, and web chat. 6 * Version: 1. 0.06 * Version: 1.1.0 7 7 * Requires at least: 6.3 8 8 * Requires PHP: 7.4 … … 21 21 } 22 22 23 define( 'BUGALOU_WC_VERSION', '1. 0.0' );23 define( 'BUGALOU_WC_VERSION', '1.1.0' ); 24 24 define( 'BUGALOU_WC_PLUGIN_FILE', __FILE__ ); 25 25 define( 'BUGALOU_WC_PLUGIN_DIR', plugin_dir_path( __FILE__ ) ); … … 65 65 require_once BUGALOU_WC_PLUGIN_DIR . 'includes/class-bugalou-connect.php'; 66 66 Bugalou_Connect::init(); 67 68 require_once BUGALOU_WC_PLUGIN_DIR . 'includes/class-bugalou-widget.php'; 69 Bugalou_Widget::init(); 67 70 } 68 71 add_action( 'plugins_loaded', 'bugalou_wc_init' ); -
bugalou-for-woocommerce/trunk/includes/class-bugalou-connect.php
r3764151 r3764244 123 123 <?php endif; ?> 124 124 125 <?php if ( 'invalid_widget_key' === $error ) : ?> 126 <div class="notice notice-error"> 127 <p><?php esc_html_e( 'That widget key doesn\'t look right. Copy it again from Channels → Website chat → Installation in your Bugalou dashboard.', 'bugalou-for-woocommerce' ); ?></p> 128 </div> 129 <?php endif; ?> 130 131 <?php if ( isset( $_GET['bugalou_widget_saved'] ) ) : // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- display-only flag. ?> 132 <div class="notice notice-success"> 133 <p><?php esc_html_e( 'Widget settings saved.', 'bugalou-for-woocommerce' ); ?></p> 134 </div> 135 <?php endif; ?> 136 125 137 <?php if ( 'connected' === $status ) : ?> 126 138 <div class="notice notice-success"> … … 173 185 <?php esc_html_e( 'You\'ll be redirected to WooCommerce\'s own authorization screen to approve access — Bugalou never sees your WordPress login.', 'bugalou-for-woocommerce' ); ?> 174 186 </p> 187 188 <?php Bugalou_Widget::render_card(); ?> 175 189 </div> 176 190 <?php -
bugalou-for-woocommerce/trunk/readme.txt
r3764200 r3764244 7 7 WC requires at least: 8.0 8 8 WC tested up to: 11.2 9 Stable tag: 1. 0.09 Stable tag: 1.1.0 10 10 License: GPLv2 or later 11 11 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 23 23 * Notify customers automatically on order updates (new order, shipped, delivered) 24 24 * Answer product and shipping questions using your store's own data 25 * Show the Bugalou live chat widget on your store (optional, off by default) 25 26 26 27 = How it works = … … 34 35 That's it — Bugalou automatically sets up the order webhooks it needs. No manual API key copying required. 35 36 37 = Live chat widget (optional) = 38 39 Want the Bugalou chat on your store? Copy your widget key from Channels → Website chat → Installation in the Bugalou dashboard, paste it under WooCommerce → Bugalou → Website chat widget, tick "Show the chat widget on my store" and save. No theme editing needed. The widget's colours, texts and AI behaviour are managed in your Bugalou dashboard. 40 36 41 = Bugalou account required = 37 42 … … 44 49 * What is sent, and when: only when you click "Connect to Bugalou", your browser goes to WooCommerce's own authorization screen on your site. After you approve, WooCommerce (not this plugin) sends a REST API Consumer Key/Secret for your store, your store URL and the connect code to Bugalou's server at https://app.bugalou.com/api/woocommerce/oauth/callback. 45 50 * What Bugalou does with it: Bugalou uses this access to read order, product and customer information (name, email, phone, shipping address, order status) and to register order webhooks, solely to power customer service replies and order notifications for your store. 46 * The plugin itself sends no other data, loads no remote scripts and does not track visitors. 51 * Live chat widget (optional, off by default): only when you paste a widget key and enable "Show the chat widget on my store", your store loads Bugalou's chat script from https://bugalou.com/widget/loader.js for visitors. The script loads your widget settings from https://bugalou.com and, when a visitor uses the chat, sends the messages they type, any name, email or file they choose to share and their browser language to Bugalou, so your team and the AI assistant can answer in your Bugalou inbox. As with any web request, the visitor's IP address and the page address are visible to Bugalou's server. The script stores a chat session id in the visitor's browser (local storage) so the conversation continues across pages. 52 * Apart from the above, the plugin sends no data, loads no remote scripts and does not track visitors. 47 53 48 54 * [Bugalou terms of service](https://bugalou.com/en/terms) … … 65 71 Read/write access to orders, products, and webhooks — needed to look up order status and register the webhooks Bugalou uses to detect new and updated orders. 66 72 73 = Do I need to connect my store to use the chat widget? = 74 75 No. The widget works with just your widget key. Connecting the store as well lets the chat answer order questions with live order data. 76 67 77 = Does this plugin work with High-Performance Order Storage (HPOS)? = 68 78 … … 78 88 == Changelog == 79 89 90 = 1.1.0 = 91 * New: optional Bugalou live chat widget on your store. Paste your widget key and switch it on, no theme editing needed. 92 80 93 = 1.0.0 = 81 94 * Initial release — one-click store connection via WooCommerce's REST API authorization flow. -
bugalou-for-woocommerce/trunk/uninstall.php
r3764151 r3764244 7 7 8 8 delete_option( 'bugalou_wc_connect_status' ); 9 delete_option( 'bugalou_wc_widget_key' ); 10 delete_option( 'bugalou_wc_widget_enabled' );
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)