Coupon code - and free shipping - error

06.11.2014 09:41
#1
pcsupport
Joomshopping forum user no avatar
Name: pcsupport
15.09.2011
Posts: 166
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
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25854
Quote
Aw: Coupon code - and free shipping - error

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

 
06.11.2014 11:46
#3
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25854
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
pcsupport
Joomshopping forum user no avatar
Name: pcsupport
15.09.2011
Posts: 166
Quote
Aw: Coupon code - and free shipping - error

THANKS! It works :-)

 


Copyrights MAXXmarketing GmbH. Alle Rechte vorbehalten
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.