Category: eCommerce
GaurdedPay Checkout Icon Script
/** * ============================================================ * GUARDEDPAY PRO — Phase 2: Heading + Trust Badges (v2) * ============================================================ * * PURPOSE: Injects “Complete Your Order” heading, supporting text, * and trust badges INSIDE the GuardedPay payment method * area — between the…Continue reading
AffiliateWP — Block Referrals for Existing Customers
/** * Block AffiliateWP referrals for existing WooCommerce customers. * * Allows referral commissions only on a customer’s first-ever order. * Any returning customer will not generate a referral, regardless of * affiliate links clicked or coupons used. * *…Continue reading
GuardedPay Removal Tool
/** * ============================================================ * GUARDEDPAY PRO — Phase 1 Removal (PERMANENT) * ============================================================ * * PURPOSE: Hides “I Already Have A Coverage Code” radio option * from GuardedPay widget on checkout. * Overrides red border on GuardedPay payment widget. *…Continue reading
AffiliateWP — Restrict Checkout Referrals Dropdown by User Role
/** * Restrict Checkout Referrals to a Specific User Role & Filter Affiliates by Role * * – Only displays the Checkout Referrals dropdown to logged-in users * with the ‘influencer_sales’ role. * – Filters the affiliate dropdown to only…Continue reading
AffiliateWP – Second Affiliate Selection at Checkout (WooCommerce Checkout Block)
/** * Second Affiliate Selection at WooCommerce Checkout (Checkout Block Compatible) * * Adds a second affiliate dropdown alongside the Checkout Referrals addon’s * first dropdown and creates a separate referral for the second affiliate. * * Requires: AffiliateWP +…Continue reading
TExt test
test marko test agaain marko third editContinue reading
what代码
fb代码
WWOF v3: Force “View Cart” link in the success side-popup to open in the same tab
/** * WWOF v3: Force “View Cart” link in the success side-popup to open in the same tab. */ add_action( ‘wp_footer’, ‘wwof_v3_view_cart_same_tab_script’, 999 ); function wwof_v3_view_cart_same_tab_script() { ?>Continue reading