I know this isn’t the answer you’re looking for – but you’re setting yourself up for quite a bit of work.
The Woocommerce Wholesale Suite does exactly what you need flawlessly without all the extra work (aswell as role specific payment methods / shipping methods).
https://en-gb.wordpress.org/plugins/woocommerce-wholesale-prices/
Related Posts:
- In WooCommerce filter the available Payment Methods by User Role [closed]
- Admin access for custom user capabilities
- WP_Query with meta_query for children
- WooCommerce limited role
- Tried to create a user role that can only edit user information, but my test account cannot view the dashboard. What am I missing?
- WooCommerce which roles and capabilities control user login re-direct to Woo Account Page?
- WooCommerce Admin order – Only run action if user is loaded
- WooCommerce get_author_posts_url() – Author URL redirecting to shop base
- Sort products by Sale price and stock status
- Switch to user link shortcode
- How to show specific admin menu to specific user role?
- Assign user role by text field in WordPress (Woocommerce) [closed]
- Need help with woocommerce roles
- Update a list of product to featured if product have meta value (Mysql not wpquery)
- How to change user role after login?
- how to change value return by _stock_status
- Woocommerce customer role doesn’t change if user is already a subscriber [closed]
- Changing second user role while updating/downgrading membership level – s2member [closed]
- How to add a menu page for options in wordpress for user that has the role of vendor?
- How to disable the “Upgrade or Downgrade” button in “My account” of WooCommerce Subscriptions
- Restrict the shop_manager role to the WooCommerce Orders Page
- Can I remove WooCommerce specific product categories from shop managers?
- How to check if is in cart page? [closed]
- Display single product attribute value on Shop page (Woocommerce)
- Woocommerce 3.1 Add product image to order confirmation email not working
- Woocommerce: show default variation price is products list?
- WooCommerce add_to_cart url not working [closed]
- How to Add Product Variation with Multiple Images via WooCommerce REST API
- How to build wordpress site which will have location based services & products?
- How we can edit variations on cart page? [closed]
- new WC_Order(); Coming Back Empty
- Is there any way to find which action/hook is fired?
- Woocoomerce product category count including subcategories
- Get the category ID in checkout page woocomerce
- “Cannot read property ‘replace’ of undefined” Javascript error when trying to add attribute terms from add product page [closed]
- Order list woocommerce Orders based on meta for custom status
- How can i stop woocommerce checkout event based on api request result?
- WordPress Twenty Seventeen header image size not responsive for mobile
- WooCommerce back-end very slow takes 10 seconds to load, slow queries
- Woocommerce custom meta fields, sort by date
- WooCommerce hide unexisting variations
- jquery.validation.js is not working in woocommerce checkout page form
- How do I group product variations on cart page (Woocommerce)?
- multi-vender wooCommerce ability to separate products based on zip code [closed]
- Hide account tab to certain users
- How to Update the Order-Items While Editing an Order on the WooCommerce Admin Order Screen [closed]
- I want to run a script only once on a ‘thank you’ page
- search customers in front end by billing data
- Is it safe to have 2 mysql users?
- How to set a default value in a meta box
- Can I have one picture for all sizes in a product with Woocommerce?
- Adjust Price Display for Variable Product in Woocommerce [closed]
- Woocommerce password Reset
- Unable to pull in custom product attribute in shortcode [closed]
- Woocommerce redirect “add to cart” button to a contact form with product information to get a inquiry
- How to remove WooCommerce Plugin some specific features [closed]
- How to remove product attribute row woocommerce using code
- override the default WooCommerce products search form
- How can I override wp_price woocommerce function in my theme
- Woocommerce : read [max_qty] using backorder
- Conditionally run function based on custom meta value?
- Woocommerce checkout required field error
- Setting a default variation for each product on the child theme functions.php file
- Issue with WordPress customize
- Group product by Instance ID
- WordPress woocommerce new order email not working
- WooCommerce add extra price to products by each category
- Enable Gutenberg for Woocommerce
- How to change product category permalinks programmatically?
- Make e-Mail optional on Woocommerce sign up
- Missing variable options on add to cart form
- Create order actions from custom fields woocommerce
- when product out of stock single page show button notify woo-commerce
- WooCommerce , Auto cancel orders status from processing after X days
- Change WooCommerce Word “Product” to Another Word
- How does a WooCommerce site integrate with the existing real world customer members?
- How can I send information when a order is completed to my own POS?
- How to filter result set in custom metaboxes?
- How to change lost password email text using custom plugin wordpress?
- wc_mail in foreach loop is sending only the first email
- How to fix: “The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.” after malware cleaning
- How to hide / remove duplicated Woocommerce products from Shop page
- How to add product variations for large number of products in WooCommerce?
- WooThemes – Vendors / Bookings – Allow Vendors to manage resources
- Woocommerce Languages Files
- How to store ACF from product in user_meta?
- How to edit the header banner in the search page in woocommerce?
- How can I display one product using WooCommerce
- How do I change the woocommerce product gallery to show all thumbnails instead of three at a time in a carousel?
- How to edit schema.org markup of WooCommerce?
- Turkish Character Problem on mailing
- WooCommerce: Order Details Table > Add Product Meta
- How to change redirect code? [duplicate]
- Send data to external websites when there is an update or create a post
- Sort by price when price is set in multiple keys
- Add a custom code with custom link after add to cart for every product
- WooCommerce product permalink based on product’s current category
- Disable duplicate WC product category URLs
- how should i get products based on tags in woocommerce
- Add custom text to product category page