Category: eCommerce
Auto-Link WooCommerce Modern Template Email Header Image to Site URL
if ( ! function_exists( ‘WC’ ) ) { return; } function rd_wrap_header_image_with_link( $message ) { if ( ! is_string( $message ) ) { return $message; } $home = home_url( ‘/’ ); // Support both normal HTML and quoted-printable HTML. $markers…Continue reading
VDX Optimizer (copy)
// VDX Optimizer – SEO, Social Media & WooCommerce // SEO Meta Tags add_action(‘wp_head’, function() { $desc = ‘Descoperă chipsurile de măr VDX – gustări sănătoase, 100% naturale, făcute în Moldova.’; echo ‘‘; echo ‘‘; echo ‘‘; echo ‘‘; echo…Continue reading
VDX Optimizer
// VDX Optimizer – SEO, Social Media & WooCommerce // SEO Meta Tags add_action(‘wp_head’, function() { $desc = ‘Descoperă chipsurile de măr VDX – gustări sănătoase, 100% naturale, făcute în Moldova.’; echo ‘‘; echo ‘‘; echo ‘‘; echo ‘‘; echo…Continue reading
Meta Pixel Code
CSS snipett
/* ===== VCLIP MEDIA CLONE – GLOBAL STYLES ===== */ :root { –primary: #2D5BE3; –primary-dark: #1A48C1; –secondary: #FF6B35; –dark: #1A1A2E; –light: #F8F9FA; –gray: #6C757D; –white: #FFFFFF; –shadow: 0 10px 30px rgba(0, 0, 0, 0.08); –radius: 10px; –transition: all 0.3s ease;…Continue reading
Perfume
Donation Fee Calculation
/** * 2. Calculate the exact Stripe Fee (2.9% + .30) if “Yes” is selected */ add_filter( ‘charitable_get_donation_amount’, function( $amount, $data ) { if ( isset( $data[‘cover_fee_choice’] ) && ‘yes’ === $data[‘cover_fee_choice’] ) { // Reverse math formula: (Amount +…Continue reading
Donation Fee Radio Field
/** * 1. Register the Required Yes/No Radio Field */ add_action( ‘init’, function() { if ( ! class_exists( ‘Charitable_Donation_Field’ ) ) return; $field = new Charitable_Donation_Field( ‘cover_fee_choice’, array( ‘label’ => __( ‘Would you like your donation to cover third-party credit…Continue reading
Donation Fee Radio Field
/** * 1. Register the Required Yes/No Radio Field */ add_action( ‘init’, function() { if ( ! class_exists( ‘Charitable_Donation_Field’ ) ) return; $field = new Charitable_Donation_Field( ‘cover_fee_choice’, array( ‘label’ => __( ‘Would you like your donation to cover third-party credit…Continue reading