Skip to content

Custom pricing, order-only b2b shop, cms functionality #2847

Closed Answered by michaelbromley
globalexport asked this question in Q&A
Discussion options

You must be logged in to vote

Hi,

As it is an headless system, hiding prices from unauthorized visitors seems to be in our control, I assume. But how to set custom pricing for existing b2b customers? Is this possible?

Yes, you can of course hide prices in your front-end logic. But furthermore you can override the way fields like ProductVariant.price get resolved so that you can also hide the prices from direct API calls.

To implement customer-specific pricing would require a custom implementation. You'd create a plugin in which you can define the required entities & logic. For instance, you might want to create a new entity to store the customer-specific prices, which has a relation to both a ProductVariant and a Cu…

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by globalexport
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants