How can I replace Carrier and Payment list with dropdown?

anarawata

No avatar

2010-01-09 00:00

First of all, i'm sorry for asking again this problem. Since I have been looking at the forum and no solution appeared.

http://opensolution.org/Quick.Cart/forum/?p=readTopic&nr=6555&page=999

In my case, I want to change Payment as Shipping Method and Carrier as City Destinations. Where there is only 1 Shipment Method and many City Destinations.
I've tried using the drop down menu on the carrier list, but it didn't shows what I want.

I've changed Block BEGIN ORDER_CARRIERS and BEGIN ORDER_PAYMENT_CARRIERS_LIST on templates/orders_form.tpl become like this :

<!-- BEGIN ORDER_CARRIERS -->
<tr>
<th>$lang[City]</th>
<td>
<select name="sPaymentCarrier" onchange="countCarrierPrice( this )" size="1" style="width:150px">
$aData[sPayments]
</select>
</td>
</tr>
<!-- END ORDER_CARRIERS -->
<!-- BEGIN ORDER_PAYMENT_CARRIERS_LIST -->

<option value="$aData[iCarrier];$aData[iPayment];$aData[fPaymentCarrierPrice]">$aData[sName]</op tion>

<!-- END ORDER_PAYMENT_CARRIERS_LIST -->

But every existing City Destinations in the database, displayed one at a time like this picture:

http://img194.imageshack.us/img194/2673/shipment.png


Are there solutions that can help me? Because after I check the QC v2.x, dropdown menu on the Payment and Shipping options can be used well.

» Quick.Cart v3.x

beholder

Avatar: beholder

2010-01-12 02:03

there is quite a specialized solution needed here. I've done something like that for a client and it's not easy. Tell you what.. write to my email a detailed description of what you need, and I will look into it.

anarawata

No avatar

2010-01-12 04:49

no offense beholder, i know you can solve my problem. but i want to keep my project as free as i could. because, as you know QC is a free eCommerce developed by opensolution. and if there aren't any solution that can help me, then it's not "open" at all.

beholder

Avatar: beholder

2010-01-13 03:51

I gave you an option and it's not clear from your writing what you don't like about it.

Back to top
about us | contact