Coupon code - and free shipping - error

06.11.2014 09:41
#1
mommek
Joomshopping forum user no avatar
Name: mommek
15.09.2011
Posts: 136
Quote
Coupon code - and free shipping - error

Hi,

When you have, for example free shipping above 100€, and you have Coupon -20% - Try put 102€ into cart - use discount coupon - go to checkout = free shipping. Fullsumm is under 100€ ...

It is bug?

Can you tell me, where I can find function for discount? I will fix it by myself.


Joomla: latest
JoomShopping: latest
PHP: latest
MySQL: latest
 
06.11.2014 11:43
#2
webdesigner
(Support Team)
User webdesigner
Name: Admin
05.08.2010
Posts: 16518
Quote
Aw: Coupon code - and free shipping - error

Free shipping for product price > 100 (product price 102)

 
06.11.2014 11:46
#3
webdesigner
(Support Team)
User webdesigner
Name: Admin
05.08.2010
Posts: 16518
Quote
Aw: Coupon code - and free shipping - error

Change in
Table / shippingmethodprice

function getGlobalConfigPriceNull($cart){
$jshopConfig = JSFactory::getConfig();
return ($cart->getSum() >= ($jshopConfig->summ_null_shipping * $jshopConfig->currency_value) && $jshopConfig->summ_null_shipping > 0);
}

$cart->getSum()
Chnage to
$cart->getSum(0, 1);

 
06.11.2014 11:55
#4
mommek
Joomshopping forum user no avatar
Name: mommek
15.09.2011
Posts: 136
Quote
Aw: Coupon code - and free shipping - error

THANKS! It works :-)

 
Copyrights MAXXmarketing GmbH. All Rights Reserved