Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Customer Account Number Mod


Guest

Recommended Posts

I have gone completely through this contribution setup and there is good news and bad news. The good news is, nothing broke. The bad news is, nothing changed either.

 

Now, I did skip two steps because those fields/files did not exist in my catalog and I am not sure why.

 

I am sure that skipping these two steps will of course have a huge effect on why it is not working. So if anyone could lend a hand I would surely appreciate it.

 

The steps that I was unable to do was:

 

******In admin/includes/application_top.php********

 

Around line 135 find this:

 

// Control what fields of the customer table are used

define('ACCOUNT_GENDER', 'false');

define('ACCOUNT_DOB', 'false');

define('ACCOUNT_COMPANY', 'true');

define('ACCOUNT_SUBURB', 'false');

define('ACCOUNT_STATE', 'true');

 

ADD this line to it:

 

define('ACCOUNT_ACCT', 'true');

 

*********************************************

 

REASON: None of these define fields exist in application_top.php

 

Next Step that I couldn't complete...

 

-----------------------------------------------------------------------------------

 

******In catalog/application_top.php*********

 

Around line 141 find this:

 

// Control what fields of the customer table are used

define('ACCOUNT_GENDER', 'false');

define('ACCOUNT_DOB', 'false');

define('ACCOUNT_COMPANY', 'true');

define('ACCOUNT_SUBURB', 'false');

define('ACCOUNT_STATE', 'true');

 

ADD this line:

 

define('ACCOUNT_ACCT', 'true');

------------------------------------------------------------------------------------

 

Reason: application_top.php does not exist in my catalog folder.

 

 

Any ideas would be great..

 

 

Thank you very much

 

Eric

Link to comment
Share on other sites

I have includes/application_top.php but those define fields are not there. All of the ACCOUNT_*** that are referenced in the install instructions are not in that file.

 

I am confused....

 

Thanks for your help....

 

 

Eric

Link to comment
Share on other sites

  • 4 years later...

Alright I have tried to install this mod on RC2a and I dont see this either in filename or In admin/includes/application_top.php

 

******In admin/includes/application_top.php********

 

Around line 135 find this:

 

// Control what fields of the customer table are used

define('ACCOUNT_GENDER', 'false');

define('ACCOUNT_DOB', 'false');

define('ACCOUNT_COMPANY', 'true');

define('ACCOUNT_SUBURB', 'false');

define('ACCOUNT_STATE', 'true');

 

ADD this line to it:

 

define('ACCOUNT_ACCT', 'true');

 

 

so where do I put this at?

Link to comment
Share on other sites

New release, new location.

 

What page do you expect this to appear on?

 

Try that language file.

Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile

 

Virus Threat Scanner

My Contributions

Basic install answers.

Click here for Contributions / Add Ons.

UK your site.

Site Move.

Basic design info.

 

For links mentioned in old answers that are no longer here follow this link Useful Threads.

 

If this post was useful, click the Like This button over there ======>>>>>.

Link to comment
Share on other sites

  • 2 weeks later...
Alright I have tried to install this mod on RC2a and I dont see this either in filename or In admin/includes/application_top.php

 

******In admin/includes/application_top.php********

 

Around line 135 find this:

 

// Control what fields of the customer table are used

define('ACCOUNT_GENDER', 'false');

define('ACCOUNT_DOB', 'false');

define('ACCOUNT_COMPANY', 'true');

define('ACCOUNT_SUBURB', 'false');

define('ACCOUNT_STATE', 'true');

 

ADD this line to it:

 

define('ACCOUNT_ACCT', 'true');

 

 

so where do I put this at?

 

Hi

 

Did you get this to work?

if you did could you post then code of the pages you use and ref to the above define this is now in the database and in the Configuration >> Customer Details and is added by a SQL

Link to comment
Share on other sites

This would be awesome if you can get this contribution to work.. I'm trying to figure a way to create customer account numbers, and then use the CCGV(trad) account to allow customers to "send" a gift voucher to a friend via account number!

A great place for newbies to start

Road Map to oscommerce File Structure

DO NOT PM ME FOR HELP. My time is valuable, unless i ask you to PM me, please dont. You will get better help if you post publicly. I am not as good at this as you think anyways!

 

HOWEVER, you can visit my blog (go to my profile to see it) and post a question there, i will find time to get back and answer you

 

Proud Memeber of the CODE BREAKERS CLUB!!

Link to comment
Share on other sites

This would be awesome if you can get this contribution to work.. I'm trying to figure a way to create customer account numbers, and then use the CCGV(trad) account to allow customers to "send" a gift voucher to a friend via account number!

It is too old and has not been written for the current osc versions.

Link to comment
Share on other sites

thats why i was keeping my fingers crossed that someone was working on making it right for the new verion

A great place for newbies to start

Road Map to oscommerce File Structure

DO NOT PM ME FOR HELP. My time is valuable, unless i ask you to PM me, please dont. You will get better help if you post publicly. I am not as good at this as you think anyways!

 

HOWEVER, you can visit my blog (go to my profile to see it) and post a question there, i will find time to get back and answer you

 

Proud Memeber of the CODE BREAKERS CLUB!!

Link to comment
Share on other sites

Hi

 

I have got this working (RC2a) just need some feed back on where we would like to see this in the front end?

Edited by West One Hosting
Link to comment
Share on other sites

my thought for the account numbers was to be able to integrate it with the CCGV so if a customer knows that their friend has an account, they can send the goft voucher directly to the account number..

 

But for a basic layout on the user end, i would think that just put it inthe my account info in with the addresses and phone numbers

A great place for newbies to start

Road Map to oscommerce File Structure

DO NOT PM ME FOR HELP. My time is valuable, unless i ask you to PM me, please dont. You will get better help if you post publicly. I am not as good at this as you think anyways!

 

HOWEVER, you can visit my blog (go to my profile to see it) and post a question there, i will find time to get back and answer you

 

Proud Memeber of the CODE BREAKERS CLUB!!

Link to comment
Share on other sites

my thought for the account numbers was to be able to integrate it with the CCGV so if a customer knows that their friend has an account, they can send the goft voucher directly to the account number..

 

But for a basic layout on the user end, i would think that just put it inthe my account info in with the addresses and phone numbers

 

Hi

 

I have done a demo site you can log-in and see it :

 

url: http://oscaccountnumber.wohsoftware.info/login.php

 

E-Mail Address: [email protected]

Password: osctest

 

then give me some feed back then we can look at geting it to work with CCGV?

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...