BuyButton.js display Shopify Market pricing?

awvickers
Tourist
7 0 2

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.

Replies 2 (2)

Liam
Shopify Staff
2731 298 769

Hi Awvickers,

 

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

Liam | Developer Advocate @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit Shopify.dev or the Shopify Web Design and Development Blog

awvickers
Tourist
7 0 2

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.