Revert "Change the product_preview to woocommerceBlock"

This reverts commit 55b2e6d8d4.
This commit is contained in:
Narek Zakarian 2024-03-12 19:53:53 +04:00
parent 55b2e6d8d4
commit f38ab36da8
No known key found for this signature in database
GPG key ID: 07AFD7E7A9C164A7
3 changed files with 8 additions and 11 deletions

View file

@ -30,10 +30,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', 'product_preview'],
styleOverrides: {
button: publishButtonClassName,
header: PcpPayLaterConfigurator.headerClassName,