nihatfahim

nihatfahim 4 years ago

any Update open cart 3.xxx?

epajazet

epajazet 8 years ago

I have installed v4 and it is great but I have found that taxes are not calculated with discount. It is showing me taxes without discount, and it should not. The taxes should be calculated at the end with shipping and discount.
Am I doing something wrong or is it made to be like this?

slimlv

slimlv 8 years ago

Which version of opencart you use ?
Can you send me by email
1. Screenshot with setting of the module
2. Screenshot of checkout page where the problem is shown

epajazet

epajazet 8 years ago

Thank you for your reply.
I have v. 1.5.4. installed.
This is screenshot with setings http://prntscr.com/glelhl and this is screenshot of a checkout page http://prntscr.com/glelx0
I have managed to change discount_by_payment.php in catalog/model/total by changing
$total -= $subtotal;
$discount=$discount*1.25;
$subtotal += $discount;
$total += $subtotal;

With this change I have corect total but now I the tax is calculate incorectly, and I can not find where to make tax calculate the discount.

slimlv

slimlv 8 years ago

discount/fee applies to subtotal+taxes sum, not before tax calculation.

your case is a bit special.
To account discount (when given in percents only !) on taxes you need to decrease $taxes variable instead of modifing $total.

Appling discount on taxes will break category selecting feature of the module: different products may be subject to different taxes and cart's total/taxes are stored as agregated values.



refresh

Deddycandra

Deddycandra 8 years ago

version 0.3 and 0.4 not working on 1.5.6.4

slimlv

slimlv 8 years ago

any errors ?

slimlv

slimlv 8 years ago

you need to select category or "all" to apply the discount

refresh

miss-x

miss-x 8 years ago

Very useful! Do you will make it for new opencart versions?

slimlv

slimlv 8 years ago

anyone welcomed to fund development for latest versions.

refresh

garygajes

garygajes 8 years ago

any update for 2.3?

prodip

prodip 9 years ago

@slimlv: First of all thank you for useful extension. I have found a problem and maybe you know its solution.
When editing order, I see discount by payment in order totals under Total tub, but when I save this order, discount by payment disappearing from order totals. I think there is missing code in your extension for this situation.
Thanks in advance.

slimlv

slimlv 8 years ago

should be fixed in version 0.4

refresh

danielperfeito

danielperfeito 10 years ago

I found a bug. When edit a sale, the total value alters and displays the value of the shipment. in the page admin/index.php?route=sale/order

zlato

zlato 10 years ago

THX works on 1.5.6.4

venusjewellers

venusjewellers 10 years ago

hi i am getting error,, i have added fees extra for cod payment,, but on my website it getting 2 times added on checkout page

pls help

diffice

diffice 10 years ago

3.0 Funziona sulla versione 1564, sono anche riuscito ad aggiungere una restrizione per custmer group in model>total

harfard

harfard 10 years ago

Is this extension working on 1.5.6.4 ?

tsob

tsob 11 years ago

hey blackspider thanks for replying.
are you suggesting to duplicate the extention? how could i do that?

BlackSpider

BlackSpider 11 years ago

tsob: What about duplicating this extension?

tsob

tsob 11 years ago

no help guys? anyone?

alanya43

alanya43 11 years ago

Thanks for share, working great.. How can i display discounted price on product page?

alanya43

alanya43 11 years ago

discount work but extra fee doesn't work or i didn't find on admin panel, and it's porible assign it to more than one payment option?

tsob

tsob 11 years ago

hi,
is it possible to assign it to more than 1 payment type?

rafael.luc

rafael.luc 11 years ago

Thanks, 0.3 worked in version 1.5.6.4, but go up files in folders manually

monta990

monta990 11 years ago

works on 2.0?

Funny77

Funny77 11 years ago

UPDATE: Okay I just found the solution. If you get always 0,00 you have to set the Sort Order after Sub-Total, otherwise the extension does not get the total price and thinks it is 0,00 ;)