Search results for: woocommerce

Add Vendor Ratings / Feedback to Product Page

add_action('woocommerce_before_add_to_cart_form','vendor_feedback_product_page'); function vendor_feedback_product_page() { $vendor_id = get_the_author_meta('ID'); $vendor_shop = urldecode( get_query_var( 'vendor_shop' ) ); if (…

Change Method Label

add_filter( 'woocommerce_cart_shipping_method_full_label', 'wcv_override_vendor_shipping_label', 10, 2 ); function wcv_override_vendor_shipping_label( $label, $method ){ $label = 'Flat-rate'; // cost;…

Remove Method label

add_filter( 'woocommerce_cart_shipping_method_full_label', 'remove_shipping_method_title', 10, 2 ); function remove_shipping_method_title( $label, $method ){ $new_label = ''; if (…

Redirecting Vendors to Vendor Dashboard on Login

Snippet To Redirect Vendors to their Dashboard on login

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

Single Vendor Purchase

Limits the customers purchase to a single vendor

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

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…

Niyaz Poyilan
<10

Disable Schema Output for WooCommerce products

This filter can be used to Disable Schema Output for WooCommerce products.

<10

تغيير عمله

/** * 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 !…

product data tabs

/** * Rename product data tabs */ add_filter( 'woocommerce_product_tabs', 'woo_rename_tabs', 98 ); function woo_rename_tabs( $tabs )…

Carla Mawyin
<10

remove 'X' remove button in cart

.woocommerce table.shop_table .product-remove { text-align: center !important; display: none; }

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…

1 3 4 5 6