mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-05 08:59:14 +08:00
Change the product_preview
to woocommerceBlock
This commit is contained in:
parent
f448fabe3c
commit
6259677855
3 changed files with 12 additions and 9 deletions
|
@ -40,7 +40,10 @@ document.addEventListener( 'DOMContentLoaded', () => {
|
|||
partnerClientId: PcpPayLaterConfigurator.partnerClientId,
|
||||
partnerName: 'WooCommerce',
|
||||
bnCode: 'Woo_PPCP',
|
||||
placements: ['cart', 'checkout', 'product', 'shop', 'home', 'product_preview'],
|
||||
placements: ['cart', 'checkout', 'product', 'shop', 'home'],
|
||||
custom_placement:[{
|
||||
message_reference: 'woocommerceBlock',
|
||||
}],
|
||||
styleOverrides: {
|
||||
button: publishButtonClassName,
|
||||
header: PcpPayLaterConfigurator.headerClassName,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue