If a customer pay an invoice over 30 €, with a voucher of € 50, the difference and the credit voucher is not displayed
how can we realize this?
ПерваяПредыдущая 1 2 СледующаяПоследняя |
01.11.2010 21:02
|
|
papa-chicco
Name: Alex
17.10.2010
Сообщения: 123
|
|
01.11.2010 21:16
|
|
admin
(Support Team) Name: Admin
05.08.2010
Сообщения: 25919
|
|
01.11.2010 21:17
|
|
admin
(Support Team) Name: Admin
05.08.2010
Сообщения: 25919
|
|
01.11.2010 22:47
|
|
papa-chicco
Name: Alex
17.10.2010
Сообщения: 123
|
|
02.11.2010 07:49
|
|
admin
(Support Team) Name: Admin
05.08.2010
Сообщения: 25919
|
|
02.11.2010 07:54
|
|
admin
(Support Team) Name: Admin
05.08.2010
Сообщения: 25919
|
|
02.11.2010 09:43
|
|
papa-chicco
Name: Alex
17.10.2010
Сообщения: 123
|
Aw: Voucher
if you by something for 30,- € and pay this with a voucher for 50,- €. the voucher has a rest from 20,- €! there is no way to see the difference and in the admin the voucher is used and also finished. what we need is a function that shows the difference an update the voucher to the rest of 20,- € |
02.11.2010 10:43
|
|
admin
(Support Team) Name: Admin
05.08.2010
Сообщения: 25919
|
Aw: Voucher
file controller checkout function step5save() .... something like this if ($cart->getCouponId()){ $coupon = &JTable::getInstance('coupon', 'jshop'); $coupon->load($cart->getCouponId()); if ($order->order_discount > $order->order_total){ $coupon->coupon_value = $order->order_discount - $order->order_total; $coupon->store(); }elseif ($coupon->finished_after_used){ $coupon->used = $adv_user->user_id; $coupon->store(); } }
Последнее изменение: 02.11.2010 10:43
|
02.11.2010 12:37
|
|
papa-chicco
Name: Alex
17.10.2010
Сообщения: 123
|
|
02.11.2010 15:32
|
|
papa-chicco
Name: Alex
17.10.2010
Сообщения: 123
|
|
02.11.2010 20:34
|
|
admin
(Support Team) Name: Admin
05.08.2010
Сообщения: 25919
|
Aw: Voucher
Try this if ($cart->getCouponId()){ $coupon = &JTable::getInstance('coupon', 'jshop'); $coupon->load($cart->getCouponId()); if ($order->order_discount > $order->order_total){ $coupon->coupon_value = $order->order_discount - $order->order_subtotal - $order->order_shipping; $coupon->store(); }elseif ($coupon->finished_after_used){ $coupon->used = $adv_user->user_id; $coupon->store(); } }
Последнее изменение: 02.11.2010 20:35
|
02.11.2010 21:27
|
|
papa-chicco
Name: Alex
17.10.2010
Сообщения: 123
|
Aw: Voucher
now it calculate the difference, (in Admin "finish after use" not activated") but if you pay with your voucher in two orders; first order 10,- € Voucher 50,- € difference 40,- € your second order 100,- € voucher rest 40,- € difference 60,- To pay up to this point it works normaly the voucher is emty. but if a customer order a third time and use the voucher code, the voucher has a credit from 60,- € if you look in the admin you see the voucher with -60,- €. if you activate "finish after use" in Admin aou can only pay for one time |
03.11.2010 12:41
|
|
admin
(Support Team) Name: Admin
05.08.2010
Сообщения: 25919
|
Aw: Voucher
Joomshopping 2.4.3 Beta (for testing) http://www.webdesigner-profi.de/joomla-webdesign/joomla-shop/other-download.html |
04.11.2010 15:51
|
|
papa-chicco
Name: Alex
17.10.2010
Сообщения: 123
|
|
04.11.2010 17:55
|
|
admin
(Support Team) Name: Admin
05.08.2010
Сообщения: 25919
|
|
04.11.2010 21:34
|
|
papa-chicco
Name: Alex
17.10.2010
Сообщения: 123
|
|
09.11.2010 20:47
|
|
papa-chicco
Name: Alex
17.10.2010
Сообщения: 123
|
|
10.11.2010 07:52
|
|
admin
(Support Team) Name: Admin
05.08.2010
Сообщения: 25919
|
|
10.11.2010 09:23
|
|
papa-chicco
Name: Alex
17.10.2010
Сообщения: 123
|
Aw: Voucher
if you have a voucher about 33 euro and pay a bill with it over 23,- euro without shipping (10,- euro) normaly at the end of the order the customer has to pay 0,-Euro, of course the bill ist with shipping 33,- but in the aktuell version the bill is 10 euro (shippping) and the shown tax is only 1.60 € if it is right there must be showed a bill over 0,- euro inkluding a tax from 5,27 euro also if a voucher is bigger as the bill, ther must shown somwhere the rest of the voucher
Последнее изменение: 10.11.2010 09:24
|
10.11.2010 10:43
|
|
admin
(Support Team) Name: Admin
05.08.2010
Сообщения: 25919
|
|
ПерваяПредыдущая 1 2 СледующаяПоследняя |