Meta Pixel - InitiateCheckout Event

Meta Pixel - InitiateCheckout Event

Prevent Wholesale Customer to Add Product to the Cart If The Product is Low on Stock

// Prevent wholesale customer to add to cart if the product is low on stock add_filter('woocommerce_is_purchasable',…

Retroactive Lifetime Licenses

Mark all existing licenses for an EDD product as lifetime licenses.

Vendor Canonical Links

Makes the vendor canonical links go to yoursite/vendor/vendor-name instead of yoursite/vendor.

Untitled Snippet

add_filter( 'woocommerce_product_single_add_to_cart_text', 'saphie_custom_add_to_cart_text' ); add_filter( 'woocommerce_product_add_to_cart_text', 'saphie_custom_add_to_cart_text' ); function saphie_custom_add_to_cart_text() { return 'ADD TO BAG'; }

Joana Hranova
<10

Single Vendor Purchase

Limits the customers purchase to a single vendor

Display a message after the 1st paragraph of posts

Thank you for reading this post, don't forget to subscribe!

How to Disable Comments on Event Posts? | Quick Event Manager

This code snippet is designed to automatically disable comments for event post types generated via the…

1 142 143 144 145 146 224