1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152
<?php
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
if ( ! class_exists( 'Wcap_All_Component' ) ) {
class Wcap_All_Component {
public function __construct() {
$is_admin = is_admin();
if ( true === $is_admin ) {
require_once( "component/license-active-notice/ts-active-license-notice.php" );
require_once( "component/WooCommerce-Check/ts-woo-active.php" );
require_once( "component/tracking data/ts-tracking.php" );
require_once( "component/deactivate-survey-popup/class-ts-deactivation.php" );
require_once( "component/welcome-page/ts-welcome.php" );
require_once( "component/faq_support/ts-faq-support.php" );
$wcap_plugin_name = 'Abandoned Cart Pro for WooCommerce';
$wcap_edd_license_option = 'edd_sample_license_status_ac_woo';
$wcap_license_path = 'admin.php?page=woocommerce_ac_page&action=emailsettings';
$wcap_locale = 'woocommerce-ac';
$wcap_file_name = 'woocommerce-abandon-cart-pro/woocommerce-ac.php';
$wcap_plugin_prefix = 'wcap';
$wcap_lite_plugin_prefix = 'wcal';
$wcap_plugin_folder_name = 'woocommerce-abandon-cart-pro/';
$wcap_plugin_dir_name = WCAP_PLUGIN_PATH . '/woocommerce-ac.php' ;
$wcap_blog_post_link = 'https://www.tychesoftwares.com/docs/docs/abandoned-cart-pro-for-woocommerce/usage-tracking/';
$wcap_get_previous_version = get_option( 'woocommerce_ac_db_version' );
$wcap_plugins_page = 'admin.php?page=woocommerce_ac_page';
$wcap_plugin_slug = 'woocommerce_ac_page';
$wcap_settings_page = 'admin.php?page=woocommerce_ac_page&action=emailsettings';
$wcap_setting_add_on = 'woocommerce_ac_page';
$wcap_setting_section = 'ac_general_settings_section';
$wcap_register_setting = 'woocommerce_ac_settings';
new wcap_active_license_notice ( $wcap_plugin_name, $wcap_edd_license_option, $wcap_license_path, $wcap_locale );
new Wcap_TS_Woo_Active ( $wcap_plugin_name, $wcap_file_name, $wcap_locale );
new Wcap_TS_tracking ( $wcap_plugin_prefix, $wcap_plugin_name, $wcap_blog_post_link, $wcap_locale, WCAP_PLUGIN_URL, $wcap_settings_page, $wcap_setting_add_on, $wcap_setting_section, $wcap_register_setting );
new Wcap_TS_Tracker ( $wcap_plugin_prefix, $wcap_plugin_name );
$wcap_deativate = new Wcap_TS_deactivate;
$wcap_deativate->init ( $wcap_file_name, $wcap_plugin_name );
new Wcap_TS_Welcome ( $wcap_plugin_name, $wcap_plugin_prefix, $wcap_locale, $wcap_plugin_folder_name, $wcap_plugin_dir_name, $wcap_get_previous_version );
$ts_pro_faq = self::wcap_get_faq ();
new Wcap_TS_Faq_Support( $wcap_plugin_name, $wcap_plugin_prefix, $wcap_plugins_page, $wcap_locale, $wcap_plugin_folder_name, $wcap_plugin_slug, $ts_pro_faq );
}
}
public static function wcap_get_faq () {
$ts_faq = array ();
$ts_faq = array(
1 => array (
'question' => 'When would a customer’s cart be considered as abandoned?',
'answer' => 'For all users, the cart is considered as abandoned after the set cut-off time has passed. The default value for this is X minutes.
<br><br>
For a logged-in user, the cart is tracked right after the product is added to his cart. It is considered abandoned as soon as the cut-off time has passed since adding the product to cart. Whereas, for a guest user, if Add to cart popup modal is enabled then the cart will be abandoned once the email address is entered in popup modal. If Add to cart modal is disabled then the cart can be abandoned only after the guest user reaches the checkout page and mentions his first name, last name, phone number, and email address.'
),
2 => array (
'question' => 'How can I offer discount codes to customers in the abandon cart reminder emails?',
'answer' => 'When you add or edit an email template, it has a <strong> "Enter coupon code to add into email"</strong> Here you need to enter a coupon code that you have created from WooCommerce > Coupons page. You would also need to add the <strong> {{coupon.code}}</strong> merge tag in the Body section of the template. This will send the same coupon code to all customers to whom that abandon cart email is sent to.
<br/><br/>
If you want to send a unique coupon code to each customer, then you need to enable the <strong>"Generate unique coupon codes"</strong> setting. In addition, you still need to enter a parent coupon code in the "Enter a coupon code to add into email" setting. The unique coupon codes will be generated based on the settings added for the parent coupon code.
<br/><br/>
You can learn more about the coupon code settings <a href="https://www.tychesoftwares.com/docs/docs/abandoned-cart-pro-for-woocommerce/understanding-coupon-codes/?utm_source=userwebsite&utm_medium=link&utm_campaign=AbandonedCartProFAQTab" target="_blank"> here</a>.'
),
3 => array (
'question' => 'What would happen when an order is claimed by the user?',
'answer' => 'When an order is claimed, it is removed from the Abandoned Orders list and moved to Recovered Order tab under WooCommerce > Abandoned Carts. No further emails will be sent to any customer who has already claimed their abandoned cart.'
),
4 => array (
'question' => 'Can I know which customers have received the email or which email have been sent?',
'answer' => 'Yes. You can view which email templates are sent to which customers from the<strong> Sent Emails</strong> tab. You can also view which customers have opened the email.
<br/><br/>
Alternatively, for email sent to customers, you can also send a copy of it to the site admin or to an external email address too. This can be done from the add/edit email template page in the "Send the Abandoned cart emails to:" field.'
),
5 => array (
'question' => 'How does the Abandon cart plugin send out the cart recovery emails? Do I need a special setup?',
'answer' => 'Our plugin uses the<a href="https://codex.wordpress.org/Function_Reference/wp_cron" target="_blank"> WP-Cron</a> which will send the abandoned cart reminder email to customers automatically. The email sending is done at every 15 minutes. If you want, you can change this interval from the "Setting for sending emails using WP Cron" under "Email Sending Settings" page in Settings.'
),
6 => array (
'question' => 'I have a few abandoned carts. But why is the abandoned cart email not sent to those customers?',
'answer' => 'There are several reasons abandoned cart reminder emails not being sent from your website.
<br/><br/>
It could be that WP-Cron is disabled on your site, or your server has some restrictions which does not allow WP-Cron, or the emails are actually sent, but the email server has failed to deliver them to the recipient. If you see the emails under the "Sent Emails" section but if they are still not being received, then it’s likely a problem with your email server. You can contact your web host about this.
<br/> <br/>
You can refer to <a href="https://www.tychesoftwares.com/docs/docs/abandoned-cart-pro-for-woocommerce/wp_alternate_cron/?utm_source=userwebsite&utm_medium=link&utm_campaign=AbandonedCartProFAQTab" target="_blank">this post</a> for fixing the WP-Cron issue.'
),
7 => array (
'question' => 'The test emails have wrong or dummy data. Is it supposed to work this way?',
'answer' => 'Yes, that is dummy data. The merge tags in the email template are replaced with the data of the store, like admin email address, two simple products of the store and other information are fetched and replaced with the merge tags. When the actual abandon cart recovery emails are sent out, these merge tags will be replaced with the customer’s cart data.'
),
8 => array (
'question' => 'How does the Add To Cart Popup Modal work?',
'answer' => 'Once the customer clicks on the add to cart button, our plugin opens the popup modal for capturing the customer’s email address. If the email address capture is set to be mandatory in admin, then the popup modal will close if the email address is not provided by the customer & the item will not be added to cart. Once the email address is provided by the customer, only then the product will be added to the cart. The email capture can be set as non-mandatory, which means that the popup to ask for email address will be displayed, but the customer can simply click on the "No thanks" button & proceed to adding the item to the cart.
<br/><br/>
You can learn more about the Add to cart popup modal<a href="https://www.tychesoftwares.com/capture-guest-user-email-address-before-checkout-page-with-woocommerce-abandoned-cart-pro/?utm_source=userwebsite&utm_medium=link&utm_campaign=AbandonedCartProFAQTab" target="_blank"> here</a>.'
),
9 => array (
'question' => 'Why does the Add to cart popup modal not show when I click on Add to Cart? I have all the settings done correctly.',
'answer' => 'If you are using custom buttons for Add to Cart, then the popup won\'t appear. The Add to Cart popup appears with the default Add to Cart buttons.
<br/><br/>
It is also possible that you are using the Add to Cart button on a custom page & not one of the default pages like WooCommerce’s shop page, product page, category page and on the home page.
<br/><br/>
You can contact our support team to get this resolved as each custom button needs a different solution.'
),
10 => array (
'question' => 'For multi-lingual websites, can your plugin send email templates to customers in the language in which the cart was abandoned when browsing the website?',
'answer' => 'Yes, our plugin is compatible with WPML. You can send the abandoned cart reminder emails in different languages using WPML. Our plugin will send the abandoned cart reminder emails in the respective language in which the customer has abandoned the cart. You can learn more about it <a href="https://www.tychesoftwares.com/docs/docs/abandoned-cart-pro-for-woocommerce/multilingual/?utm_source=userwebsite&utm_medium=link&utm_campaign=AbandonedCartProFAQTab" target="_blank">here</a>.'
)
);
return $ts_faq;
}
}
$Wcap_All_Component = new Wcap_All_Component();
}