Re: Customizing the Add Customers form to include Wholesale/Retail pricing option
I installed the add customer in admin mod on zen cart 1.5.1. When I clicked on the link "Formatting the CSV" in my admin area under customer>add....a page not found opens with the link at the top with the following link prefix ending, add_customers_formatting_csv.html I have look in the admin folder and can't find anywhere add_customers_formatting_csv.html file
My question:
Where would I find this file in my file manager?
How do I get the link to open to the add_customers_formatting_csv.html page?
Re: Customizing the Add Customers form to include Wholesale/Retail pricing option
divaboutiques, that file is part of the distribution zip-file that came with the plugin; it's in the root directory. Copy that file to the root directory of your store and the link will be resolved.
Re: Customizing the Add Customers form to include Wholesale/Retail pricing option
Quote:
Originally Posted by
lat9
divaboutiques, that file is part of the distribution zip-file that came with the plugin; it's in the root directory. Copy that file to the root directory of your store and the link will be resolved.
Thank you for the response!
i went ahead and found the add customer from admin mod......the mod I downloaded was admin new customer which didn't have all the csv files.....
and it worked thanks!
Re: Customizing the Add Customers form to include Wholesale/Retail pricing option
Hi,
Im running1.5.1 and can not get this to show up in the admin menu? any tricks to it, ive installed plenty of mods before, am I missing something
Re: Add Customers from Admin 2.0 (1.5.0 and later) [Support Thread]
SLY Designs, the only reason that the "Add Customers" link wouldn't show on the Customers tab in your admin is if either (a) you didn't copy /includes/extra_datafiles/add_customers_filenames.php, /includes/functions/extra_functions/init_add_customers.php and /includes/languages/english/extra_definitions/add_customers_name.php into your admin directory or (b) you copied the /YOUR_ADMIN directory contents to your store's root directory without renaming /YOUR_ADMIN to match your admin's "secret name".
The install for the v1.5+ series happens automatically via /YOUR_ADMIN/includes/functions/extra_functions/init_add_customers.php, so those are the only two reasons that I can fathom for the tool not showing up in your admin toolbar.
Re: Add Customers from Admin 2.0 (1.5.0 and later) [Support Thread]
I have successfully installed your addon to my Zen cart to Add Customers from Admin - I've given it 5 stars too!!
I originally used the bulk upload which worked great and and now add them one by one as I sell on ebay.
I have figured out that it will default to customer Email type (HTML/Text) by reading the setting in Configuration-Customer Details-Customer Default Email Preference
However, it does NOT read the setting Configuration-Customer Details-Show Newsletter Checkbox which I want it to default to Subscribe.
Which php file would I edit so that as I add a customer manually it is defaulted to Subscribe to Newsletter, I always have to change this as I add each customer and it would save a few mouse clicks.
I am a .net developer by trade, just not as familiar with php, but am always happy to give something a try!!
Keep up the great work.
Re: Add Customers from Admin 2.0 (1.5.0 and later) [Support Thread]
Quote:
Originally Posted by
rcbitz
I have successfully installed your addon to my Zen cart to Add Customers from Admin - I've given it 5 stars too!!
I originally used the bulk upload which worked great and and now add them one by one as I sell on ebay.
I have figured out that it will default to customer Email type (HTML/Text) by reading the setting in Configuration-Customer Details-Customer Default Email Preference
However, it does NOT read the setting Configuration-Customer Details-Show Newsletter Checkbox which I want it to default to Subscribe.
Which php file would I edit so that as I add a customer manually it is defaulted to Subscribe to Newsletter, I always have to change this as I add each customer and it would save a few mouse clicks.
I am a .net developer by trade, just not as familiar with php, but am always happy to give something a try!!
Keep up the great work.
You want to think about this before you make this change. I'm pretty sure this defaults to no because of spam laws. And you are subscribing on behalf of your customer which is not the same as your customer subscribing for themselves.
Re: Add Customers from Admin 2.0 (1.5.0 and later) [Support Thread]
@rcblitz, DivaVocals gave you good advice regarding customers' consent to subscribe to your newsletter.
If you're comfortable "signing up" one or more customers using the bulk upload feature, there is already a provision in the plugin to accomplish that. Just include a 'newsletter' column (see the readme.html and the example_addresses.csv file in the plugin's root directory) in your CSV file and specify the column's value as either 0 or 1 for each bulk-uploaded customer.
Re: Add Customers from Admin 2.0 (1.5.0 and later) [Support Thread]
Thanks DivaVocals & lat9 for your replies - I understand the consent regarding the newsletter and spam.
I am doing a promotion at a tradeshow where customers fill out a card to subscribe to my newsletter and go into a draw to win a prize, so in that instance I would have their consent.
So aside from the spam issue and just looking at it technically I note that on line 393 of the file add_customers.php
PHP Code:
<td class="main"><?php echo zen_draw_pull_down_menu('customers_newsletter', $newsletter_array, (($cInfo->customers_newsletter == '1') ? '1' : '0')); ?></td>
would I change one of those 1's or 0's to default to the other option, I still think it would be nicer to read the setting from Configuration-Customer Settings
more like on line 386 where it uses the default mail format:
PHP Code:
echo zen_draw_radio_field('customers_email_format', 'HTML', $email_pref_html) . ' ' . ENTRY_EMAIL_HTML_DISPLAY . ' ' . zen_draw_radio_field('customers_email_format', 'TEXT', $email_pref_text) . ' ' . ENTRY_EMAIL_TEXT_DISPLAY ;
Otherwise I will have a play and see what happens - after making a backup of course!!
Thanks again Peter
Re: Add Customers from Admin 2.0 (1.5.0 and later) [Support Thread]
Peter, here's an updated code fragment (/YOUR_ADMIN/add_customers.php, starting at line#391) that should correct the issue you identified:
Code:
<tr>
<td class="main Label"><?php echo ENTRY_NEWSLETTER; ?></td>
<?php
//-bof-v2.0.4-a
$newsletter = ( (empty($cInfo) && ACCOUNT_NEWSLETTER_STATUS == '2') || (isset($cInfo) && $cInfo->customers_newsletter == '1') ) ? '1' : '0';
//-eof-v2.0.4-a
?>
<td class="main"><?php echo zen_draw_pull_down_menu('customers_newsletter', $newsletter_array, /*v2.0.4c*/ $newsletter); ?></td>
</tr>
Just add/change the code highlighted in red. I'll package this up shortly for submission to the plugins area. Thanks for the report!