Search results for: woocommerce
Add column Product type in WooCommerce
Add a column in the product list to differentiate the type of product
Сортировка методов доставки СДЭК по стоимости, от дешевых к дорогим
Сниппет предназначен для сортировки методов доставки СДЭК. Сортировка происходит от самых дешевых к самым дорогим.
WhatsApp Button to WooCommerce Single Product Pages
Display a WhatsApp button on WooCommerce single product pages. You can customize color and shape of…
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…
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(); }
Set Minimum total purchase amount
add_action( 'woocommerce_check_cart_items', 'required_min_cart_subtotal_amount' ); function required_min_cart_subtotal_amount() { // HERE Set minimum cart total amount $minimum_amount =…
login redirect changed from default my account page to home page
/** * WooCommerce My Account Page login Redirect */ add_action( 'wp_login', 'owp_redirect_after_logout' ); function owp_redirect_after_logout() {…
keep retail prices showing including tax when wholesale price is set to show excluding tax
Display Prices in the Shop set to Excluding tax under Wholesale → Settings → Wholesale Prices…
ACFW – Invalidate coupons based on a product's custom meta field using Custom Cart Item Meta
If you want to manage the restriction visually inside the Advanced Coupons Cart Conditions panel, you…
ACFW - Invalidate coupons for products with certain custom meta data
add_filter( 'woocommerce_coupon_is_valid', function( $valid, $coupon, $discount ) { $excluded_channels = $coupon->get_meta( '_excluded_og_channels', true ); if (…
WWPP - Hide Tax label on Cart/Checkout for wholesale customers
add_filter( 'woocommerce_countries_tax_or_vat', function( $label ) { if ( ! ( is_cart() || is_checkout() ) ) {…
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 (…