Made the icon-only option the default one for express checkout buttons (like WooPayments). When you install the Stripe plugin on a new site and enable Google/Apple Pay, the default button will be icon-only.
Fixed the ECE button position on the shortcode cart page.
Testing instructions
Case 1:
Build this branch and upload the zip to a fresh site (JN site). Enable Google/Apple pay and confirm that the default selected button type is icon only.
Case 2:
Install the PayPal plugin in your site and complete setup. (Instead of PayPal you may also use any other payment gateway that would show the payment button on the shortcode cart page).
Add a product to your cart and go to the shortcode cart page.
In develop branch, notice that the ECE button is placed above.
In this branch, confirm that the ECE button is placed with other payment buttons.
Changes proposed in this Pull Request:
Made two tiny design updates in this PR.
Testing instructions
Case 1:
Case 2:
develop
branch, notice that the ECE button is placed above.