Hide Empty Categories for PP Grid Filter
add_filter( 'pp_cg_filters_show_available_posts_terms', '__return_true' );
Amit choudhary blogs
Blogger
Organization schema setup
This PHP snippet is for Organization schema (JSON-LD) that clearly says: “This site is published by…
Force account creation by cart total
Force account creation at checkout if the cart total is a certain amount and the quantity…
ANDRITZ Navigation Panels
document.addEventListener("DOMContentLoaded", function () { const triggers = document.querySelectorAll(".bp-andritz-utility"); const panels = document.querySelectorAll(".bp-andritz-panel"); const closes = document.querySelectorAll(".bp-andritz-close");…
Prevent Discounts on Upgrades
Does not allow a discount code to be applied when an license upgrade is present in…
Gaurded Pay FAQ
Answers questions before checkout
Restrict Coupons by Shipping Methods
To find your exact shipping method IDs, you can use either of these quick methods: 1.…
Use Full Store Address in Ships From
By default the Ships From metadata displayed under the add to cart button only shows the…
Untitled Snippet
Connect to site google
Add Custom Taxonomy to Woocommerce Single Product Page
add_action( 'woocommerce_product_meta_end', 'wcv_add_brands_single_product' ); function wcv_add_brands_single_product() { global $product; $taxonomy = 'wcv_brands'; // The custom taxonomy…