Skip to content

Expand price rules #275

Answered by ericingram
torrfura asked this question in Help
Jun 16, 2023 · 4 comments · 5 replies
Discussion options

You must be logged in to vote

Storefront pricing logic will remove group-based price rules from the response unless there is an account logged in using that group. You can bypass it if you know the group ID in your frontend, like this:

await swell.products.list({
  $pricing: { account_group: "retail" }
})

Replies: 4 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
5 replies
@ericingram
Comment options

Answer selected by logeshswell
@amaidah
Comment options

@ericingram
Comment options

@amaidah
Comment options

@ericingram
Comment options

Comment options

You must be logged in to vote
0 replies
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
Help
Labels
3 participants