Zen Cart Free Gift Chooser / NoChex Payment Module interoperability fix

  • If you are using Free Gift Chooser 1.3 or lower, with a payment module which has its own application_top file (such as Nochex), please move
    includes/extra_configures/free_gift_chooser_tables.php
    

    to

    includes/extra_datafiles/free_gift_chooser_tables.php
    

    (The symptom you will see is that customer checkouts will fail to complete.)

Posted in That Software Guy, Zen Cart | Comments Off

Zen Cart on Mobile Platforms

I wrote about this a couple of months back on my Zen Cart newsletter:

Two folks I work with have created templates which work well on mobile devices – take a look and see for yourself.

Here is Delia Wilson’s template (1.5.x version):

http://www.zencartdelia.com/zen-cart-store/index.php?main_page=product_info&cPath=10&products_id=47

Here are Jose Carrillo’s templates:
http://ultimatezencart.com/index.php?main_page=index&cPath=3_21

Delia’s approach is to replicate the site under a separate directory so that two complete sites are maintained (one for mobile and one for the desktop).  Jose uses a single template which works on both mobile and desktop devices.  I recommend both of them.

 

Posted in That Software Guy, Zen Cart | Comments Off

Updates to Zen Cart patch for POODLE vulnerability

Updates were posted at the end of the day yesterday; please review the latest edits to Zen Cart files for the POODLE issue.

Posted in Zen Cart | Comments Off

Patch to Zen Cart Paypal integration for POODLE vulnerability

A post has been posted to the forum for Zen Cart failures when checking out with Paypal.

Posted in Zen Cart | Comments Off

What are the server requirements for running Zen Cart?

You’re almost always ok with the latest and greatest of each of the LAMP stack components, but someone asked me the other day about MySQL 5.6, and I had to double check.  With Zen Cart 1.5.3, has only been tested with up to MySQL 5.5.  (Some Forum users have tested with 5.6 and report no problems, which is a good sign.)

Here are all the requirements in one place: http://www.zen-cart.com/content.php?48-what-are-the-server-requirements-to-run-zen-cart.

Posted in That Software Guy, Zen Cart | Comments Off

Why is using SFTP better than FTP to manage your Zen Cart files?

If you read the page “Important Security Recommendations” under the docs folder of your Zen Cart, you’ll see that SFTP is recommended as a file transfer method over FTP.

Why is that?

The reason is simple: when you use FTP, your password is transmitted in clear text over the Internet. Which means snoopers can see it. And if you are using WiFi, particularly in a public place, snooping is really easy! So don’t do it!

What do you need to do to use SFTP? Just two things:

  1. A client for your PC that can use SFTP.  The one Zen Cart recommends, which is excellent, free and runs on Windows is WinSCP.   If you are on a Mac, look at Transmit.  If you use Linux, use gftp, which is built in to most distros.
  2. The server settings for SFTP transfer.  You may need to ask your hoster to enable sftp, and you’ll need to get the port number to use.  Although the default port for SFTP is 22, many hosters will use other ports so you’ll need to check with your hoster.
Posted in Security, That Software Guy, Zen Cart | Comments Off

Making signup easy on your Zen Cart ecommerce site

Zen Cart’s default customer signup form comes with a number of fields for customers that you should not collect.  That’s right – turn them off and don’t collect them (unless you are required to for regulatory or other reasons).  These include:

  • Date of Birth
  • Email Salutation (Mr or Ms.)
  • Fax Number
  • Company

You can access the flags to turn these values off under Admin->Configuration->Customer Details.  Just set the values to “false,” and they will no longer appear on your account creation form.

The less information a customer is required to fill in, the less likely they are to balk at registering on your site.

The one addition to account creation that I think makes sense is asking for the email address twice, since a typo in this field might well make it impossible for the customer to login again.  This change is made simple through the Confirm Email Address Contribution, available in the Zen Cart Plugins Area.

Posted in That Software Guy, Zen Cart | Comments Off

My Zen Cart Product Update is failing!

Got this one last night from a client -had never seen it before.  Sure enough, pressing the update button on the preview page after updating a product description was not working.

One hint was that the editor was set to HTMLArea (this is a Zen  Cart 1.3.9 site) and not plain text.  So I flipped it back to Plain Text in Admin->Catalog->Categories/Products.

Text_EditorNow see what the product description looks like:

ProductDescription

Aha!  There was some extra HTML code copied and pasted in during the editing of that field.  Remove this, and the product update function will work again.

Posted in That Software Guy, Zen Cart | Comments Off

Trouble logging in after your offsite Zen Cart 1.5.3 upgrade ?

This post on the Zen Cart forum describes the issue, which can happen if the machine where you do the upgrade and database conversion uses a different PHP version than the one used by the site’s host.

What I did was:

  • Download the Zen Cart 1.5.1 based cart and database from a host running PHP 5.2.17.
  • Upgrade the cart  and database to Zen Cart 1.5.3 on my local machine, running PHP 5.3.15
  • Upload the converted database and new Zen Cart 1.5.3 based test site.

And logins did not work.  The solution: re-upload unconverted copies of the admin and customers tables to the test site.

Posted in That Software Guy, Zen Cart | Comments Off

Using set_cart_discount in Zen Cart Big Chooser

The Zen Cart Big Chooser discounting module normally works in “Buy X, Get Y” mode – but you can configure it differently.  If you want to discount the entire package (X+Y) or even the entire basket if X and Y are purchased, you can use “set_cart_discount.”

The easiest way to understand this is with a series of examples. Suppose you have the items in your cart:

5x product 28  @$5: $25
1x product 29 @$10: $10
1x product 30 @$25: $25
-----------------------
Subtotal:           $60

If you used this offer

 $this->add_condition("Buy product 29 and 30, get 10% off your purchase", false); 
     $this->set_constraint(PROD, 29, 1, PROD, 30, 1); 
     $this->set_cart_discount("%", 10); 

the discount would be 10% of $60, or $6.

If you used this offer

 $this->add_condition("Buy product 29 and 30, get 10% off the pair", false); 
     $this->set_constraint(PROD, 29, 1, PROD, 30, 1); 
     $this->set_cart_discount("%", 10, CART_DISCOUNT_CONSTRAINTS_ONLY); 

the discount would be 10% of $35, or $3.50.

Posted in Discounting, That Software Guy, Zen Cart | Comments Off