Jump to content
Sign in to follow this  
efligel

Customer Account Number Mod

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

Share this post


Link to post
Share on other sites

I do not have an includes/filenames.php in either my catalog folder or my admin folder.

 

Is it there and I am missing it?

 

Thanks,

 

Eric

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
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 ======>>>>>.

Share this post


Link to post
Share on other sites
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


Thanks Simon

 

osCommerce Version: Online Merchant v2.2 RC 2a - Test Site with: oscommerce-2.2ms2-060817

cPanel Version: 11.23.4-RELEASE - Apache version: 2.0.63 - PHP version: 5.2.5 - MySQL version: 5.0.51a-community - Operating system: Linux

========================================================================

Share this post


Link to post
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!!

Share this post


Link to post
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.


The Coopco Underwear Shop

 

If you live to be 100 years of age, that means you have lived for 36,525 days. Don't waste another, there aren't many left.

Share this post


Link to post
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!!

Share this post


Link to post
Share on other sites
thats why i was keeping my fingers crossed that someone was working on making it right for the new verion

 

Hi

 

I need this for my site so I will give it a go are you on a RC2.2a?

 

all so could you help me with this post

http://forums.oscommerce.com/index.php?showtopic=318012


Thanks Simon

 

osCommerce Version: Online Merchant v2.2 RC 2a - Test Site with: oscommerce-2.2ms2-060817

cPanel Version: 11.23.4-RELEASE - Apache version: 2.0.63 - PHP version: 5.2.5 - MySQL version: 5.0.51a-community - Operating system: Linux

========================================================================

Share this post


Link to post
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

Thanks Simon

 

osCommerce Version: Online Merchant v2.2 RC 2a - Test Site with: oscommerce-2.2ms2-060817

cPanel Version: 11.23.4-RELEASE - Apache version: 2.0.63 - PHP version: 5.2.5 - MySQL version: 5.0.51a-community - Operating system: Linux

========================================================================

Share this post


Link to post
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!!

Share this post


Link to post
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: osctest@westonehosting.com

Password: osctest

 

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


Thanks Simon

 

osCommerce Version: Online Merchant v2.2 RC 2a - Test Site with: oscommerce-2.2ms2-060817

cPanel Version: 11.23.4-RELEASE - Apache version: 2.0.63 - PHP version: 5.2.5 - MySQL version: 5.0.51a-community - Operating system: Linux

========================================================================

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×