apastalas Posted April 14, 2015 Share Posted April 14, 2015 (edited) Hello, I need to atach leasing e-calculator, looks very simple, but... Here is the code that I need to put in product.tpl: <iframe src="https://secure.mokilizingas.lt/online/calc/{layout}/{api-key}/{price}/{months}/{advance}/{share}/" scrolling="no" frameborder="0" allowtransparency="true" style="border: none; width: 100%; height: 100%;" title="Moki lizingas"></iframe> Everything works fine, but calculator doesn't show any numbers, and I don't know what code I need to write there {price} stands. At this moment I have to show two prices and I Used this code in product.tpl: <div class="price"> <p class="our_price_display" itemprop="offers" itemscope itemtype="http://schema.org/Offer"> {if $priceDisplay >= 0 && $priceDisplay <= 2}{convertPrice price=FrontController::ConvertPrice($productPrice,$cookie->id_currency,4)} {if $currencyFormat == 1 || $currencyFormat == 4} <meta itemprop="priceCurrency" content="{$currency->iso_code}" /> {$currencySign} <span id="our_price_display" itemprop="price">{$rightPrice|regex_replace:"/[\\{$currencySign}]/":""}</span> {else} <span id="our_price_display" itemprop="price">{$rightPrice|regex_replace:"/[\\{$currencySign}]/":""} {convertPrice price=$productPrice}</span><meta itemprop="priceCurrency" content="{$currency->iso_code}" /> {/if} <!--{if $tax_enabled && ((isset($display_tax_label) && $display_tax_label == 1) OR !isset($display_tax_label))} {if $priceDisplay == 1}{l s='tax excl.'}{else}{l s='tax incl.'}{/if} {/if}--> {/if} </p> I'm attaching screen shot. Using prestshop 1.5.6.1. Website www.akvakomfortas.lt Thanks for any help. Edited April 14, 2015 by apastalas (see edit history) Link to comment Share on other sites More sharing options...
sandipchandela Posted April 15, 2015 Share Posted April 15, 2015 You need to contact mokilizingas api center for calculator display. As far as, some of the data are missing such as SL_DATA in javascript. Link to comment Share on other sites More sharing options...
apastalas Posted April 15, 2015 Author Share Posted April 15, 2015 SL_DATA from leasing e-calculator code? Link to comment Share on other sites More sharing options...
sandipchandela Posted April 15, 2015 Share Posted April 15, 2015 SL_DATA from leasing e-calculator code? Yes it conflicting with PS. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now