VirtueMart Forum

VirtueMart 2 + 3 + 4 => Administration & Configuration => Topic started by: robert on May 12, 2014, 21:10:23 PM

Title: Coupon not discounted in total on Purchase order
Post by: robert on May 12, 2014, 21:10:23 PM
Joomla 2.5.19 VM 2.6.0

I am having an issue with the final price of an order when a coupon is applied.

The Total price does not reflect the coupon discount...

Example...
SubTotal: $337.00           $0.00    $0.00         $337.00
Coupon Discount                                   $-168.50
Shipment Fee:    $0.00              $0.00         $0.00
Payment Fee:    $0.00              $0.00         $0.00
Total:                   $0.00    $0.00         $337.00

Any Idea how I can fix this?
Title: Re: Coupon not discounted in total on Purchase order
Post by: seyi on May 20, 2014, 16:16:45 PM
Hello,

Are you using the default virtuemart template?  If not switch it and see if it works there.  Might be a problem within the template.
Title: Re: Coupon not discounted in total on Purchase order
Post by: jenkinhill on May 20, 2014, 16:46:42 PM
Works fine for me VM2.6.1 and default VM template.
Title: Re: Coupon not discounted in total on Purchase order
Post by: Robert_ITMan on May 27, 2014, 16:01:01 PM
Robert, did you see Seyi's reply? That is likely your solution. To elaborate on the topic - I might be able to help you further as I just noticed when using taxes or discounts I needed to set them up 'by bill' instead of 'by product' (under Taxes & Calculation Rules). Let me know if you want to see my template files as I have edited them to show each item total, then coupons, then discounts, then payment fee, then taxes, then total.

VM > Orders & Products > Taxes & Calculation Rules (use 'by bill' instead of 'by product')
VM > Configuration > Shopfront > CHECK Enable Coupon Usage (if applicable)
VM > Configuration > Pricing > UNCHECK Show Tax in Cart (will not show on each item line)

/templates/custom/html/com_virtuemart/cart/default_pricelist.php
/templates/custom/html/com_virtuemart/orders/details_items.php
I also use Interamind Virtuemart Email Manager Plus ( http://www.interamind.com/index.php?&Itemid=99 ) and have customized their items list aswell
/plugins/vmee/tagHandlerVmeePro/tagTemplates/items_information.tpl.php