I am making customizations to my theme (based on Dawn) and want to show the authenticated B2B user the consumer price ALONGSIDE the B2B catalog price. However, the consumer price is no longer available to me in liquid - it has been replaced by the authenticated B2B user’s catalog price.
Shopify Plus Support Chat provided a solution which would absolutely work:
You’ll simply need to add a product metafield to the products that contains the price value. And then just use some liquid to display the metafield wherever you want. And you can wrap the metafield in an if statement that checks if the user is B2B.
However, I really want to avoid duplicating data (storing the price on both the product variant AND a new product variant metafield) since this creates extra work up front and whenever I update prices.
My use case strikes me as a common B2B use case. I believe that accessing/displaying the product variant consumer price at the same time as the B2B catalog price should be possible using the liquid variant object (without duplicating the price data in a metafield). I requested that this be added as a feature request for B2B and was told that the development team would be made aware (no guarantee of delivery timeframe, ability for me to track the status of my request, or that the feature would ever be prioritized for work).
Do other community members see the need for this feature? If so, is there a better way for to lobby for this feature to be prioritized than simply mentioning it in a Shopify Plus Chat and posting it here?
