VirtueMart Forum

VirtueMart 1.1.x [ Old version - no longer supported ] => Payment VM 1.1 => Authorize.net VM 1 => Topic started by: analyzatechnologies on September 30, 2009, 11:50:46 AM

Title: Authorize code Showing All Shopper Groups Prices in Order Email Receipt
Post by: analyzatechnologies on September 30, 2009, 11:50:46 AM
I found this issue in virtuemart authorize net code and would like to share on this forum.

Virtuemart Authorize code (ps_authorize.php) showing All Shopper Groups Prices of ordered items in Order Email Receipt.

The solution is needs to add shopper group condition in left join  clause ...

LEFT OUTER JOIN #__{vm}_product_price ON (#__{vm}_product.product_id = #__{vm}_product_price.product_id AND #__{vm}_product_price.shopper_group_id='".$auth['shopper_group_id']."')


thanks
http://www.analyzatechnologies.com (http://www.analyzatechnologies.com)