instant/instant-checkout

Instant Checkout Module

Installs: 1 225

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 1

Forks: 1

Type:magento2-module

v1.9.02 2023-01-17 03:13 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;
            ?>