// Add store credit info to WooCommerce new order email notification // Store credits as coupon (before tax). $coupons = $order->get_coupons(); foreach ( $coupons as $coupon ) { if ( strtolower( $coupon->get_code() ) === ‘store credit’ ) { $sc_amount =…Continue reading
if ( ! function_exists( ‘wcvendors_show_vendor_policies’ ) ) { /** * Show WC Vendors vendor policies on the vendor store page */ function wcvendors_show_vendor_policies() { if ( ! is_wcv_pro_active() ) { return; } if ( ! WCV_Vendors::is_vendor_page() ) { return; }…Continue reading
/** * Force downloadable checkbox to be checked using MutationObserver */ function force_downloadable_checkbox_checked() { ?>Continue reading
/* Styling the Cookies plugin by CookiesYes * Authored by John Foliot – Foliot Digital Accessibility Services (https://fdas.ca) */ /* * This plugin is a bugger to style – why I don’t know and I never bothered to investigate. The…Continue reading