Changeset 3782134
- Timestamp:
- 11/03/2026 03:38:02 PM (18 hours ago)
- Location:
- c2c-ai-sales-agent
- Files:
-
- 2 deleted
- 8 edited
- 1 copied
-
tags/1.8.1 (copied) (copied from c2c-ai-sales-agent/trunk )
-
tags/1.8.1/c2c-ai-sales-agent.php (modified) (2 diffs)
-
tags/1.8.1/includes/admin-page.php (modified) (2 diffs)
-
tags/1.8.1/includes/plugin.php (modified) (1 diff)
-
tags/1.8.1/includes/site-optin.php (deleted)
-
tags/1.8.1/readme.txt (modified) (3 diffs)
-
trunk/c2c-ai-sales-agent.php (modified) (2 diffs)
-
trunk/includes/admin-page.php (modified) (2 diffs)
-
trunk/includes/plugin.php (modified) (1 diff)
-
trunk/includes/site-optin.php (deleted)
-
trunk/readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
c2c-ai-sales-agent/tags/1.8.1/c2c-ai-sales-agent.php
r3782128 r3782134 4 4 * Plugin URI: https://chat2checkout.com 5 5 * Description: An AI sales agent that turns visitors into customers, from chat to checkout: answers in each visitor's own language, recommends products, adds them to the cart and collects leads and bookings. Runs on the Chat2Checkout service. 6 * Version: 1.8. 06 * Version: 1.8.1 7 7 * Requires at least: 6.0 8 8 * Requires PHP: 7.4 … … 28 28 29 29 // Must match the Version header above (the build checks). 30 define('SALESAGENT_VERSION', '1.8. 0');30 define('SALESAGENT_VERSION', '1.8.1'); 31 31 // Replaced at build time with the Chat2Checkout app address. 32 32 define('SALESAGENT_APP_URL', 'https://chat2checkout.com'); -
c2c-ai-sales-agent/tags/1.8.1/includes/admin-page.php
r3782128 r3782134 57 57 .c2c-status.is-test{background:#fef3c7;color:#92400e} 58 58 .c2c-status.is-off{background:#dcdcde;color:#3c434a} 59 .c2c-optin{border-color:#c4b5fd;background:#faf7ff}60 .c2c-optin .c2c-optin-no{margin-inline-start:12px}61 59 .c2c-bf{position:relative;overflow:hidden;max-width:1180px;margin:20px 0 28px;border-radius:20px;padding:30px 36px;color:#fff;background:radial-gradient(60% 120% at 0 0,rgba(249,115,22,.35) 0,rgba(249,115,22,0) 60%),radial-gradient(50% 120% at 100% 100%,rgba(217,70,239,.45) 0,rgba(217,70,239,0) 60%),#0c0a1f;box-shadow:0 18px 40px rgba(12,10,31,.35),inset 0 0 0 1px rgba(255,255,255,.08);display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:24px 32px;align-items:center} 62 60 @media (max-width:960px){.c2c-bf{grid-template-columns:auto minmax(0,1fr);padding:26px 24px}.c2c-bf-cta{grid-column:1/-1;text-align:start}} … … 151 149 <div class="c2c-admin"> 152 150 <div> 153 <?php salesagent_optin_card(); ?>154 151 <div class="c2c-card"> 155 152 <h2><?php esc_html_e('Your widget key', 'c2c-ai-sales-agent'); ?></h2> -
c2c-ai-sales-agent/tags/1.8.1/includes/plugin.php
r3782128 r3782134 88 88 require_once __DIR__ . '/admin-page.php'; 89 89 90 // "Keep me posted" (asked on the settings page; nothing is sent without a yes). 91 require_once __DIR__ . '/site-optin.php'; 90 // 1.8.0 asked "Keep me posted" and scheduled a weekly check-in for sites that said yes; 1.8.1 dropped it, so stop it. 91 add_action('admin_init', function () { 92 if (get_option('salesagent_optin', false) !== false) { 93 delete_option('salesagent_optin'); 94 wp_clear_scheduled_hook('salesagent_site_checkin'); 95 } 96 }); 92 97 93 98 add_filter('plugin_action_links_' . plugin_basename(SALESAGENT_FILE), function ($links) { -
c2c-ai-sales-agent/tags/1.8.1/readme.txt
r3782128 r3782134 5 5 Tested up to: 7.1 6 6 Requires PHP: 7.4 7 Stable tag: 1.8. 07 Stable tag: 1.8.1 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 71 71 == External services == 72 72 73 This plugin connects your site to the Chat2Checkout service (https://chat2checkout.com), which runs the AI sales assistant. It sends nothing until you paste a widget key from your Chat2Checkout account or say yes to "Keep me posted" on its settings page.73 This plugin connects your site to the Chat2Checkout service (https://chat2checkout.com), which runs the AI sales assistant. It does nothing until you paste a widget key from your Chat2Checkout account. 74 74 75 75 * **The chat widget.** On the public pages of your site (only for administrators while Test mode is on), the plugin loads the chat script from https://chat2checkout.com/widget/v1.js. When a visitor opens or uses the chat, the chat sends their messages, any photo they attach or voice message they record, the page they are on, an anonymous visitor id (also kept in a cookie named "salesagent_vid") and, for WooCommerce, cart actions to Chat2Checkout so the assistant can answer. Contact details a visitor types into a chat form go to you, the site owner, through Chat2Checkout. 76 76 * **Your own chat images.** If you upload your own chat button or avatar image in your Chat2Checkout dashboard, visitors' browsers load that image from Chat2Checkout's file storage, which is hosted by Supabase (https://supabase.com). As with any image on a web page, the browser sends its IP address and browser details with that request; nothing else is sent. Supabase terms: https://supabase.com/terms, privacy policy: https://supabase.com/privacy 77 77 * **Order reports (WooCommerce).** When a visitor who used the chat places an order, or such an order changes status, the plugin sends the order number and your widget key to https://chat2checkout.com/api/widget/orders. Chat2Checkout then reads that order through the WooCommerce connection you set up, to show orders and revenue from the chat in your reports. 78 * **"Keep me posted" (only if you say yes).** The settings page asks once whether Chat2Checkout may know that this site has the plugin. Only after you click "Yes, keep me posted", the plugin sends this site's address and name, the admin email address, the locale, the WordPress, WooCommerce and plugin versions and whether a widget key is saved to https://chat2checkout.com/api/plugin/install, again once a week while the plugin is active, and once when it is deactivated. We use it to send setup help and offers. Nothing about your visitors is sent. "No thanks" sends nothing; deactivating or deleting the plugin stops it.79 78 * **Cart links from social chats (WooCommerce).** When someone opens a cart link sent in a Messenger, Instagram or WhatsApp chat (an address ending in ?c2c_cart=...), the plugin sends that link's code and your widget key to https://chat2checkout.com/api/widget/cart-link to read which products and quantities were chosen, then adds them to that visitor's cart on your site. 80 79 … … 97 96 98 97 == Changelog == 98 99 = 1.8.1 = 100 * Removed the "Keep me posted" card from the settings page; nothing is sent about your site any more, and a weekly check-in set up by 1.8.0 is stopped. 99 101 100 102 = 1.8.0 = -
c2c-ai-sales-agent/trunk/c2c-ai-sales-agent.php
r3782128 r3782134 4 4 * Plugin URI: https://chat2checkout.com 5 5 * Description: An AI sales agent that turns visitors into customers, from chat to checkout: answers in each visitor's own language, recommends products, adds them to the cart and collects leads and bookings. Runs on the Chat2Checkout service. 6 * Version: 1.8. 06 * Version: 1.8.1 7 7 * Requires at least: 6.0 8 8 * Requires PHP: 7.4 … … 28 28 29 29 // Must match the Version header above (the build checks). 30 define('SALESAGENT_VERSION', '1.8. 0');30 define('SALESAGENT_VERSION', '1.8.1'); 31 31 // Replaced at build time with the Chat2Checkout app address. 32 32 define('SALESAGENT_APP_URL', 'https://chat2checkout.com'); -
c2c-ai-sales-agent/trunk/includes/admin-page.php
r3782128 r3782134 57 57 .c2c-status.is-test{background:#fef3c7;color:#92400e} 58 58 .c2c-status.is-off{background:#dcdcde;color:#3c434a} 59 .c2c-optin{border-color:#c4b5fd;background:#faf7ff}60 .c2c-optin .c2c-optin-no{margin-inline-start:12px}61 59 .c2c-bf{position:relative;overflow:hidden;max-width:1180px;margin:20px 0 28px;border-radius:20px;padding:30px 36px;color:#fff;background:radial-gradient(60% 120% at 0 0,rgba(249,115,22,.35) 0,rgba(249,115,22,0) 60%),radial-gradient(50% 120% at 100% 100%,rgba(217,70,239,.45) 0,rgba(217,70,239,0) 60%),#0c0a1f;box-shadow:0 18px 40px rgba(12,10,31,.35),inset 0 0 0 1px rgba(255,255,255,.08);display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:24px 32px;align-items:center} 62 60 @media (max-width:960px){.c2c-bf{grid-template-columns:auto minmax(0,1fr);padding:26px 24px}.c2c-bf-cta{grid-column:1/-1;text-align:start}} … … 151 149 <div class="c2c-admin"> 152 150 <div> 153 <?php salesagent_optin_card(); ?>154 151 <div class="c2c-card"> 155 152 <h2><?php esc_html_e('Your widget key', 'c2c-ai-sales-agent'); ?></h2> -
c2c-ai-sales-agent/trunk/includes/plugin.php
r3782128 r3782134 88 88 require_once __DIR__ . '/admin-page.php'; 89 89 90 // "Keep me posted" (asked on the settings page; nothing is sent without a yes). 91 require_once __DIR__ . '/site-optin.php'; 90 // 1.8.0 asked "Keep me posted" and scheduled a weekly check-in for sites that said yes; 1.8.1 dropped it, so stop it. 91 add_action('admin_init', function () { 92 if (get_option('salesagent_optin', false) !== false) { 93 delete_option('salesagent_optin'); 94 wp_clear_scheduled_hook('salesagent_site_checkin'); 95 } 96 }); 92 97 93 98 add_filter('plugin_action_links_' . plugin_basename(SALESAGENT_FILE), function ($links) { -
c2c-ai-sales-agent/trunk/readme.txt
r3782128 r3782134 5 5 Tested up to: 7.1 6 6 Requires PHP: 7.4 7 Stable tag: 1.8. 07 Stable tag: 1.8.1 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 71 71 == External services == 72 72 73 This plugin connects your site to the Chat2Checkout service (https://chat2checkout.com), which runs the AI sales assistant. It sends nothing until you paste a widget key from your Chat2Checkout account or say yes to "Keep me posted" on its settings page.73 This plugin connects your site to the Chat2Checkout service (https://chat2checkout.com), which runs the AI sales assistant. It does nothing until you paste a widget key from your Chat2Checkout account. 74 74 75 75 * **The chat widget.** On the public pages of your site (only for administrators while Test mode is on), the plugin loads the chat script from https://chat2checkout.com/widget/v1.js. When a visitor opens or uses the chat, the chat sends their messages, any photo they attach or voice message they record, the page they are on, an anonymous visitor id (also kept in a cookie named "salesagent_vid") and, for WooCommerce, cart actions to Chat2Checkout so the assistant can answer. Contact details a visitor types into a chat form go to you, the site owner, through Chat2Checkout. 76 76 * **Your own chat images.** If you upload your own chat button or avatar image in your Chat2Checkout dashboard, visitors' browsers load that image from Chat2Checkout's file storage, which is hosted by Supabase (https://supabase.com). As with any image on a web page, the browser sends its IP address and browser details with that request; nothing else is sent. Supabase terms: https://supabase.com/terms, privacy policy: https://supabase.com/privacy 77 77 * **Order reports (WooCommerce).** When a visitor who used the chat places an order, or such an order changes status, the plugin sends the order number and your widget key to https://chat2checkout.com/api/widget/orders. Chat2Checkout then reads that order through the WooCommerce connection you set up, to show orders and revenue from the chat in your reports. 78 * **"Keep me posted" (only if you say yes).** The settings page asks once whether Chat2Checkout may know that this site has the plugin. Only after you click "Yes, keep me posted", the plugin sends this site's address and name, the admin email address, the locale, the WordPress, WooCommerce and plugin versions and whether a widget key is saved to https://chat2checkout.com/api/plugin/install, again once a week while the plugin is active, and once when it is deactivated. We use it to send setup help and offers. Nothing about your visitors is sent. "No thanks" sends nothing; deactivating or deleting the plugin stops it.79 78 * **Cart links from social chats (WooCommerce).** When someone opens a cart link sent in a Messenger, Instagram or WhatsApp chat (an address ending in ?c2c_cart=...), the plugin sends that link's code and your widget key to https://chat2checkout.com/api/widget/cart-link to read which products and quantities were chosen, then adds them to that visitor's cart on your site. 80 79 … … 97 96 98 97 == Changelog == 98 99 = 1.8.1 = 100 * Removed the "Keep me posted" card from the settings page; nothing is sent about your site any more, and a weekly check-in set up by 1.8.0 is stopped. 99 101 100 102 = 1.8.0 =
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)