Ian-San Posted November 9, 2002 Posted November 9, 2002 Ian, I hope you can help :cry: I am using Members Discount v1.1 with credit class install v1.1 on a 31 October version store. The members discount works great through to checkout but I am not getting the order id added to the credit_payment table. I have traced the problem to $insert_id being null in the following: $gv_insert=tep_db_query("insert into credit_payment (order_id, amount, credit_class) values('".$insert_id."','".$od_amount."', '" . $this->title . "')"); Should this $insert_id be declared global in: global $customer_id; above? Also, is there any advantage to replace v1.1 with v2.2 as version 2.2 seems to work in adifferent way? The only reason to update might be if you have made any improvements to the display of the discounts in the customer's email or Admin? And finally, is there a way to update the credit class basic code (or even is it necessary?) without installing the whole credit class GV 3.2 zip as this seems quite daunting to me at the moment! Many Thanks in advance, Quote Ian-san Flawlessnet
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.