4 Dec 2012, 3:27 PM
Zen Follower
- Join Date:
- Jan 2010
- Posts:
- 182
- Plugin Contributions:
- 0
Interesting break of function - GC not appearing in admin queue after purchase
So recently I did change one thing on the includes/modules/order_total/ot_gv.php
Line 47 from
$this->credit_class = true;
TO
// $this->credit_class = true;
if ($this->user_has_gv_account($_SESSION['customer_id']) > 0) {
$this->credit_class = true;
}
This works great for checkout and looks very clean. It removes the GC fieldset all together if the customer does not have any GC credit (the majority of our customers).
HOWEVER: It seems that this may be a link to the GC not appearing in admin for release in the queue. If a customer purchases (with no previous GC) nothing shows. But if I go on there (with GC), everything is normal and shows. What would this have to do with admin?