How to Disable Caching?

How to Disable Caching?

Caching for your WordPress website will help increase performance.

For all e-commerce websites, it's crucial that you exclude caching on CartFlows checkout, upsell, downsell, and thank you steps.

Each caching plugin is different and has a different setting location to enter your CartFlows step url's.

WPRocket InstructionsSwift Performance: You can add a simple URL rule in Settings → Caching → Exceptions → Exclude URLComet Cache: WordPress Dashboard → Comet Cache → Plugin OptionsW3TC Instructions

Webhosts

GoDaddy: The only way to exclude CartFlows steps from caching is to contact their support to request itWPEngine: The only way to exclude CartFlows steps from caching is to contact their support to request it

How to Translate the CartFlows using the Loco Translate Plugin?

How to Translate the CartFlows using the Loco Translate Plugin?

Loco Translate is a WordPress plugin, that allows you to easily edit translations right through your WordPress Dashboard.

Follow the below steps to translate the Coupon text and the button text of CartFlows plugin –

Step 1: After you Install & activate the Loco Translate Plugin. Navigate to WordPress Dashboard > Loco Translate > Plugins > Choose CartFlows

Step 2: Click 『New language『 to select the Language you want the CartFlows settings to be translated.

Step 3: Select the language you want to translate into. We are going with the Custom Location settings. And Click on Start Translating.You can go with the location options as required.

Step 4: Now search for the Coupon or any Strings of the CartFlows you need to translate and add the Translated String in the bottom Translation section and Save.

Step 4: Now, as per your Site Language the respective updated strings of CartFlows will be translated on the frontend.

Note –

Make sure you have changed your WordPress language to the language you want your strings to be translated to. This can be done from the WordPress Dashboard > Settings -> General -> Site language.

How to Enable Fusion Page Builder on CartFlows Steps?

How to Enable Fusion Page Builder on CartFlows Steps?

You can enable the Fusion Page Builder for the CartFlows steps as shown in the following Screenshot –

Also, following are the steps where you can find the settings –

Step 1: Go to Settings > Fusion

Step 2: Under the Post Types option enable the Steps

Step 3: Save Changes and the Fusion page builder's Edit with Fusion Builder button will be enabled on the CartFlows steps.

Now, you can design your CartFlows Steps using the Fusion page builder.

How to Translate the CartFlows Plugin with GlotPress?

How to Translate the CartFlows Plugin with GlotPress?

CartFlows is translation ready out of the box. This means that all the strings in the plugin can be translated to your language very easily. In this article, let』s explore how you can get it in your own language.

Contributing your Localization through GlotPress

We maintain our translations on a GlotPress project. If you want to contribute translations to your language, just register for an account on the same GlotPress project and start contributing to the translations.

When any language is more than 90% translated we add that language to the plugin so that it is available to all the users. But if your language is not 90%  translated, you can still download the language manually and start using it, We encourage everyone to contribute translations so that all the users will benefit from it.

Downloading Translations Manually

Head over to  https://translate.cartflows.com/glotpress/projects/cartflows/ and look for your language in the list.

Now scroll down on the page where you will see the options to export the translations

Select the format to be 『Machine Message Object Catalog  .mo『 and then select export.

Make sure the name of the exported file is  for example, Great Britain English should be en_GB.mo

Upload the File on Your Server

The file that you just downloaded should be uploaded in – /wp-content/languages/plugins/carflows/

Notes –

The language of your WordPress installation should be the same as you want for our plugin. To change the language of WordPress, go to – Dashboard > Settings > General.The file should have a correct name so WordPress can read it. You may refer to this article for more information.

How to Translate the CartFlows Plugin with TranslatePress?

How to Translate the CartFlows Plugin with TranslatePress?

With the recent TranslatePress update v1.5.6, you can now translate Flows using the TranslatePress plugin.

You can follow the steps mentioned to achieve this requirement –

Step 1: Settings for the TranslatePress Plugin

Go to WordPress Dashboard > Settings > TranslatePress > General TabAdd the new languages that you wish to translate your website in under the All Languages tab.

Step 2: Translate the CartFlows Pages

Step 1. Open the Step/page of the CartFlows that you want to translate

Step 2. Click on the Translate Page button on the admin bar. 

Step 3. Click on the strings that you want to translate.

Step 4. Add your translated string and click the save button.

Or refer to the following video to see how you can do this –

How to Enable Webhooks in WooCommerce Cart Abandonment Recovery Plugin?

How to Enable Webhooks in WooCommerce Cart Abandonment Recovery Plugin?

Firstly, let us first understand the Webhooks. What are Webhooks? Let's say you are at an ATM making a Withdrawal and after a successful withdrawal transaction, you receive an automated debit message.

Here Webhooks is the method used to deliver this automated message when you make this transaction.

So in simpler terms, Webhooks listens for an event and performs certain actions like sharing a coupon code with the abandoned users or notifying the users, etc.

How Webhooks work in Cart Abandonment Plugin?

Let's start with enabling the Webhook under the WordPress Dashboard > WooCommerce > Cart Abandonment > Settings > Webhook Settings.

Now, imagine a scenario in which the Customer has Abandoned the Checkout process, and we have also enabled an option to send the customers an auto-generated special coupon code.

Here you can either provide a percent discount or a fixed discount on the cart amount. And here you can also set a coupon expiry timer.

Here's a video of how you can set up Webhook on your end –

Also, here are the steps followed in the above video to fetch the Webhooks –

Step 1: Visit and login to the Zapier website.

Step 2: Go to the My Zaps tab next to the Dashboard tab below the Zapier logo.

Step 3: Click on the Make a New Zap button and then you need to search and select Webhooks by Zapier under the Choose App & Event.

Step 4: When you select the Webhooks by Zapier option you will see the option to Choose Trigger Point > Catch RAW Hook and click on CONTINUE.

Step 5: After clicking on Continue, you will need to copy the URL under the Webhook URL for Webhooks by Zapier.

Now paste the Webhook URL under the Webhooks Settings of the Cartflows settings which we enabled in the initial step.

Step 6: By clicking on Trigger Sample, you can even Trigger a Sample and verify the details by going back to the Zapier screen and click on Test & Review button.

You can review the webhook data as shown below –

Step 7: Now, we need to choose an action on which the Webhook will perform certain actions and Choose an action event like Send Email.

Step 8: If you have enabled the Create Coupon Code, your abandoned customers will receive an email with the coupon providing a discount.

Note: You can create different listeners and perform various actions as per your requirement.

Filter to Change Cron Trigger Time

Filter to Change Cron Trigger Time

Did you ever have a requirement to change the Cron Trigger Time? You can change the cron trigger time by using the following filter –

// This Filter will change Cron Trigger Time ( Default 15 Min. )
add_filter( 'woo_ca_update_order_cron_interval', 'update_cron_trigger_time', 10 );
function update_cron_trigger_time($time_in_minutes){
$time_in_minutes = 30;
return $time_in_minutes;
}

How to Set Flow As Homepage?

How to Set Flow As Homepage?

Sometimes you may want a website just for a flow, so you would want the landing page step in your flow to be set as the homepage of your website.

It's very easy with CartFlows:

Click on settingsClick on readingClick on the homepage dropdownAlong with any pages on your site, you will also see your CartFlows landing page steps listed, choose the one you would like to be your homepageClick on save changes

Flatsome UX Builder?

Flatsome UX Builder?

In order for the Flatsome UX Builder to be available on CartFlows steps, the following function needs to be added to your child themes function file.

// Do not include this if already open!
/**
* Code goes in theme functions.php
*/
add_action( 'init', function () {
if( function_exists( 'add_ux_builder_post_type' ) ) {
add_ux_builder_post_type( 'cartflows_step' );
}
} );

Alternatively you can use the free Code Snippets plugin to add custom functions to your website.

Here is a tutorial on how to add custom functions to your website.