The Cart Blog

Saturday, December 8, 2012

“Buy some quantity, get specific item free” in Zen Cart Big Chooser

Filed under: Discounting,That Software Guy,Zen Cart — thatsoftwareguy @ 8:31 am

Most people, when doing an item-count based discount, just want the least expensive item to be discounted. This kind of discount – “Buy 3, get a 4th item free” can be done with Zen Cart Big Chooser. But sometimes people want to specify a particular item: “Buy 3, get product 768 free.” This will work as long as product 768 is less expensive than the other 3 items in the cart – because Big Chooser selects items to meet the condition from most expensive to least expensive, and selects items to be discounted from least expensive to most expensive.

One customer had a high-priced item that was old stock that they wanted to clear out, so Big Chooser changes were required. So to allow I modified the behavior of set_negative_constraint in Big Chooser to make it work the way Big Spender does – simply eliminating the item from the decision about whether or not the constraint is met, but keeping it as a possibly discountable item. So you can say

   $this->add_condition("Buy any 3 items, get item 768 free", false); 
      $this->set_constraint(MINPRICE, 0.01, 3);
      $this->set_negative_constraint(PROD, 768);
      $this->set_discount(PROD, 768, 1, "%", 100);

and product 768 will be discounted even if it’s the most expensive item in the cart.

The change to allow discounting the negative constraint was added to Big Chooser for Zen Cart 1.2.16, released last week.

Sunday, November 11, 2012

Fixes to Pinterest.com Plugin for Zen Cart

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

This is the Pinterest.com Plugin for Zen Cart.

If you have installed version 1.2.2 or before of this mod, you have deleted configuration group 0. Please download version 1.3 of this mod and run sql_patches/fix_config_0.sql in admin->tools->Install SQL Patches.

If you have installed this mod and cannot see admin->configuration->Pinterest Pin It Button Configuration, please download version 1.2.2 of this mod and run the uninstall.sql script in admin->tools->install SQL Patches, then download the current version and rerun the install.sql script.

Saturday, November 10, 2012

Updates to Zen Cart Better Together Checkout Candy

Filed under: Discounting,Marketing,That Software Guy,Zen Cart — thatsoftwareguy @ 10:14 am

The Checkout Candy addition to Zen Cart Better Together has had a help update to show how to tweak the Checkout Candy display on the Shopping Cart page. You can

  • Reduce the total number of items shown
  • Reduce the number of items shown for each product (if a product is linked to many possible discounts).
  • Randomize the order of results

See Checkout Candy Installation Tweaks.

Monday, October 15, 2012

Creating attribute based discounts in Zen Cart – bugfix

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

An issue was discovered in Zen Cart Big Chooser which affects people trying to create discounts based on products with specfic attribute settings.  As an example,

 $this->add_condition("Buy 22 boxed edition, get download edition free", true);
     $this->set_constraint(PROD, 22, 1);
     $this->set_constraint_attrfilter(5, 13);
     $this->set_discount(PROD, 22, 1, "%", 100);
     $this->set_discount_attrfilter(5, 10);

This discount allows to to offer product 22 (with attribute 5 set to value 10) free when product 22 (with attribute 5 set to 13) is purchased.  This style of discounting works correctly in Big Chooser 1.2.15.

Sunday, October 7, 2012

Why are BOGO Discounts superior to Percent off Sales?

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

Many people think that offering a BOGO style discount – buy 1 get 1 free, buy 2 get one free, etc. – is no different from simply offering a percent off sale.  It may well be the same for the consumer – but to the retailer, there is a tremendous difference.  Even though the gross margin is the same, the BOGO sale brings in more profit.

Consider an item which sells for $100 which your store buys for $25.

If you offer a half off sale, and sell one item, you make a $25 profit.  ($50 revenue – $25 cost of goods = $25)

If you offer a buy one get one free sale, and you sell one item, you make a $50 profit ($100 revenue – $50 cost of goods = $50).    What’s more, in this transaction, and you increase the velocity of your inventory.

The gross margin in each case is the same; in the former, 50-25/50 = 50%, in the latter, 100-50/100 = 50%.

Buy one, get a lower priced item for free sales are even more compelling.

If the main item retails for $100 with a cost of $25, and the add-on item retails for $50 with a cost of $12.50, buy one, get the add on free brings in $100 of revenue for a cost of goods sold of $37.50, for a profit of $62.50.  This is a gross margin of $100-$37.50/$100 = 62.5%!

If you run a Zen Cart based business, you can do BOGO style discounts with the following modules:

  • Zen Cart Better Together – Buy two linked items, save money; buy one, get one free; buy one item, get a free gift.
  • Zen Cart Combination Discounts – Buy multiple linked items, get a discount on another product / receive another product free.
  • Zen Cart BOGO Discount – Buy some number of items, get some other number of items at a discount, for all items in the cart (grouping by item, category or without restriction).
  • Zen Cart Big Spender – Spend over a certain dollar amount, get a discount on other products / receive other products free.
  • Zen Cart Big Chooser – Buy multiple items, get a discount on other products or combinations of products, or receive other products or combinations of products free.

Saturday, October 6, 2012

Coupon Auto Add for Zen Cart

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

I have created a new mod which automatically adds a specified item to the cart when a coupon code is entered. It’s called Coupon Auto Add. It works with Zen Cart 1.3.9 and 1.5.x.

Friday, October 5, 2012

Putting Zen Cart Coupons after my discounts

Filed under: That Software Guy,Zen Cart — thatsoftwareguy @ 7:06 am

Users wishing to sort native discounts (such as Coupons or Group Discounts) after my Zen Cart discounts, with tax recalculation, should look at this page. (An example of this would be doing a Big Chooser discount, then applying a percent off coupon.)

Thursday, September 20, 2012

Zen Cart 1.5.1 and my mods

Filed under: That Software Guy,Zen Cart — thatsoftwareguy @ 8:01 pm

My mods which are available paid self-installation or free download are now all compatible with Zen Cart 1.5.1.

All my other Zen Cart mods will work as is if the latest version is used.

Monday, September 17, 2012

Dual Pricing / Wholesale Pricing for Zen Cart

Filed under: That Software Guy,Zen Cart — thatsoftwareguy @ 8:16 pm

Do you use this mod?  It’s here: http://www.zen-cart.com/downloads.php?do=file&id=74

If so, please be sure to grab my latest update for 1.3.9 – many bug fixes and enhancements were added.

Sunday, September 16, 2012

Shipping Estimator Sidebox issue fixed in Zen Cart

Filed under: That Software Guy,Zen Cart — thatsoftwareguy @ 7:18 am

I saw this complaint about an issue in the Shipping Estimator sidebox plugin for Zen Cart, which I recognized as a bug that once existed in Discount Preview.  So I fixed it!

A whole lot of debugging is pattern recognition.  Heck, a whole lot of success in life is pattern recognition, as far as I’m concerned.

« Newer PostsOlder Posts »

Powered by WordPress