| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
different charge on differenet payment options | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
different charge on differenet payment options
Dear friends,
We are running a live store, we are accepting 2 types of payments. 1 is cc other is money order. with cc it is ok. but we need that when a customer selects, money order, we want to make %4 discount and show on invoice, in admin and ... is it possbile? charge total amount % 4 so the customer will see how much he has to transfer to our bank accounts any help is welcome. sincerely, Onur Caki
__________________
// x-cart 4.1.9 X-CART CSS SKIN XC SEO IP Addresses in Users Online for all users Color coded order status |
|||||||||
#2
|
|||||||
|
|||||||
Just cleaning up the forum and wanted to know if this request was fulfilled yet? If not, please let me know and I will keep the thread. Thanks!
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||||
|
|||||||||
Here's what we just implemented. This is with 4.0.14. Our conditions are payment method "Checks/Money Orders" and non-Wholesale customers.
1. Pass the paymentid by changing cart.php around line 587 from: Code:
Code:
2. Accept the paymentid by changing include/func.php around line 1007 from: Code:
Code:
3. In the same file and function, pass the paymentid again by changing the following around line 1019: Code:
Code:
Code:
Code:
Code:
Code:
4. In the same file, adjust function func_calculate_single to accept the paymentid by changing: Code:
Code:
5. In the same file and function, add the following towards the end of the function: Code:
Code:
6. Adjust skin1/customer/main/cart_totals.tpl by adding the following after the if block for "if $cart.discount gt 0": Code:
To also display this information in the order history and invoice: 7. Add the following to function func_order_data in include/func.php towards the bottom just above the return: Code:
8. Add the following to skin1/mail/html/order_data.tpl after the if block for "if $order.discount gt 0": Code:
If anyone has any improvements to this, please post. |
|||||||||
#4
|
|||||||||
|
|||||||||
can the mod move this to completed mods forum?
__________________
Dongan MercuryMinds Technologies Professional X-Cart Design, X-Cart Development, X-Cart Customization Services www.mercuryminds.com Follow us at Facebook / Twitter |
|||||||||
#5
|
|||||||
|
|||||||
Done
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#6
|
|||||||||
|
|||||||||
thank you will try to implent and improve
__________________
// x-cart 4.1.9 X-CART CSS SKIN XC SEO IP Addresses in Users Online for all users Color coded order status |
|||||||||
#7
|
|||||||
|
|||||||
why wil this not work for wholesale
Why wont this work voor wholesale?
I have two types of customers. one which pays the normal price. The other are the wholesale and they get 5% discount. Thanks for anyhelp.
__________________
X-Cart Gold 4.13 X-Configurator X-ROM Easy Checkout |
|||||||
#8
|
|||||||||
|
|||||||||
Re: why wil this not work for wholesale
Quote:
|
|||||||||
#9
|
|||||||
|
|||||||
Thanks for quick response
I thought it was not possible because of the requirement above. but I wil give it a try
__________________
X-Cart Gold 4.13 X-Configurator X-ROM Easy Checkout |
|||||||
|
|||
X-Cart forums © 2001-2020
|