instant/instant-checkout

Instant Checkout Module

Installs: 8 492

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 1

Type:magento2-module

v1.9.22 2024-04-01 13:31 UTC

This package is auto-updated.

Last update: 2024-05-06 03:10:08 UTC


README

To add the Instant PDP button anywhere, copy and paste this block into a .phtml

            <?php
                $instantCheckoutHtml = $this->getLayout()
                ->createBlock('Instant\Checkout\Block\PdpBlock')
                ->setProduct($product)
                ->setTemplate('Instant_Checkout::ic-pdp-btn.phtml')
                ->toHtml();
                echo $instantCheckoutHtml;
            ?>