Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Members Discount v1.1


Ian-San

Recommended Posts

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,

Ian-san

Flawlessnet

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...