cancel
Showing results for 
Search instead for 
Did you mean: 

Integration of instalment widget

Integration of instalment widget

Good afternoon all.   I have been able to setup my store and all required plugins to allow for full transaction ability up to this point.  I have engaged with a credit provider as a payment partner to assist in driving sales via this channel.  They have provided me with a code that needs to be placed on the product detail page and am not very sure on how to do this 

 

The reference material provided is as follows:

 

Integrations

While each implementation is different and different websites might make use of different environments/configurations or setups, below are some of the most commonlu used integration methods and how to use them.

 

When using Magento, the most common place to display the Instalment Widget would be on the product detail page.

When working on this template page, you will have access to the getProduct(); function.

Using this fuction you can get access to the final selling price by accessing:

  • $this->getFinalPrice()

Using this value, you can now pass the variable directly into the data-amount property to dynamically add the price the widget:

 

<div id="instalmentCalc"

data-amount="$this->getFinalPrice();"

data-before="Credit Amount:"

data-after="per month"

data-textColor="#666"

data-bgColor="transparent"

data-padding="0"

data-margin="5"

data-fontFamily="inherit"

data-fontSize="16"

data-fontWeight="normal"> </div>

 

I would appreciate any advise and assistance I can get 

Many Thanks