Admin Menu Editor plugin - Open Custom URL in New Tab

This code Snippet was initially created to be used with the Admin Menu Editor plugin (https://wordpress.org/plugins/admin-menu-editor/),…

Force downloadable checkbox to be checked on the vendor product editor

/** * Force downloadable checkbox to be checked using MutationObserver */ function force_downloadable_checkbox_checked() { ?>

Display Vendor Policies on the Vendor Shop Page

By default, we only show the Vendor Policies on the Single Product Page. Please use the…

How to Display Store Credits Earned in WooCommerce New Order Emails

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

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,…

Hide uncategorized from widget shop

Hide uncategorized category from widget in WooCommerce

Restrict payment methods based on cart total

Restrict payment methods based on cart total

Year footer update

Update copyright year automatically in footer

WooCommerce Delivery Address Popup – Sync Address in Header & Checkout

Enhance your WooCommerce store with an Amazon-style "Deliver to" address popup. Allow customers to select or…

Add Wholesale Order Form Favourites Button Functionality To WooCommerce Single Product Pages

Works hand in hand with the WooCommerce Wholesale Order Form plugin to provide product favouriting functionality…

Remove All Campaigns From a Specific URL

document.addEventListener('om.Campaign.startShow', function(event) { if(window.location.href == 'https://example.com/specific-page') { // replace with your specific URL var optinCampaign =…

Remove Specific Campaign From a Specific URL

document.addEventListener('om.Campaign.startShow', function(event) { if(window.location.href == 'https://example.com/specific-page') { // replace with your specific URL var optinCampaign =…

1 158 159 160 161 162 170