Abandoned Cart

The Abandoned Cart in WoodMart serves to boost sales by converting potential customers who were close to making a purchase but didn’t, ensuring that fewer sales opportunities are not lost. Notifying with the help of Emails.

In order to activate the Abandoned Cart, navigate to Theme Settings -> Shop -> Abandoned Cart:

After enabling the “Enable cart recovery”, each new cart is stored with “Open” status in Products -> Abandoned Carts  and is not displayed in the table of the abandoned cart until this cart is abandoned, that is until it passes the time specified in the Cart Timeout option:

NOTE: We recommend setting 2 days as a Cart Timeout.

After this time, the cron job “woodmart_abandoned_cart_cron” will be triggered which changes the status of the cart to “abandoned” and then the notation will appear in the table in Products -> Abandoned Carts:

Then an email will be sent with an offer to restore the cart.

If the cart is not restored, it will be deleted after the time specified in the “Cart cleanup” option.

As soon as the user restores the cart, this entry will be deleted, but a new one will be created immediately with the status ‘Open’ so that if the user does not complete the purchase again, the cycle will repeat.

“Recover guest carts” allows saving the carts of non-logged-in users, but the cart will only be saved after the email field is filled in on the Checkout page.


If you want unauthorized users to first give consent for the processing of personal data, you also need to enable the “Guest data consent” option.

The “Coupon” area allows you to set the coupon to the email of the Abandoned Cart that customers can apply to get a discount on those products that were in the Cart.

Abandoned cart emails

Our Abandoned Cart email letter supports the  WooCommerce “Email improvements” feature. Now, if you want to edit the email template, you need to override that template via the Child theme.

The templates are situated in woocommerce\emails\abandoned-cart.php file and in the woocommerce\emails\plain\abandoned-cart.php

The emails themselves are sent via the “woodmart_abandoned_cart_cron” cron which runs every 15 minutes and performs 4 steps:

  1. Removes the abandoned carts which is longer than the value of the Cart cleanup option.
  2. Changes the status of carts from “Open” to “Abandoned” for those carts that were created earlier than the value of the “Cart Timeout” option.
  3. Sends emails to 20 clients whose carts have the status of Abandoned. This figure can be changed by using the ‘woodmart_send_abandoned_cart_email_limited’ filter.
  4. Removes used and delayed coupons if appropriate options are turned on Theme Settings.

In order to change the cron run time, you can use the “woodmart_schedule_abandoned_cart_cron” filter.

Sign in

No account yet?