How to opt for drop down list to the state/province option?

Customize, How to Leave a comment

Yes, I said “opt for”! I said that because the features is already in the Zen Cart system, and No, we don’t have to create it from scratch.

Okay, the Zen Cart works like this. It first reads the default registration country and it will populate the State/Province tabs with the pre-defined details. Shops that are mostly selling and are having customers from the US have the luxury in enjoying the pre-defined states list. For the rest of the world, you will have to create one on your own.

Anyway, enough of the theories. To enable the pull down option, you need to:

  1. Login to your Zen Cart backend admin screen;
  2. Browse to Configuration >> Customers Details;
  3. Look for the “State – Always display as pulldown?” and select “true” from there.
Easy enough right? If so, please leave me a message below.

How to remove the salutation at the account registration?

Customize, How to Leave a comment

There are 2 ways that you can disable the salutation (the Mr.  & Ms. thing) that are being ready for selection during the account registration. They are the hard way and the easy way.

The hard way require you to edit a few php files and have them uploaded to the server via a ftp program. Of course, you might not want to do that if you knew what the easy way that I am going to tell you in the follow section was.

To disable the (salutation) option, you need to:

  1. Login to your Zen Cart backend admin screen;
  2. Browse to Configuration >> Customers Details;
  3. Look for the “Email Salutation” option and select “false” from there.

See, it is very easy.

Please also note that by removing the salutation options, it will stop the displaying at the account registration screen as well as stopping it in showing on any outgoing emails.

How not to send Welcome Email

How to, Zen Cart Leave a comment

Have you ever thought of not letting the Zen Cart system sending out welcome emails after a new account had been registered? If that is the case for you, here is a quick way to do it.

Open up <ZenCartRoot>/includes/modules/create_account.php, or <ZenCartRoot>/includes/modules/YOUR_TEMPLATE/create_account.php if you are using the template over ride system.

Now look for the lines which said:

// 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’);

Common out the zen_mail() function and you will be good to go.

Saving the Layout Box at Zen Cart

Plug-ins Leave a comment

If you are like me, had to switch from template to template from time to time at the Zen Cart. You might run into the problem/issue that I used to have, which is all the side-boxes gone missing and had to re-config from group up after each of the template change.

There are over 20 different side-boxes that comes with the standard Zen Cart installation. Not to mention any specially added boxes. Imagen you have to switch into a newly designed Valentine’s day theme and had to reset all of the side-boxes, its such a waste of time.

One of the add-ons that can help to solve this problem is the “Save your sideboxes layout as the default”. It actually helps you to save up the original “classic” template’s side-boxes arrangement as the default setting by a click of a button. You will then be able to apply such saved settings to the new template by clicking on the apply button. As simple as that.

You will be able to download the module from here. It is also Zen Cart version 1.3.9 tested.

How to add a “back” button at any page in Zen Cart?

Customize, How to, Zen Cart Leave a comment

If you are looking for a way to add a “back” button to a Zen Cart page, you can consider putting the following codes into the right place of the php file.

<div class=”buttonRow back”><?php echo zen_back_link() . zen_image_button(BUTTON_IMAGE_BACK, BUTTON_BACK_ALT) . ‘</a>’; ?></div>

How to edit the title at the header?

Customize, How to, SEO, Zen Cart 1 Comment

The title showing at the header does not only show the basic information about the page. It also gives the basic idea to the search engine on how your site is displaying  at the search results.

As you can see from the following image capture, the title will actually be the main title of the search results.

search_header_01 Continue reading

How to remove the category name in the category page?

Customize, How to, Zen Cart 1 Comment

There are a lot of people who will want categories into the other categories (Yes, they are called sub-categories). You might be looking for way to template, add or even remove some of the layout content at the category page.

You will not be able to do that directly form the backend admin interface of the Zen Cart. To do that, you will have to locate and edit the category_row.php at <ROOT>\includes\modules\. Continue reading

How to setup Table Rate shipping method based on price?

How to, Shipping, Zen Cart Leave a comment

Zen Cart provides various shipping cost calculation methods by default, one of the mostly used method should be the “Table Rate”.

homebrewkits at the Zen Cart Forum had been asked for the setting on “Goods value postal charges Orders up to £5-00 postage charge £1-50 Order value £5-00 – £9-99 postage charge £2-50 Order value £10-00 – £64-99 postage charge £5-95 £65-00 and above POSTAGE FREE.”.

Here is our resolution to it: Continue reading

How to flagged a newly entered products NOT new?

Customize, How to, Zen Cart 1 Comment

Well, there comes a time when you will ask how do I make the newly entered products not showing as new product at my cart. Zen Cart does provide a quick way for you to choose whether it is in a date range (i.e. 7 days, 14 days etc.) or the entire products list. But it just does not provide you with a quick way to define if a product to be shown is a new product or not via a few mouse clicks. Continue reading