How to display the wholesale product pricing for wholesaler seller customers?
Enable the extension from customizer “B2B: Prices and Rules”, and open extension settings save the settings we mentioned in the screenshots and save it.
Label: Product Grid Price Locator (Query Selector)
Value: .price-item.price-item--regular
Label: Cart Line Product Price Locator (CSS Classnames)
Value: .product-option.product__price
Label: Cart Line Single Price Locator (CSS Classnames)
Value: .price.price--end
Label: Cart Total Price Locator (CSS Classnames)
Value: .totals__total-value
Label: Checkout Button Locator
Value: #checkout
Then we need to add some attributes into the theme files to display the wholesale pricing of product for wholesaler customers. Follow bellow steps:
Search price.liquid file and put the attribute in given screenshot location. Check Screenshot:
Search main-cart-items.liquid file and put the attribute in given screenshot location. Check Screenshot: