Order_summary bug

Bane

No avatar

2008-04-29 21:06

Why does everything I put in orders_summary.tpl....shows double?? I inserted button for creditCard payment, and it's ok, but it shows two instead of one?!!!!

» Quick.Cart v2.x

treewood (OpenSolution)

Avatar: treewood

2008-04-30 09:11

Bane - could you send link to check it?

Bane

No avatar

2008-04-30 17:23

go to http://www.agencijajovan.rs and try to order something at the end, after you place the order you can see button.

Bane

No avatar

2008-04-30 17:29

it'a a TEST button

Bane

No avatar

2008-05-02 13:06

this is how my orders_sumary looks like:

<!-- BEGIN SHOW -->
<div id="orderFinish">
<div id="message">
<div id="ok">
$lang[Order_finished]<br />
<!-- BEGIN ORDER_PAYPAL -->
<form action="https://www.moneybookers.com/app/payment.pl" method="post" target="_blank">
<input type="hidden" name="pay_to_email" value="apsolutna0@yahoo.com">
<input type="hidden" name="transaction_id" value="Order ID $iOrder">
<input type="hidden" name="return_url" value="http://www.moneybookers.com/payment_made.html">
<input type="hidden" name="cancel_url" value="http://www.moneybookers.com/payment_cancelled.html">
<input type="hidden" name="status_url" value="https://www.moneybookers.com/process_payment.cgi">
<input type="hidden" name="language" value="EN">
<input type="hidden" name="pay_from_email" value="payer@moneybookers.com">
<input type="hidden" name="amount" value="$aData['fSummary']">
<input type="hidden" name="currency" value="EUR">
<input type="hidden" name="firstname" value="$aData[sFirstName]">
<input type="hidden" name="lastname" value="$aData[sLastName]">
<input type="hidden" name="address" value="$aData[sStreet]">
<input type="hidden" name="postal_code" value="$aData[sZipCode]">
<input type="hidden" name="city" value="$aData[sCity]">
<input type="hidden" name="detail3_text" value="$aList[sProduct]">
<input type="hidden" name="confirmation_note" value="Agencija &#8220;Jovan&#8221; vam želi ugodno čitanje nove knjige!">
<input type="submit" value="Ukoliko ste izabrali kreditnu/debitnu karticu kao način plaćanja, kliknite ovde">
</form>
<!-- END ORDER_PAYPAL -->
</div>
</div>
<script type="text/javascript" src="$config[dir_js]orders.js"></script>
<script type="text/javascript">
<!--
window.onload = function(){
delSavedUserData( );
}
//-->
</script>
<h3>$lang[Order_id] $aData[iOrder]</h3>
<table cellspacing="0" id="orderDetails">
<tr>
<th>
$lang[First_name]:
</th>
<td>
$aData[sFirstName]
</td>
</tr>
<tr>
<th>
$lang[Last_name]:
</th>
<td>
$aData[sLastName]
</td>
</tr>
<tr>
<th>
$lang[Company]:
</th>
<td>
$aData[sCompanyName]
</td>
</tr>
<tr>
<th>
$lang[Street]:
</th>
<td>
$aData[sStreet]
</td>
</tr>
<tr>
<th>
$lang[Zip_code]:
</th>
<td>
$aData[sZipCode]
</td>
</tr>
<tr>
<th>
$lang[City]:
</th>
<td>
$aData[sCity]
</td>
</tr>
<tr>
<th>
$lang[Telephone]:
</th>
<td>
$aData[sTelephone]
</td>
</tr>
<tr>
<th>
$lang[Email]:
</th>
<td>
$aData[sEmail]
</td>
</tr>
<tr>
<th>
$lang[Ip]:
</th>
<td>
$aData[sIp]
</td>
</tr>
<tr>
<th>
$lang[Date]:
</th>
<td>
$aData[sDate]
</td>
</tr>
<tr>
<th>
$lang[Comment_order]:
</th>
<td>
$aData[sComment]
</td>
</tr>
</table>
$sBasketList
<a href="javascript:window.print();" class="options" id="print"><img src="$config[dir_tpl]img/ico_print.gif" alt="$lang[Order_print]" />$lang[Order_print]</a>
</div>
<!-- END SHOW -->

<!-- BEGIN LIST_HEAD -->
<table id="basket" cellspacing="0">
<thead>
<tr>
<th>
$lang[Name]
</th>
<th class="price">
<em>$lang[Price]</em><span>[$config[currency_symbol]]</span>
</th>
<th class="quantity">
$lang[Quantity]
</th>
<th class="priceTotal">
<em>$lang[Summary]</em><span>[$config[currency_symbol]]</span>
</th>
</tr>
</thead>
<tbody>
<!-- END LIST_HEAD -->

<!-- BEGIN LIST_LIST -->
<tr class="l$aList[sStyle]">
<td class="name">
$aList[sProduct]
</td>
<td class="price">
$aList[sPrice]
</td>
<td class="quantity">
$aList[iQuantity]
</td>
<td class="priceTotal">
$aList[sSummary]
</td>
</tr>
<!-- END LIST_LIST -->
<!-- BEGIN LIST_FOOT -->
<tr class="tfoot" id="basketSummary">
<th colspan="3">
$lang[Summary_basket]:
</th>
<th class="priceTotal" id="orderCost">
$aList[sSummary]
</th>
</tr>
<!-- END LIST_FOOT -->

<!-- BEGIN COURIER -->
<tr class="tfoot" id="courierSummary">
<th colspan="3">
$lang[Delivery_cost] - $aData[sCourier]:
</th>
<th class="priceTotal" id="deliveryCost">
$aData[sCourierPrice]
</th>
</tr>
<tr class="tfoot" id="orderSummary">
<th colspan="3">
$lang[Summary_cost]:
</th>
<th class="priceTotal" id="summaryCost">
$aData[sSummary]
</th>
</tr>
</tbody>
</table>
<!-- END COURIER -->

treewood (OpenSolution)

Avatar: treewood

2008-05-03 07:29

bane - try to delete block: ORDER_PAYPAL. I think you have code in templates/messages.tpl too

Bane

No avatar

2008-05-03 11:49

Yes I thought about that. But my messages.tpl has no ORDER PAYPAL:

<!-- BEGIN DONE -->
<div id="message">
<div id="ok">
$lang[operation_completed]<br />
<a href="?p=$link">&laquo; $lang[operation_go_back]</a>
</div>
<!-- END DONE -->

<!-- BEGIN ERROR -->
<div id="message">
<div id="error">
$lang[operation_not_completed]<br />
<a href="?p=$link">&laquo; $lang[operation_go_back]</a>
</div>
</div>
<!-- END ERROR -->

<!-- BEGIN FORM_ERROR -->
<div id="message">
<div id="error">
$lang[operation_especify_all_required_fields]<br />
<a href="javascript:history.back();">&laquo; $lang[operation_go_back]</a>
</div>
</div>
<!-- END FORM_ERROR -->

<!-- BEGIN NOT_EXISTS -->
<div id="message">
<div id="error">
$lang[operation_not_found]<br />
<a href="javascript:history.back();">&laquo; $lang[operation_go_back]</a>
</div>
</div>
<!-- END NOT_EXISTS -->


That's all there is in messages.tpl

treewood (OpenSolution)

Avatar: treewood

2008-05-05 08:01

Bane - then i dont know why ... i didn't modify this code and i don't know where you have this problem ... maybe try install paypal again ...

Back to top
about us | contact