问题
Is a theme modification necessary for blueprint themes in order to properly provide support for apple pay or is it provided through the %%GLOBAL_AdditionalCheckoutButtons%% variable?
回答1:
To get the apple pay button with white bg/black text, you need to add the following css:
.apple-pay-checkout-button {
background-image: -webkit-named-image(apple-pay-logo-black);
background-color: white;
}
For black text/white bg:
.apple-pay-checkout-button {
background-image: -webkit-named-image(apple-pay-logo-black);
background-color: white;
border: .5px solid black
}
The necessary html and integrations bits are already there with the variable you mentioned
来源:https://stackoverflow.com/questions/39573965/apple-pay-on-blueprint-themes