SHOW PARCEL IN VIEW like a payment option

I have a doubt about how to automate a process where you have a product with a price and with javascript or another way, in VIEW it will calculate how many pacels client can pay.



Example:



PRODUCT A

Price U$ 100.00

or 10X U$ 12.00 in credit card’s payment





Kit Emagrecimento Total - Fligs

De: R$ 282,00

Por: R$ 265,00

ou 10x R$ 26,50

Envio Imediato

[FREE FREIGHT]



#####



I believe things can be made by a algorithm that show something like:



if price > 300 then

show "10x " price/10 + price0.05

else

if price > 250 then

show “8x” price/8 + price
0.05

else…



else…



else

if price < 30.00

show "1x " price







#######



Another thing will can see in the image in attachment is that you can configure FREE FREIGHT for products over a PRICE.



For example:

if productPrice > 100.00

show “FREE FREIGHT” (or show /images/FREEFREIGHT.JPG)







Has anybody tryed something like this?



How and WHERE can I configure it in VIEW archives?



Is there a better way to do that?







THANKS FOR YOUR HELP!

cp_parcel.jpg

Nobody?



Hasn’t Anybody To Change Payment Information In First Page?



Javascript?



Or



Other Thing?

Nobody know it?

Neither the file I can change?