To add the QuadPay Widget to the Product Details Page template, add the below code snippet under the product price. Example product view template file:
<?php echo Mage::helper('mr_quadpay')->getProductWidgetHtml() ?>
To add the QuadPay Widget to the cart template, add the below code snippet under the cart total or subtotal. Example cart view template file:
Note: The QuadPay 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.
These aspects of the QuadPay widget can be customized:
- Layout spacing
- Alignment, including alignment by breakpoint
- Size (text and logo)
- Color (including different colors for price and logo)
- Logo alignment
- Minimum and maximum price
- Handling for variable pricing and changes in quantity
To customize the QuadPay widget, return to the Magento Admin Panel. Then go to System > Configuration > Payment Methods > QuadPay.
Visit the QuadPay 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.
If you would like support with adding the widget or for any questions please get in touch with us.
Updated 2 years ago
Now that you've added the QuadPay gateway and integrated the QuadPay widget, be sure to follow these quality assurance steps: