I am setting up a new store, and it will primarily be B2B but there will be some B2C here and there. All of our products have minimum-advertised-pricing restrictions, so we would like to have the products priced at MAP for non-B2B customers, but have our B2B product catalogs calculate prices based on the cost of the product (cost + 20% for example), not the MAP. As far as I can tell, the cost field in a product is just for reporting though, and the catalogs only let you increase or decrease based on the product’s price. Is there a way to do this, preferably without paying for an app?
Topic summary
A merchant is setting up a store with both B2B and B2C customers. Due to minimum-advertised-pricing (MAP) restrictions, they want to:
- Display MAP pricing for B2C/guest customers
- Calculate B2B catalog pricing based on product cost (e.g., cost + 20%) rather than the listed price
Current limitation: Shopify’s cost field is for reporting only, and B2B catalogs only allow adjustments based on the product’s price field, not cost.
Proposed solutions:
- Shopify Plus users: Use Shopify Scripts for dynamic pricing
- Non-Plus users: Implement custom Liquid templates with customer tags to display different prices based on customer type
Unresolved issue: The original poster questions whether Liquid-based price displays would carry through to cart and checkout, or if they only affect the product page. They note that Shopify’s documentation only shows methods for creating discounts off standard prices, not replacing the base price entirely.
The discussion remains open with no confirmed solution for ensuring cost-based pricing persists through the entire checkout flow.
Shopify does not support dynamic pricing based on the cost field, as it’s primarily used for reporting. However, you can achieve your goal without an app by using Shopify Scripts (Shopify Plus) or a custom Liquid solution combined with customer tags if you’re not on Plus.
- Shopify Plus User: If you are Shopify plus user then you can use Shopify Scripts to achieve this.
- Custom Liquid (For Non-Plus Users): If you’re not on Shopify Plus, you can create a separate product template, you can use Customer tags Or Manually adjust the pricing.
Here are the steps you can follow.
- Modify the product template to check if the customer is B2B (tagged).
- Show the MAP price for guest/non-B2B customers.
- Show the cost-based price for B2B customers.
Would you like me to do this stuff for you. You can reach me out.
Thanks
I know I can show the “cost + X” price, but will it still apply once the customer is in the shopping cart and checking out? All I can see in the shopify dev docs is a method for creating more discounts off the standard price