Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hi,
My website is nearly ready to launch but when testing I have found a problem with Apple Pay. It is available in my shop to pay for items if you buy it straight from an item's page. But if you want to use a discount code and go through to the cart and then checkout, there isn't an option to pay by Apple Pay at the end, only card or Paypal. I have followed instructions on the Shopify Help pages, but it doesn't resolve the problem. I have found similar threads on here with the same problem, but it doesn't seem to have been resolved, and they are all dated in the last couple of years. So I would like some up to date advice on this issue, and if anyone has managed to get round it and have Apple Pay as an option on the checkout page?
Thank you
Hi, @prettymagnifiqu!
I'm Miles from the Social Care team at Shopify. Your customers can use discount codes with Apple Pay only if they enter a discount code on the checkout page before clicking the Apple Pay button. If you show the Apple Pay button on the cart page, then your customers can't go to the checkout page to enter a discount code. To make sure your customers can use discount codes with Apple Pay, you need to show the Apple Pay button on the checkout page.
I'll explain below how you can achieve this, but please note this does require you to edit your stores' code. If you're not comfortable with coding and you're using a free theme from Shopify, then our Support team might be able to help you with this tutorial. Although Shopify can help you with many customizations, some kinds of customizations aren't supported.
If you're using a paid theme, then your theme was made by a third-party developer and Shopify's Support team can't help you with it. If you need help customizing a paid theme, then consider hiring a Shopify Expert. Similar to free themes, some kinds of customizations aren't supported because of limitations associated with the theme or Shopify admin.
Learn more about support for themes.
If you want the additional checkout buttons to show up on the checkout page, then you'll have to remove the buttons from your cart page. To remove the additional checkout buttons from your cart page:
{% if additional_checkout_buttons %}
<div class="additional-checkout-buttons">
{{ content_for_additional_checkout_buttons }}
</div>
{% endif %}
The additional checkout buttons now appear on the checkout page instead of the cart page.
From there, your customers can choose Apple Pay at the checkout and enter their discount codes.
To learn more visit the Shopify Help Center or the Community Blog.
hmm I altered the code as suggested and poof...now they're gone entirely. lol So this definitely didn't work for me.
As 2024 wraps up, the dropshipping landscape is already shifting towards 2025's trends....
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024In today’s interview, we sat down with @BSS-Commerce to discuss practical strategies f...
By JasonH Nov 13, 2024