Skip to content

Commit

Permalink
Add countries and send email info
Browse files Browse the repository at this point in the history
  • Loading branch information
scottcwilson committed Sep 19, 2020
1 parent 4e5dba3 commit 782635f
Show file tree
Hide file tree
Showing 9 changed files with 35 additions and 11 deletions.
Binary file added content/images/countries.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added content/images/countries_usa.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added content/images/customers_sidebar.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added content/images/send_mail.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 4 additions & 2 deletions content/user/admin_pages/customers/customers.md
Expand Up @@ -27,8 +27,10 @@ Clicking a customers record selects that customer and opens a preview on the rig

- view the customer's orders
- email the customer
- reset the customer's password
- place an order on behalf of the customer (see [login as customer](/user/running/login_as_customer/))
- reset the customer's password (since 1.5.5)
- place an order on behalf of the customer (see [login as customer](/user/running/login_as_customer/)) (since 1.5.7)

![Customers sidebar](/images/customers_sidebar.png)

Editing the customer record takes you to the customer details screen, which shows the customer's default address, telephone number and email address, as well as other settings specific to that customer.

Expand Down
13 changes: 11 additions & 2 deletions content/user/admin_pages/locations/countries.md
Expand Up @@ -4,6 +4,15 @@ category: admin_pages
weight: 10
---

Defines every country and ISO-3166 2-letter and 3-letter country code. Also defines the address format for letters sent by postal mail.
Defines every country with the following information:

For more information, see [address formats](/user/localization/address_formats/).
- Country Name
- ISO-3166 2-letter and 3-letter country code
- [Address format](/user/localization/address_formats/)
- Whether you ship to that country (since 1.5.7)

![Countries](/images/countries.png)

The address format and shipping status can be seen in the right sidebar, which is opened when a country is selected.

![Countries - USA](/images/countries_usa.png)
6 changes: 6 additions & 0 deletions content/user/admin_pages/tools/send_email.md
Expand Up @@ -12,3 +12,9 @@ If your store uses HTML email, you will have an additional text box in which to
See [Newsletters](/user/email/newsletters/) for alternatives.

For more information, see the [email FAQs](/user/email/).

You can reach the Send Email screen either from Admin > Tools > Send Email, or from [Admin > Customers > Customers](/user/admin_pages/customers/customers/), selecting a customer and pressing the *Email* button.

![Send Email](/images/send_mail.png)


12 changes: 6 additions & 6 deletions content/user/email/logo.md
Expand Up @@ -9,11 +9,12 @@ Related: [Using your logo on packing slips and invoices](/user/customizing/use_c

The email logo is contained in the file `email/header.jpg`.

Replace this file with your logo, then update the files which specify
this filename and the logo's dimensions.
Replace this file with your logo, then update the following two files:

For admin, this file is `admin/includes/languages/english/email_extras.php`.
You will want to update the block
* `admin/includes/languages/english/email_extras.php`.
* `includes/languages/english/YOURTEMPLATE/email_extras.php`

In each file, you will want to update the block

```
define ('EMAIL_LOGO_FILENAME', 'header.jpg'); //-File is present in /email folder
Expand All @@ -22,8 +23,7 @@ You will want to update the block
define ('EMAIL_LOGO_ALT_TITLE_TEXT', 'Zen Cart! The Art of E-commerce');
```

For the storefront, copy the file `includes/languages/english/email_extras.php` to `includes/languages/english/YOURTEMPLATE/email_extras.php` and update the same block of `define` statements.

Sometimes the change will not show up right away in emails that have already been sent and viewed, due to caching. Simply close your email program and re-open it to see the change take effect. If your email is browser-based, clear your browser cache to see the change. See [Image Caching](/user/new_user_topics/change_header_logo/#image-caching) for more details.

**NOTE: ** You must be sending HTML emails for this to work.** See the Enable HTML Emails setting in [Admin > Configuration > Email Options ](/user/admin_pages/configuration/configuration_emailoptions/) setting.

9 changes: 8 additions & 1 deletion content/user/running/login_as_customer.md
@@ -1,6 +1,6 @@
---
title: Login as Customer
description: Placing an order on behalf of a Customer in Zen Cart
description: Creating an order on behalf of a Customer in Zen Cart
category: Running
weight: 10
---
Expand Down Expand Up @@ -57,3 +57,10 @@ In older Zen Cart versions a plugin is required in order to login as a customer.
- Encrypted Master Password

These plugins are all available in the [Plugins Library](https://www.zen-cart.com/downloads.php).


## What if the user doesn't have an account?

- If they have an email address, you can sipmly create an account for them in the storefront using their email address and a randomly chosen password
- If they do not have an email address, you can just use an email address on your domain with a random password just to satisfy the requirement for an email address. For example, if your customer's name was Scott Wilson, you could create an account with the email scott.wilson@YOURDOMAIN.com. Just be sure to turn off newsletters and other emails going to this account, since they will all bounce.

0 comments on commit 782635f

Please sign in to comment.