Voucher

StartZurück 1 2 WeiterEnde
01.11.2010 21:02
#1
papa-chicco
Joomshopping forum user no avatar
Name: Alex
17.10.2010
Posts: 123
Quote
Voucher

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?

 
01.11.2010 21:16
#2
webdesigner
(Support Team)
User webdesigner
Name: Admin
05.08.2010
Posts: 19075
Quote
Aw: Voucher

Display:
Endbetrag 0.00 EUR

 
01.11.2010 21:17
#3
webdesigner
(Support Team)
User webdesigner
Name: Admin
05.08.2010
Posts: 19075
Quote
Aw: Voucher

change template
components\com_jshopping\views\cart\tmpl\cart.php
components\com_jshopping\views\cart\tmpl\checkout.php

 
01.11.2010 22:47
#4
papa-chicco
Joomshopping forum user no avatar
Name: Alex
17.10.2010
Posts: 123
Quote
Aw: Voucher

what must i change?

 
02.11.2010 07:49
#5
webdesigner
(Support Team)
User webdesigner
Name: Admin
05.08.2010
Posts: 19075
Quote
Aw: Voucher

$this->rabatt_summ - $this->fullsumm

 
02.11.2010 07:54
#6
webdesigner
(Support Team)
User webdesigner
Name: Admin
05.08.2010
Posts: 19075
Quote
Aw: Voucher

Sorry. Maybe I do not understand you correctly.

 
02.11.2010 09:43
#7
papa-chicco
Joomshopping forum user no avatar
Name: Alex
17.10.2010
Posts: 123
Quote
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
#8
webdesigner
(Support Team)
User webdesigner
Name: Admin
05.08.2010
Posts: 19075
Quote
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();
}
}



Letzte Änderung: 02.11.2010 10:43
 
02.11.2010 12:37
#9
papa-chicco
Joomshopping forum user no avatar
Name: Alex
17.10.2010
Posts: 123
Quote
Aw: Voucher

i dont know bit i test ist
thx

 
02.11.2010 15:32
#10
papa-chicco
Joomshopping forum user no avatar
Name: Alex
17.10.2010
Posts: 123
Quote
Aw: Voucher

it dont work!

so i can use the voucher more than once fore the same conditions

finish after use is clicked

 
02.11.2010 20:34
#11
webdesigner
(Support Team)
User webdesigner
Name: Admin
05.08.2010
Posts: 19075
Quote
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();
}
}



Letzte Änderung: 02.11.2010 20:35
 
02.11.2010 21:27
#12
papa-chicco
Joomshopping forum user no avatar
Name: Alex
17.10.2010
Posts: 123
Quote
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
#13
webdesigner
(Support Team)
User webdesigner
Name: Admin
05.08.2010
Posts: 19075
Quote
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
#14
papa-chicco
Joomshopping forum user no avatar
Name: Alex
17.10.2010
Posts: 123
Quote
Aw: Voucher

in the version 2.5 it works, is it possible to get a update to this version?

 
04.11.2010 17:55
#15
webdesigner
(Support Team)
User webdesigner
Name: Admin
05.08.2010
Posts: 19075
Quote
Aw: Voucher

Please wait stable version (2-3 day)

 
04.11.2010 21:34
#16
papa-chicco
Joomshopping forum user no avatar
Name: Alex
17.10.2010
Posts: 123
Quote
Aw: Voucher

ok
thx for your help

 
09.11.2010 20:47
#17
papa-chicco
Joomshopping forum user no avatar
Name: Alex
17.10.2010
Posts: 123
Quote
Aw: Voucher

i found a little bug
if you pay with a voucher about 20 euro a bill over 20 euro is the tax showed with 0,- euro.
normaly the tax must be showed with 3,19 euro.

 
10.11.2010 07:52
#18
webdesigner
(Support Team)
User webdesigner
Name: Admin
05.08.2010
Posts: 19075
Quote
Aw: Voucher

I do not understand.

basket
Aw: Voucher

checkout finish
Aw: Voucher


Letzte Änderung: 10.11.2010 07:53
 
10.11.2010 09:23
#19
papa-chicco
Joomshopping forum user no avatar
Name: Alex
17.10.2010
Posts: 123
Quote
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
Aw: Voucher

also if a voucher is bigger as the bill, ther must shown somwhere the rest of the voucher


Letzte Änderung: 10.11.2010 09:24
 
10.11.2010 10:43
#20
webdesigner
(Support Team)
User webdesigner
Name: Admin
05.08.2010
Posts: 19075
Quote
Aw: Voucher

Tax fixed
Please test Joomshopping 2.5.1 Beta 2

Option: Discount for product \ discount for Total - will in the next version

 
StartZurück 1 2 WeiterEnde


Copyrights MAXXmarketing GmbH. All Rights Reserved
Durch die Nutzung dieser Website stimme ich zu, dass Cookies zur optimalen Gestaltung der Website sowie zur Analyse der Nutzung der Website verwendet werden. Weiterführende Informationen finden Sie hier. OK, einverstanden.