Forums / All Other Contributions/Addons / Minimum Customer Account Information - Support Thread

Minimum Customer Account Information - Support Thread

Results 1 to 20 of 88
09 Aug 2012, 19:46
#1
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Posts:
13,980
Plugin Contributions:
46

Minimum Customer Account Information - Support Thread

Scenario: You've got a store that sells only virtual products, so none of your products require shipping information. None of the payment methods you accept require you to send the customer's full address prior to processing, so why make the customer enter their address information for your store?

This plugin reduces the information gathered during account creation to:

- First Name
- Last Name
- Telephone Number, if your admin's Configuration->Customer Details->Telephone Number is set to true.
- Email Address, with its matching Confirm Email Address.
- Password, with its matching Confirm Password.
- Newsletter subscription check-box and HTML/Text-only radio buttons

Since all products in the store are virtual, the checkout_shipping page is bypassed … reducing the number of steps in your store's checkout to two (checkout_payment and checkout_confirmation). The invoices generated by your store's admin contain no references to shipping addresses.

Note: This plugin has been tested and works with PayPal® Express Checkout. If you use another payment processor, you will need to verify its interactions with this plugin.

There are core-file overwrites in the admin area, but all changes to the catalog are controlled by your selected template, by overriding related core files.

The plugin is now available: http://www.zen-cart.com/downloads.php?do=file&id=1465
21 Sep 2012, 01:52
#2
ljdream00 avatar

ljdream00

Zen Follower

Join Date:
Jun 2007
Posts:
168
Plugin Contributions:
0

Re: Minimum Customer Account Information - Support Thread

Thankyou!!!
I truly need this because I only have downloadable products.
21 Sep 2012, 08:01
#3
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Posts:
13,980
Plugin Contributions:
46

Re: Minimum Customer Account Information - Support Thread

I hope you find it useful; I developed the concept initially for one of my websites that has only virtual products.
21 Sep 2012, 20:16
#4
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Posts:
13,980
Plugin Contributions:
46

Re: Minimum Customer Account Information - Support Thread

Due to the CSS anti-spam feature addition in Zen-Cart v1.5.1, this module requires an update to be v1.5.1-ready; it's on my (ever-growing) to-do list.
25 Sep 2012, 12:23
#5
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Posts:
13,980
Plugin Contributions:
46

Re: Minimum Customer Account Information - Support Thread

v1.1.0 is now available in the Plugins area ...
25 Sep 2012, 14:46
#6
raj3396 avatar

raj3396

New Zenner

Join Date:
May 2011
Posts:
43
Plugin Contributions:
0

Re: Minimum Customer Account Information - Support Thread

Hi, nice plugin, Does this work on version 1.39h, I would love to Install
25 Sep 2012, 14:58
#7
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Posts:
13,980
Plugin Contributions:
46

Re: Minimum Customer Account Information - Support Thread

raj3396:

Hi, nice plugin, Does this work on version 1.39h, I would love to Install

Due to the changes introduced in the v1.5.0 admin wherein most of the form fields are now sent via POST instead of GET variables, I cannot recommend this plugin for Zen Cart versions prior to v1.5.0; I have tested only with v1.5.0 and v1.5.1.
25 Sep 2012, 15:37
#8
raj3396 avatar

raj3396

New Zenner

Join Date:
May 2011
Posts:
43
Plugin Contributions:
0

Re: Minimum Customer Account Information - Support Thread

Thanks for the reply
28 Sep 2012, 17:48
#9
mickyholmes avatar

mickyholmes

New Zenner

Join Date:
Sep 2012
Posts:
27
Plugin Contributions:
0

Re: Minimum Customer Account Information - Support Thread

Hello,
please could someone help me with installing this plugin?

I renamed my admin folder to control_panel, so I understand that, but I don't know what or where my "YOUR_TEMPLATE" folder is. If it helps, this is a brand new store that I'm setting up and I've just installed v1.5.1 so that I can use this plug-in. In my store the folders that I see are:

/includes/languages/classic/
/includes/languages/english/

Is it one of these? I'm not sure if I am even using a template!

Thank you,
Michael
28 Sep 2012, 18:19
#10
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Posts:
13,980
Plugin Contributions:
46

Re: Minimum Customer Account Information - Support Thread

mickyholmes:

Hello,
please could someone help me with installing this plugin?

I renamed my admin folder to control_panel, so I understand that, but I don't know what or where my "YOUR_TEMPLATE" folder is. If it helps, this is a brand new store that I'm setting up and I've just installed v1.5.1 so that I can use this plug-in. In my store the folders that I see are:

/includes/languages/classic/
/includes/languages/english/

Is it one of these? I'm not sure if I am even using a template!

Thank you,
Michael

Michael, you don't yet have a custom template; follow the instructions here to create your custom-template's directory and set it as your default.

Once you've got that, you'll unzip the plugin's distribution file and:
1) Rename the YOUR_ADMIN folder to your admin folder's name. Let me suggest that you rename if from control_panel since you've posted that name here.
2) Rename each instance of a YOUR_TEMPLATE folder (3 of them) to your custom template's name.
3) FTP the /includes and (renamed) YOUR_ADMIN folders to the root of your hosted installation (or copy them to the root of your local installation). If this is the first plugin you're installing, you can safely overwrite the admin files. Since you're creating a brand-new custom template, all of the template files should copy directly (i.e. not overwrite anything).
03 Oct 2012, 20:02
#11
mickyholmes avatar

mickyholmes

New Zenner

Join Date:
Sep 2012
Posts:
27
Plugin Contributions:
0

Re: Minimum Customer Account Information - Support Thread

Seemed to have worked perfectly (I hope!)

Thank you, store looks much better now!
Michael
20 Oct 2012, 08:43
#12
pascal020 avatar

pascal020

New Zenner

Join Date:
Aug 2009
Posts:
43
Plugin Contributions:
0

Re: Minimum Customer Account Information - Support Thread

Great mod!

However, I want the optional field "Company name"
Any quick way to do this?

Many thanks,
Pascal
20 Oct 2012, 11:27
#13
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Posts:
13,980
Plugin Contributions:
46

Re: Minimum Customer Account Information - Support Thread

Pascal, I gave the code a quick look and there's not a "quick" way. On the other hand, I'm wondering what was in my mind when I removed this already optional field from this plugin ... so I'm going to create an update that adds the "Customer" field back in. It'll be a day or so.
20 Oct 2012, 14:46
#14
pascal020 avatar

pascal020

New Zenner

Join Date:
Aug 2009
Posts:
43
Plugin Contributions:
0

Re: Minimum Customer Account Information - Support Thread

Hi lat9,

No problem, thanks for the reply!
20 Oct 2012, 19:06
#15
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Posts:
13,980
Plugin Contributions:
46

Re: Minimum Customer Account Information - Support Thread

I've submitted v1.2.0 to the Plugins area; it should be available for download in a couple of days:

  1. Restore the already optional "Gender", "Company", "Date of Birth" and "Fax" fields to the minimum customer information collected. Your store's minimum information will now include these values based on the settings in your admin's Configuration->Customer Details.
  2. Moved additional language defines from /languages/YOUR_TEMPLATE/english.php to /languages/english/extra_definitions/YOUR_TEMPLATE/minacct.php.
  3. BUGFIX: Modification to login page's on_load_main.js since the State/Zone portion of create_account is no longer there.
  4. BUGFIX: The customer's checkout email still included references to shipping and the address information in the email was improperly formatted. Change required to functions_customers.php, to modify the address formatted in a customer's checkout email and to the checkout email template itself.
21 Oct 2012, 21:10
#16
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Posts:
13,980
Plugin Contributions:
46

Re: Minimum Customer Account Information - Support Thread

v1.2.0 is now available in the Plugins area ...
22 Oct 2012, 05:42
#17
pascal020 avatar

pascal020

New Zenner

Join Date:
Aug 2009
Posts:
43
Plugin Contributions:
0

Re: Minimum Customer Account Information - Support Thread

Thanks lat9 working great!

Pascal
08 Nov 2012, 19:03
#18
kennym avatar

kennym

New Zenner

Join Date:
Mar 2010
Posts:
30
Plugin Contributions:
0

Re: Minimum Customer Account Information - Support Thread

Hi,
Thanks for this mod, it has prompted me to upgrade my site from 1.3.9 to 1.5.1 (I broke it doing that) :smile:
Site logon page is here http://www.railworks.marleyman.co.uk/store/index.php?main_page=login
I do seem to have two issues though;
One, I cannot disable the Telephone Number Field. There is not an option in my 'Configuration-Customer Fields' for Telephone. Now, that could be the Template I am using but I thought I would stop by here first and say thanks for the mod and can you check these errors for me. So here I am.

I am using Aberdeen Neutral Template and will contact that author if you cannot help.

The second issue is next to the e-mail box. It has the following text; 'ENTRY_EMAIL_ADDRESS_CONFIRM' before the box and 'ENTRY_EMAIL_ADDRESS_CONFIRM_TEXT' after the box.
Hopefully you can see that when you navigate to the login page.

Any ideas how to disable the phone number and correct that text please?
08 Nov 2012, 19:07
#19
kennym avatar

kennym

New Zenner

Join Date:
Mar 2010
Posts:
30
Plugin Contributions:
0

Re: Minimum Customer Account Information - Support Thread

I should also say I am using version 1.2.0.
08 Nov 2012, 19:20
#20
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Posts:
13,980
Plugin Contributions:
46

Re: Minimum Customer Account Information - Support Thread

1) You cannot currently disable the Telephone Number field, but you can make it optional. To make it optional, go to your admin's Configuration->Minimum Values and set the Telephone Number field to 0. Then, edit /includes/languages/YOUR_TEMPLATE/english.php to change
  define('ENTRY_TELEPHONE_NUMBER_TEXT', '*');

to
  define('ENTRY_TELEPHONE_NUMBER_TEXT', '');


If you really don't want the Telephone Number field to display, you can edit /includes/templates/YOUR_TEMPLATE/templates/tpl_modules_create_account.php (starting at line 129 in the version associated with the plugin) to delete the lines marked in red:
<fieldset>
<legend><?php echo TABLE_HEADING_PHONE_FAX_DETAILS; ?></legend>
  -eof-d-minacct */
?>
<hr />
<label class="inputLabel" for="telephone"><?php echo ENTRY_TELEPHONE_NUMBER; ?></label>
<?php echo zen_draw_input_field('telephone', '', zen_set_field_length(TABLE_CUSTOMERS, 'customers_telephone', '40') . ' id="telephone"') . (zen_not_null(ENTRY_TELEPHONE_NUMBER_TEXT) ? '<span class="alert">' . ENTRY_TELEPHONE_NUMBER_TEXT . '</span>': ''); ?>
<br class="clearBoth" />
<hr />
<?php

/*-bof-d-minacct
  if (ACCOUNT_FAX_NUMBER == 'true') {
?>
<br class="clearBoth" />
<label class="inputLabel" for="fax"><?php echo ENTRY_FAX_NUMBER; ?></label>

The removal of those two lines keeps the base code but extends the min-acct comments to comment-out the lines associated with the Telephone Number's display.

2) The presence of ENTRY_EMAIL_ADDRESS_CONFIRM and ENTRY_EMAIL_ADDRESS_CONFIRM_TEXT imply to me that you didn't rename the directory /includes/languages/YOUR_TEMPLATE before you copied the plugin's files to your installation. That directory holds the override version of the english.php file which holds those defines.