Shopify / mobile-buy-sdk-android

Shopify’s Mobile Buy SDK makes it simple to sell physical products inside your mobile app. With a few lines of code, you can connect your app with the Shopify platform and let your users buy your products using their credit card.
MIT License
214 stars 136 forks source link

Fetch available Discount codes and details #604

Closed venkataseshaiahudatha closed 4 years ago

venkataseshaiahudatha commented 5 years ago

Hi,

We are using Shopify mobile sdk version 3.3.0. Can you please help us to explore available discount codes and discount code details . We want to show all the available discounts in Android mobile applications.

Appreciated for quick help.

Thanks, Seshu

RubensHardt commented 5 years ago

Hi,

My company is having the same issue. Does Shopify have any plans to update the SDK for Android to match the iOS SDK?

Thanks, Rubens

rebeccajfriedman commented 5 years ago

@RubensHardt Please see the comment here: https://github.com/Shopify/mobile-buy-sdk-android/issues/605#issuecomment-492411710

@venkataseshaiahudatha we don't currently expose a list of discount codes in our API. I have added a ticket to our backlog for this. As a workaround, you could consider using Automatic Discounts instead of discount codes.

morganmccunn commented 4 years ago

Hi folks - this is an interesting use case! Best practice has been to use content (eg. banners, images, or text) to inform customers of the available discount codes for their products. This is because there are often hidden, or exclusive discount codes that merchants will use (eg. VIP program, first-time buyer, promotional discounts related to event attendees).

Exposing this through the API makes it so that users could see all the discount codes, even the hidden/exclusive ones. Perhaps you don't have these use cases now, but it's possible in the future 🙃

Beyond using content to display the current discount codes, the automatic discount codes are a great workaround as it doesn't require customer action (it's applied automatically!) and you don't need to update any content on your site!

If automatic discounts or content updates don't work for your companies, I'd love to learn more about the user experience you're trying to enable here!

morganmccunn commented 4 years ago

Will close this for now, but please re-open if you have thoughts or comments on the above 🙂 thanks!