diff --git a/wp-content/themes/cosmopet/global-functions/multilang-functions.php b/wp-content/themes/cosmopet/global-functions/multilang-functions.php index 0b2301d..1299fce 100644 --- a/wp-content/themes/cosmopet/global-functions/multilang-functions.php +++ b/wp-content/themes/cosmopet/global-functions/multilang-functions.php @@ -1765,6 +1765,7 @@ pll_register_string('Начните вводить ваш email', 'Начнит pll_register_string('Населенный пункт', 'Населенный пункт', 'Checkout'); pll_register_string('Ваш город', 'Ваш город', 'Checkout'); pll_register_string('Оплатить', 'Оплатить', 'Checkout'); +pll_register_string('Запомнить меня', 'Запомнить меня', 'Checkout'); }); diff --git a/wp-content/themes/cosmopet/modules/forms/module-ajax-controller.php b/wp-content/themes/cosmopet/modules/forms/module-ajax-controller.php index 414963f..4b25378 100644 --- a/wp-content/themes/cosmopet/modules/forms/module-ajax-controller.php +++ b/wp-content/themes/cosmopet/modules/forms/module-ajax-controller.php @@ -258,7 +258,7 @@ function send_order_data($order_id) { } $handler = FormHandlerFactory::getHandler(['tg']); - $response = $handler->handle($formData); + $response = $handler->handle($formData, array()); } diff --git a/wp-content/themes/cosmopet/modules/profile/module-ajax-controller.php b/wp-content/themes/cosmopet/modules/profile/module-ajax-controller.php index a653b23..ba3e13e 100644 --- a/wp-content/themes/cosmopet/modules/profile/module-ajax-controller.php +++ b/wp-content/themes/cosmopet/modules/profile/module-ajax-controller.php @@ -178,7 +178,7 @@ function handle_subscription_address_update() { // Динамическое определение BOT_USERNAME $site_url = site_url(); -if ($site_url === 'https://cosmopet-test-ru.cp.good-production.xyz') { +if ($site_url === 'https://cosmopet-test-dumb.cp.good-production.xyz') { define('BOT_USERNAME', 'cosmopet_test_RU_bot'); } elseif ($site_url === 'https://cosmopet-test-ae.cp.good-production.xyz') { define('BOT_USERNAME', 'cosmopet_test_AE_bot'); diff --git a/wp-content/themes/cosmopet/templates/shop/checkout.twig b/wp-content/themes/cosmopet/templates/shop/checkout.twig index 99d12a2..410f9b1 100644 --- a/wp-content/themes/cosmopet/templates/shop/checkout.twig +++ b/wp-content/themes/cosmopet/templates/shop/checkout.twig @@ -20,6 +20,14 @@