mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-06 12:25:15 +08:00
Fix the custom placement
This commit is contained in:
parent
bc7baa8f9d
commit
894920bdf6
1 changed files with 1 additions and 4 deletions
|
@ -40,10 +40,7 @@ document.addEventListener( 'DOMContentLoaded', () => {
|
|||
partnerClientId: PcpPayLaterConfigurator.partnerClientId,
|
||||
partnerName: 'WooCommerce',
|
||||
bnCode: 'Woo_PPCP',
|
||||
placements: ['cart', 'checkout', 'product', 'shop', 'home'],
|
||||
custom_placement:[{
|
||||
message_reference: 'woocommerceBlock',
|
||||
}],
|
||||
placements: ['cart', 'checkout', 'product', 'shop', 'home', 'woocommerceBlock'],
|
||||
styleOverrides: {
|
||||
button: publishButtonClassName,
|
||||
header: PcpPayLaterConfigurator.headerClassName,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue