Show Certain Products to Certain Wholesale Customers Only

How to use: 1. Do not tag normal/default products. 2. Tag only “special” products with "wholesale-special".…

Elegant Fade In-Out

Hide all elements until they Visible in the Viewport

Allow SVG Files Upload

/** * Allow SVG uploads for administrator users. * * @param array $upload_mimes Allowed mime types.…

Force "Become a Vendor" to always go to /my-account/become-a-vendor/

/** * Force "Become a Vendor" to always go to * /my-account/become-a-vendor/ * * Applies to…

Modify User Verification URL Expiration

Changes the length of time before user verification email links expire

Website Schema

Melody Tholstrup
<10

Add vat over the commission

This will add VAT value over the commission

WPForms — Quantity-Aware Form Locker Inventory

Use the Form Locker's Total Entry Limit as an inventory for product items, ensuring that you…

Ralden Souza PRO
<10

WWS - Disable and Redirect the Wholesale Suite Dashboard

By applying the following code, you will: 1. Remove the Dashboard submenu item from the sidebar.…

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

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

Untitled Snippet

@ini_set( 'upload_max_size' , '120M' ); @ini_set( 'post_max_size', '120M'); @ini_set( 'max_execution_time', '300' );

1 110 111 112 113 114 224