News:

Looking for documentation? Take a look on our wiki

Main Menu

Authorize code Showing All Shopper Groups Prices in Order Email Receipt

Started by analyzatechnologies, September 30, 2009, 11:50:46 AM

Previous topic - Next topic

analyzatechnologies

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