BuyButton.js display Shopify Market pricing?

Topic summary

A user is seeking native support for displaying Shopify Markets pricing in the Buy Button.js product UI, specifically for showing converted Canadian dollar prices when users are in the CA region on their WordPress site.

Current Situation:

  • The user found a related GitHub issue (#826) but it doesn’t address passing buyerIdentity/countryCode to the product UI component
  • Their WordPress site uses Buy Button for e-commerce and is expanding into Canada, requiring regionalized pricing display

Proposed Solution Rejected:

  • Another participant suggested a solution from the GitHub thread
  • The original poster dismissed this as relying on “custom JS and CSS hacks” rather than native functionality

Key Request:

  • Native Buy Button support for Markets pricing display
  • Argument: If Shopify is introducing Markets as a feature, the Buy Button platform should natively support it rather than requiring workarounds

Status: The discussion remains open with no official solution provided for native Markets pricing support in Buy Button.js.

Summarized with AI on November 14. AI used: claude-sonnet-4-5-20250929.

I’ve been following this issue on Github and it was helpfull, but I’m also wondering if there is also a way to pass the buyerIdentity/countryCode to the product UI as well? We have a WordPress site and utilize the Buy Button for our commerce. We are expanding into Canada and will regionalize our WordPress site. Therefore when a user is in the CA region, we want the price to be the Shopify converted price for CA to show instead of USD.

Hi Awvickers,

I see someone replied to your comment on the GitHub issue you linked - would the solution there work for you?

Personally, this is not a valid solution. I’m looking for native support from the Buy Button, not custom JS and CSS hacks as they can be unreliable. If Shopify is going to introduce Markets as a feature, this should also be extended to the Buy Button platform.