Search results for: woocommerce
Hide SALE! Badges
/*Hide WooCommerce SALES Badges*/ .woocommerce span.onsale { display: none; } /*Hide SALES Badges in home page…
Resetting the Vendor & Pending Vendor Roles
add_filter('woocommerce_login_redirect', 'redo_roles', 10, 2); function redo_roles() { remove_role( 'pending_vendor' ); add_role( 'pending_vendor', __( 'Pending Vendor', 'wcvendors'…
Allow WooCommerce Shop Managers to manage vendors
/* Lets Shop Managers edit users with these user roles */ function wcv_allow_shop_manager_role_edit_capabilities( $roles ) {…
Move "Ships From" under the Product Meta, in the single product page template
Move "Ships From" under the Product Meta, in the single product page template by using 'product_ships_from'…
On Browsing WooCommerce Products
This snippet targets window shoppers and encourages them to add more products to their carts. This…
Auto Generate Virtual Coupon After a Customer Completed an Order
/** * Generate a virtual coupon when order is completed. * * @param int $order_id Order…
Kupon kódok megjelenítése az értesítő email-ekben
Ezzel a kóddal megjeleníthetjük a vásárlás során felhasznált kupon kódokat az értesítő email-ekben. Az egyszerűbb és…
Szállítási módok elrejtése a Kosár oldalon
Ezzel a kóddal a Kosár oldalon lehet a szállítási módokat elrejteni, így a vásárlók azt csak…
Hide Price & Add to Cart for Non Logged in Users for Specific Products
This code snippet allows you to hide the price and 'Add to Cart' button for users…
Change the sold by label on the product archive
// Unhook WC Vendors method remove_action( 'woocommerce_after_shop_loop_item', array('WCV_Vendor_Shop', 'template_loop_sold_by'), 9 ); // Define new sold by…
Masterstudy LMS - Woocomerce Create Account After Payment
Gửi email tài khoản sau khi đã "completed" đơn hàng trên Woocommerce (Cartflows) -> kích hoạt…
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…
product data tabs
/** * Rename product data tabs */ add_filter( 'woocommerce_product_tabs', 'woo_rename_tabs', 98 ); function woo_rename_tabs( $tabs )…
remove 'X' remove button in cart
.woocommerce table.shop_table .product-remove { text-align: center !important; display: none; }
REMOVE PRODUCT LINKS FROM YOUR SHOPPING CART
add_filter( 'woocommerce_cart_item_permalink', 'custom_remove_cart_product_link', 10 ); function custom_remove_cart_product_link() { return __return_null(); }