mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-01 07:02:48 +08:00
Add locations for block, do not load non-block scripts on block pages
This commit is contained in:
parent
dc3fde5abf
commit
bfaf05a96e
7 changed files with 89 additions and 9 deletions
|
@ -163,7 +163,7 @@ registerExpressPaymentMethod({
|
|||
content: <PayPalComponent/>,
|
||||
edit: <b>TODO: editing</b>,
|
||||
ariaLabel: config.title,
|
||||
canMakePayment: () => true,
|
||||
canMakePayment: () => config.enabled,
|
||||
supports: {
|
||||
features: ['products'],
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue