Class Wcap_Coupon
It will capture the coupon codes and apply the coupon code directly when ac reminder emails have the coupon
Package: Abandoned-Cart-Pro-for-WooCommerce\Frontend\Coupon
Author: Tyche Softwares
Located at includes/frontend/wcap_coupon_code.php
Author: Tyche Softwares
Located at includes/frontend/wcap_coupon_code.php
Methods summary
public static
string
|
#
wcap_capture_applied_coupon( string $valid )
It will captures the coupon code used by the customers. It will store the coupon code for the specific abandoned cart. |
public static
string
|
#
wcap_capture_coupon_error( string $valid, string $new )
It will captures the coupon code errors specific to the abandoned carts. |
public static
|
#
wcap_apply_direct_coupon_code( string $coupon_code )
It will directly apply the coupon code if the coupon code present in the abandoned cart reminder email link. It will apply direct coupon on cart and checkout page. |