Search results for: woocommerce
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() {…
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
Single Vendor Purchase
Limits the customers purchase to a single vendor
AffiliateWP Network Stats Shortcode
Adds the [affwp_network_stats] shortcode for displaying affiliate network stats (own sales, downline sales, earnings, referral counts)…
Untitled Snippet
add_filter( 'woocommerce_product_single_add_to_cart_text', 'saphie_custom_add_to_cart_text' ); add_filter( 'woocommerce_product_add_to_cart_text', 'saphie_custom_add_to_cart_text' ); function saphie_custom_add_to_cart_text() { return 'ADD TO BAG'; }
Exclude Wholesale Customers from receiving the PDF Invoice
Integration with the PDF Invoices & Packing Slips for WooCommerce plugin by WP Overnight.
AffiliateWP -- Searchable Checkout Referrals Dropdown WPCode Description
Applies Select2 to the affiliate selector dropdown at checkout to make it searchable. Handles WooCommerce classic…
GaurdedPay Checkout Icon Script
Adds Visa, MC, Padlock
What Shortcodes Can I Use in Advanced Gift Cards for WooCommerce?
ers the Gift Card Redeem Form, which lets customers enter their gift card code and redeem…
What Shortcodes Can I Use in Advanced Coupons for WooCommerce? (snippet 10)
acfw_customer_store_credit_balance – Show the logged-in customer’s store credit balance.