Search results for: woocommerce
How To Allow Shop Manager to Manage Feeds?
#-- Allow Shop Manager to Access Product Feed Menus --# function allow_feed_menus_to_shop_manager( $capability ) { if…
Change a currency symbol AMD to Դրամ
/** * Change a currency symbol */ add_filter('woocommerce_currency_symbol', 'change_existing_currency_symbol', 10, 2); function change_existing_currency_symbol( $currency_symbol, $currency )…
product attributes on hover
a snippet to show product attributes in product archive grid layout
Remove Clear Link @ Variable Single Product Page
Remove clear link from attribute from single product page
Disable Schema Output for WooCommerce products
This filter can be used to Disable Schema Output for WooCommerce products.
تغيير عمله
/** * Change a currency symbol */ add_filter('woocommerce_currency_symbol', 'change_existing_currency_symbol', 10, 2); function change_existing_currency_symbol( $currency_symbol, $currency )…
Livrare 20kg plus
Cheltuielile de livare nu sunt incluse în prețul total la comenzile care depășesc 20 kg !…
Remove Gutenberg Blocks CSS
add_action( 'wp_enqueue_scripts', function () { wp_dequeue_style( 'wp-block-library' ); wp_dequeue_style( 'wp-block-library-theme' ); // Remove WooCommerce block CSS…
exclude meta key from duplicating products
exclude meta key from duplicating products
Custom Heading above Qty (Woocommerce)
let qty = document.querySelector(".e-atc-qty-button-holder"); let text = ` How many card you’re planning to purchase? Choose…
WWQ - Allow quoting out-of-stock products
add_action( 'woocommerce_single_product_summary', 'wwq_show_quote_button_for_out_of_stock', 31 ); function wwq_show_quote_button_for_out_of_stock() { global $product; if ( ! $product instanceof WC_Product…
WWPP – Customize the admin “New Order” email subject for wholesalers v1.1
How to apply: 1. Replace the previous snippet with this one in your functions.php or Code…
WWPP - Customize the admin "New Order" email subject for wholesalers
/** * Customize the Admin "New Order" email subject for wholesale customers only */ add_filter( 'woocommerce_email_subject_new_order',…
Add Customer Name Column to Affiliate Portal Referrals Tab
Adds a Customer Name column to the main Referrals table in the Affiliate Portal. Pulls the…
Disallow Store Credit When There Is an Active Coupon in the Cart
- When you apply coupon first, once the cart refreshes, the Store Credit field will be…