The Cart Blog

Wednesday, May 2, 2012

Zen Cart – Free and Discounted Shipping now in Big Chooser

Filed under: That Software Guy,Zen Cart — thatsoftwareguy @ 6:48 am

Last year I added this feature to Big Spender – free or discounted shipping after orders reached certain dollar thresholds. Now it’s in Zen Cart Big Chooser. So shopowners have a mechanism to offer free or discounted shipping on orders which contain certain products, categories or manufacturers.

Look for set_cart_discount_shipping and set_cart_free_shipping in the Big Chooser help file.

Tuesday, May 1, 2012

MailChimp Updates!

Filed under: Email,That Software Guy,Zen Cart — thatsoftwareguy @ 8:23 am

Those crazy chimps are hard workers! Their API has been updated to version 1.3, so my Zen Cart MailChimp Integration and Zen Cart Newsletter Discount modules have been updated. Please use the new versions of the contributions for any future installations you are doing.

Tuesday, April 24, 2012

Updates to Zen Cart Save for Later

Filed under: That Software Guy,Zen Cart — thatsoftwareguy @ 6:59 am

Ajeh noticed that some attribute combinations were not well handled by Save for Later, so I submitted fixes to resolve this problem. Please update to Save for Later 1.3 if you are using Save for Later in your cart.

Saturday, April 14, 2012

How installing Zen Cart mods can break your site

Filed under: That Software Guy,Zen Cart — thatsoftwareguy @ 2:30 pm

Installing mods to Zen  Cart is not a risk free proposition.  In this post on the Zen Cart forum, I explain how a badly coded .sql install script can break text attributes.

A (partial) list of mods that have this problem is:

Pinterest by Numinix
FAQ Manager
Google Analytics
SimpleSEOURL
Fual Slimbox
Super Orders
Integrated COWOA
Google Sitemap Admin
Autoresponder+
Return Authorization
Recover Cart Sales
CaptchaTTF and Hide Phone
Amazon Exporter
Fast and Easy Checkout
Testimonial Manager
Ty Package Tracker

Be sure to test carefully on a non-production site before you install a mod!

Tuesday, April 3, 2012

Sales Report and my discounting mods

Filed under: That Software Guy,Zen Cart — thatsoftwareguy @ 7:14 pm

If you are using any of my discounting software (Better Together, Combination Discounts, Big Spender, Big Chooser, Quantity Discounts, Frequency Discounts, Military Discounts, Newsletter Discounts) along with the Zen Cart Sales Report mod, please be aware of the following issue.

Running Sales Report against an order with one of these discounts will cause the totals not to add up correctly.

The fix is to modify admin/includes/classes/sales_report.php  as follows:  search for

          elseif ($class == "ot_coupon" || $class == "ot_group_pricing" || $class == "ot_better_together") {

and add in the classes you are using.

For Quantity Discounts, this would be

$class == "ot_coupon" || $class == "ot_group_pricing" || $class == "ot_better_together" || $class == "ot_quantity_discount"

A complete list of the classes I have created that require this fix is:

  • Better Together: “ot_better_together”
  • Big Chooser: “ot_big_chooser”
  • Big Spender: “ot_bigspender_discount”
  • Combination Discounts: “ot_combination_discounts”
  • Frequency Discounts: “ot_frequency_discount”
  • Quantity Discounts:  “ot_quantity_discount”
  • Newsletter Discounts: “ot_newsletter_discount”
  • Military Discount: “ot_military_discount”

If you want a complete if clause that handles all of these plus the built in discounts (including GV), it would look like this:

elseif ($class == "ot_coupon" || $class == "ot_group_pricing" ||
                 $class == "ot_better_together" ||
                 $class == "ot_big_chooser" ||
                 $class == "ot_bigspender_discount" ||
                 $class == "ot_combination_discounts" ||
                 $class == "ot_frequency_discount" ||
                 $class == "ot_quantity_discount" ||
                 $class == "ot_newsletter_discount" ||
                 $class == "ot_military_discount"
) {

Sunday, April 1, 2012

Updates to Checkout Candy for Zen Cart Better Together

Filed under: That Software Guy,Zen Cart — thatsoftwareguy @ 6:23 am

The Zen Cart Buy Now button on Checkout Candy now works on Cross Sells. And Cross Sells are now checked against the cart to ensure that no already purchased items are displayed.

Saturday, March 10, 2012

Zen Cart 1.5.0 updates for Better Together, Combination Discounts Add Ons

Filed under: That Software Guy,Zen Cart — thatsoftwareguy @ 2:49 pm

The following extensions to Better Together and Combination Discounts have been updated for Zen Cart 1.5.0:

See Better Together World and Combination Discounts World for a complete listing of all components for both discounting modules. .

Thursday, March 8, 2012

Zen Cart Combination Discounts – Add All to Cart

Filed under: That Software Guy,Zen Cart — thatsoftwareguy @ 1:43 pm

Combination Discounts now has a single button add for all items in a discount from the Promotional Page. It’s called Add All to Cart. This extension is a new addition to the Combination Discounts World.

The usual restrictions apply: the items in the discount must all be products without attributes.

Sunday, February 26, 2012

Disabling the forced Admin password change in Zen Cart 1.5.0

Filed under: That Software Guy,Zen Cart — thatsoftwareguy @ 10:11 am

*** Warning: This change will violate the PCI status of your cart.  You should only do this on test carts on your own PC or on carts which do not require PCI certification. ***

One of the features which is required for Zen Cart PCI compliance is periodic password changes.  This can be a nuisance on test carts and carts on your local PC.  Here’s how to turn it off.

a) To disable forced 90 day password changes, edit

admin/login.php

and change

define('ADMIN_PASSWORD_EXPIRES_INTERVAL', strtotime('- 90 day'));

to

define('ADMIN_PASSWORD_EXPIRES_INTERVAL', strtotime('- 36500 day'));

(Note that the above change means you won’t have to change passwords for 100 years.  To require an annual password change, use the value 365 instead.)

b) To disable the check against the last 3 passwords, edit

admin/includes/functions/admin_access.php
and change zen_check_for_password_problems() so that the first line is
return FALSE;

Saturday, February 25, 2012

Increasing the Admin timeout in Zen Cart 1.5.0

Filed under: That Software Guy,Zen Cart — thatsoftwareguy @ 11:12 am

*** Warning: This change will violate the PCI status of your cart.  You should only do this on test carts on your own PC or on carts which do not require PCI certification. ***

To increase the Admin Timeout value to 1800 seconds (30 minutes), go to Admin->Tools->Install SQL patches, and paste the following into the “Enter the query to be executed” box:

UPDATE configuration SET
configuration_value = '1800',
set_function = 'zen_cfg_select_option(array(\'1800\', \'900\', \'600\', \'300\'), '
WHERE configuration_key = 'SESSION_TIMEOUT_ADMIN';

To change it back, go to  Admin->Configuration->My Store, and set the
Admin Session Time Out in Seconds value back to 900.

To use a value other than 30 minutes, just change the two “1800″ numbers above to a number of seconds of your choosing (above 900).

Then modify /includes/functions/sessions.php as follows:

a) Find the block that looks like this:

if (!$SESS_LIFE = (SESSION_TIMEOUT_ADMIN > 900 ? 900 : SESSION_TIMEOUT_ADMIN)) {
$SESS_LIFE = (SESSION_TIMEOUT_ADMIN > 900 ? 900 : SESSION_TIMEOUT_ADMIN);
}

and change it to this:

$SESS_LIFE = SESSION_TIMEOUT_ADMIN;

b) Find the block that looks like this:

     
@ini_set('session.gc_maxlifetime', (SESSION_TIMEOUT_ADMIN > 900 ? 900 : SESSION_TIMEOUT_ADMIN));

and change it to this:

     
@ini_set('session.gc_maxlifetime', SESSION_TIMEOUT_ADMIN);
Older Posts »

Powered by WordPress