News:

Looking for documentation? Take a look on our wiki

Main Menu

Coupon double negative

Started by seyi, June 22, 2013, 11:41:47 AM

Previous topic - Next topic

seyi

Hello,

In vm 2.0.21 f, after applying a coupon code the
  + order detail in the backend
  + confirmation email
shows the discount as a double negative, example:

   --39.20
Seyi A
--------------------
Promotion enhancement for Virtuemart:
   - AwoCoupon FREE - http://www.awocoupon.com/starter
   - AwoCoupon Pro - http://awodev.com/products/joomla/awocoupon
   - AwoRewards - http://awodev.com/products/joomla/aworewards
   - AwoAffiliate - http://awodev.com/products/joomla/awoaffiliate

Milbo

I think we discussed about this in february or so. Please check your skype. We removed the minus imho. Long time you added a fix to your code to compensate this. Imho you just need to remove it ( a line, or a  * (-1), something like this.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

seyi

Hi Milbo,

Yes, I did that, the discounting works fine, no problem with the logic.  The problem is the display of the discount in order detail and email.  Instead of showing
"-39.20"

It shows
"--39.20"

See what I mean in this image:
http://tinypic.com/view.php?pic=34g0d3b&s=5
Seyi A
--------------------
Promotion enhancement for Virtuemart:
   - AwoCoupon FREE - http://www.awocoupon.com/starter
   - AwoCoupon Pro - http://awodev.com/products/joomla/awocoupon
   - AwoRewards - http://awodev.com/products/joomla/aworewards
   - AwoAffiliate - http://awodev.com/products/joomla/awoaffiliate

K&K media production

Please take a look in your template override. It seems you have there a "-" on coupon discount.

seyi

Hello,

Can you override the administrator template?

In any case, I am using the default, the one that came with Virtuemart, nothing external.
Seyi A
--------------------
Promotion enhancement for Virtuemart:
   - AwoCoupon FREE - http://www.awocoupon.com/starter
   - AwoCoupon Pro - http://awodev.com/products/joomla/awocoupon
   - AwoRewards - http://awodev.com/products/joomla/aworewards
   - AwoAffiliate - http://awodev.com/products/joomla/awoaffiliate

K&K media production

Oh sorry, I have not read "BE" ... will fix it for next version