Post by i2Paq » Sat Nov 13, 2010 2:44 am

Be aware that the discount amount is shown without tax.

I have asked Fido-X if a change in code is possible to show he discount amount incl. Tax.

Norman in 't Veldt
Moderator OpenCart Forums

_________________ READ and Search BEFORE POSTING _________________

Our FREE search: Find your answer FAST!.

[How to] BTW + Verzend + betaal setup.


User avatar
Global Moderator

Posts

Joined
Mon Nov 09, 2009 7:00 pm
Location - Winkel - The Netherlands

Post by i2Paq » Thu Nov 25, 2010 10:56 pm

i2Paq wrote:Be aware that the discount amount is shown without tax.

I have asked Fido-X if a change in code is possible to show he discount amount incl. Tax.
Here is the fix for the TAX nor being calculated on the discount amount.

In the \catalog\controller\product\product.php

Find on line 214:

Code: Select all

$this->data['discount_amount'] = $this->currency->format($product_info['price'] - $special);
Replace with:

Code: Select all

$this->data['discount_amount'] = $this->currency->format($this->tax->calculate(($product_info['price'] - $special), $product_info['tax_class_id'], $this->config->get('config_tax')));
Thanks to Fido-X :)

Norman in 't Veldt
Moderator OpenCart Forums

_________________ READ and Search BEFORE POSTING _________________

Our FREE search: Find your answer FAST!.

[How to] BTW + Verzend + betaal setup.


User avatar
Global Moderator

Posts

Joined
Mon Nov 09, 2009 7:00 pm
Location - Winkel - The Netherlands

Post by timmieboy » Tue Nov 30, 2010 8:12 pm

Hi,

Thx it is working great

Tim

Active Member

Posts

Joined
Thu Jun 10, 2010 2:56 am

Post by timmieboy » Wed Jan 12, 2011 8:23 pm

Hai,

Because I upgraded my opencart to 1.4.9.3 this feature is not working anymore, is there maybe an up to date file.

Thx

Active Member

Posts

Joined
Thu Jun 10, 2010 2:56 am

Post by i2Paq » Thu Jan 13, 2011 12:51 am

timmieboy wrote:Hai,

Because I upgraded my opencart to 1.4.9.3 this feature is not working anymore, is there maybe an up to date file.

Thx

Use WinMerge to compare the files.

Norman in 't Veldt
Moderator OpenCart Forums

_________________ READ and Search BEFORE POSTING _________________

Our FREE search: Find your answer FAST!.

[How to] BTW + Verzend + betaal setup.


User avatar
Global Moderator

Posts

Joined
Mon Nov 09, 2009 7:00 pm
Location - Winkel - The Netherlands

Post by timmieboy » Tue Jan 18, 2011 6:45 pm

Hi, sorry but what do you mean with winmerge and compare files, I do not understand. Je kan ook in NL antwoorden.

Active Member

Posts

Joined
Thu Jun 10, 2010 2:56 am

Post by kajrob » Sat Jan 22, 2011 10:31 am

I am using Version 1.4.9.1 and went to upgrade so that this plug-in would work without realizing that my template is not compatible with the newer version of OpenCart. I had to downgrade back to my original version and the discount fix is no longer working, will winmerge work for this as well or would it be a better route to upgrade OpenCart and find a compatible template?

Please advise and I thank you for your help in advance!

Newbie

Posts

Joined
Fri Nov 05, 2010 7:23 am

Post by i2Paq » Sat Jan 22, 2011 7:51 pm

Winmerge should do the trick.

Make sure you dubbel check what you do!

Norman in 't Veldt
Moderator OpenCart Forums

_________________ READ and Search BEFORE POSTING _________________

Our FREE search: Find your answer FAST!.

[How to] BTW + Verzend + betaal setup.


User avatar
Global Moderator

Posts

Joined
Mon Nov 09, 2009 7:00 pm
Location - Winkel - The Netherlands

Post by kajrob » Sat Jan 22, 2011 11:53 pm

Also, the "Special Offers" feature does not work. Is there a FIX to that?? Version 1.4.9.1

Thanks,

Bob

Newbie

Posts

Joined
Fri Nov 05, 2010 7:23 am

Post by i2Paq » Sun Jan 23, 2011 12:15 am

kajrob wrote:Also, the "Special Offers" feature does not work. Is there a FIX to that?? Version 1.4.9.1

Thanks,

Bob
This is not related to this topic, please open another one.

Norman in 't Veldt
Moderator OpenCart Forums

_________________ READ and Search BEFORE POSTING _________________

Our FREE search: Find your answer FAST!.

[How to] BTW + Verzend + betaal setup.


User avatar
Global Moderator

Posts

Joined
Mon Nov 09, 2009 7:00 pm
Location - Winkel - The Netherlands

Post by brianp » Wed Mar 02, 2011 3:38 am

Thanks for this, I was looking for a way to show suggested retail price/our price/you saved.

Pasted the code into 1.4.9.3 and it worked perfectly.

New member

Posts

Joined
Sat Feb 26, 2011 11:17 pm

Post by graciele » Thu Mar 17, 2011 12:33 pm

Hi, thank you very much, it is working fine now.

http://www.mundodasdietas.com


Newbie

Posts

Joined
Thu Mar 17, 2011 12:07 pm

Post by slimcubby » Fri Apr 22, 2011 2:54 pm

Hmm... Works for me with the slash through reg price and showing special price but doesn't show the % savings. Any ideas?

New member

Posts

Joined
Thu Apr 07, 2011 2:02 pm

Post by aryadna2 » Sun Jul 24, 2011 6:09 am

Is there a way to show the same format on the outside? Like in featured items so people dont need to go into the product page to see the savings?

Newbie

Posts

Joined
Tue Jul 12, 2011 3:53 am

Post by boatparts » Tue Jul 26, 2011 10:23 pm

will it work with 1.5.0.5?????

Newbie

Posts

Joined
Tue Jul 26, 2011 1:11 am

Post by i2Paq » Sun Aug 28, 2011 12:45 am

boatparts wrote:will it work with 1.5.0.5?????
I've just asked Fido-X if he would be willing to build a VQmod for this.

Norman in 't Veldt
Moderator OpenCart Forums

_________________ READ and Search BEFORE POSTING _________________

Our FREE search: Find your answer FAST!.

[How to] BTW + Verzend + betaal setup.


User avatar
Global Moderator

Posts

Joined
Mon Nov 09, 2009 7:00 pm
Location - Winkel - The Netherlands

Post by fido-x » Sun Aug 28, 2011 10:11 am


Image
Modules for OpenCart 2.3.0.2
Homepage Module [Free - since OpenCart 0.7.7]
Multistore Extensions
Store Manager Multi-Vendor/Multi-Store management tool

If you're not living on the edge ... you're taking up too much space!


User avatar
Expert Member

Posts

Joined
Sat Jun 28, 2008 1:09 am
Location - Tasmania, Australia

Post by i2Paq » Sun Aug 28, 2011 5:10 pm

fido-x wrote:OK. See: viewtopic.php?f=131&t=39597
I think that a donation is well deserved: Done.

Norman in 't Veldt
Moderator OpenCart Forums

_________________ READ and Search BEFORE POSTING _________________

Our FREE search: Find your answer FAST!.

[How to] BTW + Verzend + betaal setup.


User avatar
Global Moderator

Posts

Joined
Mon Nov 09, 2009 7:00 pm
Location - Winkel - The Netherlands

Post by clapiana » Thu Sep 22, 2011 12:50 am

this doesnt work with oc 1495 (neither does the vqmod) anybody get it working?

New member

Posts

Joined
Thu Sep 01, 2011 6:22 pm

Post by shiokguy » Tue Oct 11, 2011 4:47 pm

i2Paq wrote:
fido-x wrote:OK. See: viewtopic.php?f=131&t=39597
I think that a donation is well deserved: Done.
I agreed with donation well reserved!

Dear Fido-X

I have post something similar here: -
http://forum.opencart.com/viewtopic.php ... 24#p207024

I am using discount instead of Special price. Can help me with a solution here? Kind of desperate :)

Regards
Shiok Guy

New member

Posts

Joined
Wed Jul 13, 2011 3:28 pm
Who is online

Users browsing this forum: No registered users and 2 guests