Integrate the Widget

Add Widget to PDP

393

To add the Zip Widget to the Product Detail Page template, add the below code snippet under the product price. Example product view template file: design/frontend/rwd/default/template/catalog/product/view.phtml

<?php echo Mage::helper('mr_quadpay')->getProductWidgetHtml() ?>

Add Widget to Cart

1058

To add the Zip Widget to the cart template, add the below code snippet under the cart total or subtotal. Example cart view template file:
For Example: design/frontend/rwd/default/template/checkout/cart.phtml

Note: The Zip Cart Widget is functional site wide and will calculate using the Cart totals regardless of what template it is added to.

<?php echo Mage::helper('mr_quadpay')->getCartWidgetHtml() ?>

If the widgets do not appear after refreshing the browser, flush the cache.

Customize the Widget

To customize the Zip widget, return to the Magento Admin Panel. Then go to System > Configuration > Payment Methods > Zip.

Visit the Zip Widget Integration Guide and then input the appropriate snippets into the Product Page Widget Wrapper, Product Page Widget Customization, Cart Widget Wrapper, and Cart Widget Customization fields.

1266

What’s Next

Now that you've added the Zip gateway and integrated the Zip widget, be sure to follow these quality assurance steps: