[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
[ic] Re: Credit card surcharge on Checkout.html
Ed LaFrance writes:
> At 06:43 AM 9/6/2002 -0700, you wrote:
>> At 02:26 PM 9/6/2002 +0100, you wrote:
>>> I want to add 4.1% surcharge on credit card transactions only.
>>>
>>> I have searched the mail archives and come up with
>>>
>>> [discount ALL_ITEMS] $s * 1.041 [/discount] at the top of
>>> ord/checkout.html
>>
>> Does it work? If so, you can just do
>>
>> [if value mv_payment eq credit]
>> [discount ALL_ITEMS] $s * 1.041 [/discount]
>> [else]
>> [discount ALL_ITEMS] $s * 1.041 [/discount]
>> [/else]
>> [/if]
>>
>> ...don't forget to reset the discount at the bottom of receipt.html:
>>
>> [discount ALL_ITEMS][/discount]
>>
>> The upside (I guess) of this approach is that it does not call attention
>> to the fact that a surcharge is being applied, but the downside is that
>> the numbers on the checkout page don't add up: the subtotal is greater
>> than the sum of all items ordered. An alternative might be to use (and
>> itemize) mv_handling.
>>
>>
>> - Ed L.
>
> I need to correct myself on this, because I was thinking of [discount
> ENTIRE_ORDER]. The numbers will add up on the checkout page, but all the
> item prices and line subtotals will have increased from what they were up
> to that point.
[assign handling="[calc][subtotal] * 0.041[/calc]"]
might be an appropriate solution.
Ciao
Racke
--
Prolific Interchange Consulting (Excellent German Quality !).
Take a look at Materialboerse (http://www.materialboerse.de/), WITT
(http://www.witt-weiden.de/), Boxmover (http://shop.boxmover.ch/) or
Passionshop (http://www.passionshop.com/racke). Need a shop ? Contact us.