38 Snippets
<10 Favourites
<10 Downloads

Changing Multiple Properties on Store Credit Accordion Checkout Page

This allows you to customize other parts of the Store Credit Accordion on the Checkout Page

ALP - Fix missing custom order status options

Fixing the bug in Advanced Loyalty Program v 1.9.2 of missing custom order status options.

How to Display Store Credits Earned in WooCommerce New Order Emails

Add this to your "New Orders" email template from WooCommerce > Settings > Emails

ACFW - Fix for fatal error on Add products tab with permanently deleted products

$guard = function( $add_products ) { if ( ! is_array( $add_products ) ) { return $add_products;…

Block specific coupons during set hours

/** * Block specific coupons during set hours (1:00 PM - 3:00 PM) */ function block_coupon_during_specific_hours($valid,…

ACFW - Fraud prevention on one-time coupons

add_action( 'woocommerce_checkout_process', function() { $coupon_code = 'your_coupon_code'; $billing_phone = wc_clean( wp_unslash( $_POST['billing_phone'] ?? '' ) );…

Allow Subscriptions Product on BOGO and Add Product Search Field

add_filter( 'acfw_product_search_allowed_types' , 'acfw_search_add_support_for_subscription_products' ); function acfw_search_add_support_for_subscription_products( $product_types ) { $product_types[] = 'subscription'; $product_types[] = 'variable-subscription';…

Allow Admin to Redeem Customer's Loyalty Points to Store Credits

1. Add it to your site using one of the following methods: - Option A: Add…

Fix “Send to Friend” Field Visibility for Variable Gift Cards

This fix ensures the “Send to Friend” fields display correctly based on the selected variable gift…

Generate a virtual coupon when order is completed.

This snippet will generate a new virtual coupon for a coupon that you've enabled virtual coupon…

1 2