Display available Installments based on Price

Project Requirement

Display a dropdown on the product page before the Add to Cart button with the list of installment options based on the product price.

The client is using a payment gateway module named “Eurobank Payment Gateway“, where he adds the rules of the installment periods and interest rates based on the installment period.

It looks something like the below screenshot

OpenCart Version: 3.0.3.8

Template: Journal3


The data saved in the setting table with the key value “payment_nickpapoutsis_eurobank_installments_array”


The project is delivered in an OCMOD file. No core file was edited.


RESULT

The result looks as shown below

Client site reference link: https://eshop2.gr/xanoumis/power-rack-pw200-7151


PROJECT CODE:

https://www.huntbee.com/resources/display-available-installment-based-on-price-code/