Disable price in courier

LeoGetz

Avatar: LeoGetz

2006-02-05 12:38

Hi!

I want to diable the price in courier. Jus t want the customer to choose
courier not the price.

treewood (OpenSolution)

Avatar: treewood

2006-02-05 13:09

edit templates/couriers_select.tpl and change:
<option value="$aList[iCourier]|$aList[fPrice]">$aList[sName] - $aList[fPrice] $config[currency_symbol]</option>

to

<option value="$aList[iCourier]|0.00">$aList[sName] $config[currency_symbol]</option>

LeoGetz

Avatar: LeoGetz

2006-02-05 20:48

thx treewood

LeoGetz

Avatar: LeoGetz

2006-02-14 17:43

And how do I disable the amount for courier, in which file?

LeoGetz

Avatar: LeoGetz

2006-02-14 18:00

I found something in templates/default/orders_delivery.php line 165.
I deleted from <!-- BEGIN COURIER --> to <!-- END COURIER -->. After I did that it came up an error that says: "No block: COURIER in file: templates/default/orders_delivery.tpl". What should I do?

LeoGetz

Avatar: LeoGetz

2006-02-15 16:00

Anyone?

treewood (OpenSolution)

Avatar: treewood

2006-02-15 17:46

You shouldnt delete <!-- BEGIN COURIER --> and <!-- END COURIER -->. Give it back ... delete only html between this comments. COURIER it is block of html file ...

LeoGetz

Avatar: LeoGetz

2006-02-15 18:27

Which text should I delete in:

<!-- BEGIN COURIER -->
<tr class='order_table_footer_light'>
<td colspan='3' style='text-align: right;' class='order_table_footer_light'>
$lang[Delivery_cost]
</td>
<td style='text-align: right; font-weight: bold;' class='order_table_footer_light' id='deliveryCost'>
0.00
</td>
<td style='text-align: left;'>
$config[currency_symbol]
</td>
</tr>
<tr class='order_table_footer'>
<td colspan='3' style='text-align: right;' class='order_table_footer'>
$lang[Summary_cost]
</td>
<td style='border: 0px; font-weight: bold;' class='order_table_footer' id='summaryCost'>
$aBasket[fSummary]
</td>
<td style='text-align: left;'>
$config[currency_symbol]
</td>
</tr>
<tr>
<td colspan='5' style='padding: 5px; text-align: right;'>
<input type='hidden' name='fSummary' value='' />
<input type='submit' value='$lang[send]' class='submit' />
</td>
</tr>
</table>
</form>
<!-- END COURIER -->

I deleted everything and theres is no button left to confirm the order. haha.

LeoGetz

Avatar: LeoGetz

2006-02-17 17:15

I solved it.

Back to top
about us | contact