Zen Cart How To Disable The Welcome Email

This Zen Cart tutorial will teach zen cart users and store owners what the welcome email is, how it can be used, and how to turn it off, should you desire to do so.

The welcome email is basically an automated greeting that is sent out by your zen cart store to a customer after they register an account on your website. These emails can contain anything you want them to, from a simple ‘Hello and thank you’ message, to a special offer like a coupon code. Such offers can be extremely useful, as they entice the new customers to make purchases from your store. Sometimes, however, customers do not expect or want to receive a welcome email. This is the main reason for disabling this feature. This can be done quite easily by any zen cart user without the need for any advanced programming skills.

To disable the welcome email, you will need to open the /includes/modules/create_account.php file in your favorite plain text editor. If you are using the zen cart override system, then the file path will look like this instead: /includes/modules/YOUR_TEMPLATE/create_account.php. After you have opened the correct file, find this code:


// send welcome email
if (trim(EMAIL_SUBJECT) != ‘n/a’) zen_mail($name, $email_address, EMAIL_SUBJECT, $email_text, STORE_NAME, EMAIL_FROM, $html_msg, ‘welcome’);

All you need to do is comment out the ‘zen_mail()’ function and, and customers who sign up for an account on your zen cart website will no longer receive automated welcome emails.

If you need help with your zen cart web site please contact us for a quote.

zen cart plus picaflor azul equals success

Picaflor Azul specializes in responsive zen cart design. Contact us to convert your current zen cart to a responsive design, or to have a fantastic new custom design made just for your business. Start increasing your sales today by optimizing your site for viewing on desktops, laptops, tablets, and phones.

Zen Cart How to Add Product Descriptions to the Invoice, Orders, and Emails

If you have very short zen cart product descriptions you might want to add them to your invoices, admin orders screen and emails to give more information about the products that were ordered. This Zen Cart Easy Help Tutorial will show you how to add custom php code to your files to add product descriptions to invoices, orders, and emails.

In your favorite plain text editor open the includes/classes/order.php file. This is a zen cart core file so be sure to back it up before you make any changes and make a note that this file has been changed so that your changes will not be lost in a future upgrade.

Find this code:


      $sql_data_array = array('orders_id' => $zf_insert_id, 
                              'products_id' => zen_get_prid($this->products[$i]['id']), 
                              'products_model' => $this->products[$i]['model'], 
                              'products_name' => $this->products[$i]['name'], 
                              'products_price' => $this->products[$i]['price'], 
                              'final_price' => $this->products[$i]['final_price'], 
                              'onetime_charges' => $this->products[$i]['onetime_charges'], 
                              'products_tax' => $this->products[$i]['tax'], 
                              'products_quantity' => $this->products[$i]['qty'], 
                              'products_priced_by_attribute' => $this->products[$i]['products_priced_by_attribute'], 
                              'product_is_free' => $this->products[$i]['product_is_free'], 
                              'products_discount_type' => $this->products[$i]['products_discount_type'], 
                              'products_discount_type_from' => $this->products[$i]['products_discount_type_from'], 
                              'products_prid' => $this->products[$i]['id']); 
      zen_db_perform(TABLE_ORDERS_PRODUCTS, $sql_data_array);  

Change it to this:


     $sql_data_array = array('orders_id' => $zf_insert_id, 
                              'products_id' => zen_get_prid($this->products[$i]['id']), >> Thank you
>> Victoria
>
>
> Links:
> ------
> [1] tel:2014-09-2200
                              'products_model' => $this->products[$i]['model'], 
                              'products_name' => $this->products[$i]['name'], 
                              'products_description' => zen_get_products_description($this->products[$i]['id']), 
                              'products_price' => $this->products[$i]['price'], 
                              'final_price' => $this->products[$i]['final_price'], 
                              'onetime_charges' => $this->products[$i]['onetime_charges'], 
                              'products_tax' => $this->products[$i]['tax'], 
                              'products_quantity' => $this->products[$i]['qty'], 
                              'products_priced_by_attribute' => $this->products[$i]['products_priced_by_attribute'], 
                              'product_is_free' => $this->products[$i]['product_is_free'], 
                              'products_discount_type' => $this->products[$i]['products_discount_type'], 
                              'products_discount_type_from' => $this->products[$i]['products_discount_type_from'], 
                              'products_prid' => $this->products[$i]['id']); 
      zen_db_perform(TABLE_ORDERS_PRODUCTS, $sql_data_array);  

Now, run this in your Admin – Tools – Install SQL Patches to add the additional field to your orders_products table:


alter table orders_products add column products_description text NOT NULL;

Now you can use the contents of that field in your invoices and packing-slips.

To include the product description on your order-confirmation emails, open the includes/classes/order.php file.

Find this code:


  $this->products_ordered_attributes = '';  

Change it to:


$this->products_ordered_attributes .= "\n\t" . zen_get_products_description($this->products[$i]['id']);  

If you need help with your zen cart web siteplease contact us for a quote.

Picaflor Azul specializes in responsive zen cart design. Contact us to convert your current zen cart to a responsive design, or to have a fantastic new custom design made just for your business.

zen cart plus picaflor azul equals success

Make Date of Birth Optional for Create Account

Making the create account process as streamlined as possible will encourage your customers to create accounts on your zen cart site and increase your conversion rate. This tutorial will show you how to make the date of birth an optional field in your zen cart store create account form. By default, the date of birth field is required to create an account.

This tutorial features the Alysa Rounded free zen cart template by Picaflor Azul. If you want to use it for your zen cart project you can download it for free here.

1. Log into your zen cart admin and go to Configuration -> Customer Details

Click on “Date of Birth”, select “true”, and click on the update button.

Go to Admin -> Configuration -> Miminum Values

Click on “Date of Birth” set the number to “0” and click on the “Update” button.

In your favorite plain text editor, open includes/languages/your-custom-template/english.php file. If there isn’t already an override for that file, copy the includes/languages/english.php file to includes/languages/your-custom-template/english.php. On or around line 193 find this code:

define('ENTRY_DATE_OF_BIRTH_TEXT', '* (eg. 05/21/1970)');

And change it to this (you are taking out the asterisk – *):

define('ENTRY_DATE_OF_BIRTH_TEXT', ' (eg. 05/21/1970)');

Save the file.

***This is a php file and MUST be edited in a plain text editor. If you try to edit this file in any type of wysiwyg editor, the code will be corrupted and when you insert the file back into your zen cart it will break your entire site.***

In your favorite plain text editor, open includes/templates/your-custom-template/templates/tpl_modules_create_account.php file. If there isn’t already an override for that file, copy the includes/templates/template_default/templates/tpl_modules_create_account.php file to includes/templates/your-custom-template/templates/tpl_modules_create_account.php. On or around line 140 find this code:


< ?php echo zen_draw_input_field('dob','', 'id="dob"') . (zen_not_null(ENTRY_DATE_OF_BIRTH_TEXT) ? '' . ENTRY_DATE_OF_BIRTH_TEXT . '': ''); ?>

And change it to this:


< ?php echo zen_draw_input_field('dob','', 'id="dob"') . (zen_not_null(ENTRY_DATE_OF_BIRTH_TEXT) ? ENTRY_DATE_OF_BIRTH_TEXT : ''); ?>

Save the file.

***This is a php file and MUST be edited in a plain text editor. If you try to edit this file in any type of wysiwyg editor, the code will be corrupted and when you insert the file back into your zen cart it will break your entire site.***

Navigate to your create account page and hit the “refresh” button to see the date of birth field changed from required to optional.

If you need help customizing your zen cart web site, or would like a great custom design, please contact us for a quote.

equation

Turn Off Date of Birth Required for Create Account

Making the create account process as streamlined as possible will encourage your customers to create accounts on your zen cart site and increase your conversion rate. This tutorial will show you how to turn off the date of birth as a required field in your zen cart store create account form.

This tutorial features the Alysa Rounded free zen cart template by Picaflor Azul. If you want to use it for your zen cart project you can download it for free here.

1. Log into your zen cart admin and go to Configuration -> Customer Details

Click on “Date of Birth”, select “false”, and click on the update button.

Navigate to your create account page and hit the “refresh” button to see the date of birth verification removed.

If you need help customizing your zen cart web site, or would like a great custom design, please contact us for a quote.

equation

Create a Discount Pricing Group


[tube]Ylj9Ddh8-zE[/tube]

The zen cart default functionality allows you to set percentage discount pricing groups. This can be very handy for offering your products at wholesale prices. etc. Members of the discount group will see their discount in step 2 of the checkout process. This step by step tutorial will show you how to set up percentage discount pricing groups in your zen cart shop.

This tutorial features the Aberdeen Neutral free zen cart template by Picaflor Azul. If you want to use it for your zen cart project, you can download it for free here.

Create the Group

Log into your zen cart admin and go to Customers -> Group Pricing.

Click on the “insert” button.

Add the “group name” and the “percentage discount” and click on the “save” button.

Assign Customers to the Group

Log into your zen cart admin and go to Customers -> Customers.

Click on the customer that you want to add and click on the “edit” button.

Scroll down to “Options”, select the group in the “Discount Pricing Group” pull down menu, and click on the “update” button.

Now, when a customer makes a purchase, in step 2 of the checkout process they will see their discount.

If you need help customizing your zen cart web site, or would like a great custom design, please contact us for a quote.

equation

Set Up Customer Referral Tracking



Offering incentives for customer referrals is a great way to grow your business. This step by step tutorial will show you how to set up customer referral tracking in your zen cart by using coupon codes.

1. Log into your zen cart admin and go to Configuration->Customer Details.

Click on “Customers Referral Status”, select “1”, and click on the “update” button.

2. Create a coupon code. If you do not know how to do this, read this tutorial.

3. Assign the coupon code to a customer. This can be done in a number of ways. The easiest would be to advertise your customer referral rewards program and assign the codes as customers sign up for the program.

4. The customer gives this coupon code out to their friends who them make purchases.

5. The coupon code is stored as the referral source and tied to that customer when they place their order.

If you need help customizing your zen cart web site, or would like a great custom design, please contact us for a quote.

equation

Require Acceptance of Privacy Policy During Account Creation



Acceptance of your store Privacy Policy during the account creation process is a must for many zen cart owners. This step by step tutorial will show you how to require customers to acknowledge that they have read your zen cart store’s privacy policy before they can create an account.

This tutorial features the Aberdeen Neutral free zen cart template by Picaflor Azul. If you like it you can download it for free here.

Log into your zen cart admin and go to Configuration -> Regulations.

Click on “Confirm Privacy Notice During Account Creation Procedure”, select “true” and click on the “update” button.

If you need help customizing your zen cart web site, or would like a great custom design, please contact us for a quote.

equation

Require Acceptance of Terms & Conditions at Checkout


[tube]RUVHucnGFFU[/tube]

Acceptance of your store Terms and Conditions prior to purchase is a must for many zen cart owners. This step by step tutorial will show you how to require customers to accept your store terms and conditions before they can check out.

This tutorial features the Aberdeen Neutral free zen cart template by Picaflor Azul. If you like it you can download it for free here.

Log into your zen cart admin and go to Configuration -> Regulations.

Click on “Confirm Terms and Conditions During Checkout Procedure”, select “true” and click on the “update” button.

If you need help customizing your zen cart web site, or would like a great custom design, please contact us for a quote.

equation

Turn Off the Email Salutation Required in Create Account


[tube]hLloC73-FHU[/tube]

Encourage your customers to create accounts by making the account creation process as simple as possible. This step by step tutorial will show you how to turn off the email salutation required field on the zen cart account creation form.

Log into your zen cart admin and go to Configuration -> E-Mail Options.

Click on “Email Salutation”, select “false”, and click on the “update” button.

If you need help customizing your zen cart web site, or would like a great custom design, please contact us for a quote.

equation