Amit choudhary blogs
Blogger
Force account creation by cart total
Force account creation at checkout if the cart total is a certain amount and the quantity…
Prevent Discounts on Upgrades
Does not allow a discount code to be applied when an license upgrade is present in…
Delete Double Logo At Checkout
/** * ============================================================ * Hide Duplicate Astra Header on Checkout * ============================================================ * * PURPOSE: Hides…
Yootheme Consent - Scroll block
/* When the consent banner is present, lock the viewport */ html:has(.tm-consent), body:has(.tm-consent) { overflow: hidden…
WWQ - Hide Add to Quote button from regular customers
add_filter( 'wws_wq_quote_button_html', 'wwq_restrict_quote_button_to_wholesale' ); add_filter( 'wws_wq_quote_button_cart_html', 'wwq_restrict_quote_button_to_wholesale' ); add_filter( 'wws_wq_quote_button_checkout_html', 'wwq_restrict_quote_button_to_wholesale' ); function wwq_restrict_quote_button_to_wholesale( $button_html )…
Use Full Store Address in Ships From
By default the Ships From metadata displayed under the add to cart button only shows the…
CSS Hide regular price
.original-computed-price ins:first-of-type{ display:none; }
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…
ACFW - Fix for fatal error on Add products tab with permanently deleted products
$guard = function( $add_products ) { if ( ! is_array( $add_products ) ) { return $add_products;…