The Cart Blog

Wednesday, May 1, 2013

Zen Cart Manufacturer Discount now has a Promotional Page!

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

Most of my discounting modules have “Promotional Pages” – specially built pages that list all the discounts, which can be linked to from the Information Sidebox (or any other sidebox or area on your Zen Cart page).  But because Manufacturer Discount already had several built-in promotional options – marketing text on the product info page,  a centerbox feature – I didn’t think a promotional page was truly needed.  Well, I changed my mind and added the promotional page!

You can read more about Promotional Pages for all my Zen Cart discounting modules, or if you’re a Manufacturer Discount user, you can just grab the new Manufacturer Discount Promotional Page.

Monday, April 29, 2013

Using the admin name “admin” in Zen Cart 1.5.x

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

*** Warning: This is only suitable for use on your own computer for test carts which are not on the public Internet.   Actual live carts which are in production should abide by the forced rename so the URL to your admin is not known or easily guessed. ***

If you want to use the admin URL “admin” in Zen Cart 1.5.x, it’s a pretty simple change.  Edit the file

admin/includes/init_includes/init_admin_auth.php

and  insert the following line above line 12:

define('ADMIN_BLOCK_WARNING_OVERRIDE', '1');

That’s all!

Sunday, April 21, 2013

Testing out my Zen Cart Admin Mods

Filed under: Uncategorized — thatsoftwareguy @ 10:38 am

On my Admin Demo Shop site, you can login (userid: test / password: test) and test the following admin mods:

Login here using test/test

osCommerce user? Don’t worry – the osCommerce version of the Better Together Admin panel has the same look and feel as the Zen Cart version.

Tuesday, April 16, 2013

Better Together Admin for osCommerce

Filed under: osCommerce,That Software Guy — scw_admin @ 2:17 pm

Are you tired of having to hand code in discounts in Better Together for osCommerce?   Well I have news for you – you don’t anymore!  The Better Together Admin Panel for osCommerce is now ready.  It works on osCommerce 2.2 and 2.3, and it’s only $60.  Paypal to help@thatsoftwareguy.com along with your cart URL and osCommerce version to get started!

Here’s a screenshot:

osc_bt_admin

Once you select the linkage type, the two drop down menus populate accordingly (with categories or products).

Once that’s complete, your discount is ready to use in your cart!

Monday, April 15, 2013

My Zen Cart discounts with different taxes for shipping vs products

Filed under: That Software Guy,Zen Cart — scw_admin @ 8:49 pm

Different rates of tax for shipping

This is an uncommon situation, but it may apply to you if you are from British Columbia, Canada.

If you have taxable shipping but the tax rate is different than it is for products, you’ll need to make some code changes. Firstly, be sure your descriptions for shipping taxes include an easily identifiable string such as “on shipping”
Tax Rates in Zen Admin

Then, in the discount module you use, skip over this tax when computing the updated amount of tax.

Here is a block of logic from Quantity Discounts 1.11. (Newer versions may look different.)

       switch ($this->calculate_tax) {
       case 'Standard':
          reset($order->info['tax_groups']);
          while (list($key, $value) = each($order->info['tax_groups']))
          {

             if (strpos($key,"on shipping") !== false) {
                continue;
             }

             $tax_rate = zen_get_tax_rate_from_desc($key);
             if ($tax_rate > 0) {
                $od_amount[$key] = $tod_amount = round((($od_amount['total'] * $tax_rate)) /100, 2) ;
                $od_amount['tax'] += $tod_amount;
             }
          }
          break;

Here is a block of logic from Big Chooser 1.2.16. (Newer versions may look different.)

       switch ($this->calculate_tax) {
       case 'Standard':
          reset($order->info['tax_groups']);
          $taxGroups = array_keys($order->info['tax_groups']);
          foreach ($taxGroups as $key )
          {

             if (strpos($key,"on shipping") !== false) {
                continue;
             }

             $tax_rate = zen_get_tax_rate_from_desc($key);
             if ($tax_rate > 0) {
                $od_amount[$key] = $tod_amount = round((($taxable_amount  * $tax_rate)) /100, 2) ;
                $od_amount['tax'] += $tod_amount;
             }
          }
          break;

Sunday, April 7, 2013

Multiple VAT Levels and my Zen Cart discounts

Filed under: Discounting,osCommerce,Taxes,That Software Guy,Zen Cart — thatsoftwareguy @ 7:32 am

Every once in a while, a European customer complains that tax recalculation in my Zen Cart mods is not working correctly for their store with multiple levels of embedded taxes.  (This is also an issue in osCommerce.)

Here’s what to look for: non-unique strings in the descriptions of taxes (this is shown in Admin->Locations/Taxes->Tax Rates)

sv_taxes_before

Because of the way Zen Cart (and osCommerce) represent taxes in the order object, the tax descriptions must be unique to allow for reverse lookups.  So try changing the strings “Varav moms” to “Varav moms (1),” “Varav moms (2),” etc. to make them unique.

Saturday, April 6, 2013

Zen Cart Discount Preview

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

I’ve been collecting some nice screenshots of people using Discount Preview with their Zen Cart based stores.  I’m trying to get one for each of my 10 main discounting modules.

Tuesday, April 2, 2013

Zen Cart Manufacturer Discount

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

Zen Cart Manufacturer Discount now supports the user exits exclude_category() and exclude_product(), making it easy for you to have a manufacturer discounting policy, but also have specific exclusions.

Monday, April 1, 2013

Case Discounts for Zen Cart

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

Case Discounts is a new Zen Cart module which permits you to set a per product case size and associated discount. It’s like tiered pricing in Table Discounts, with an admin panel.

Sunday, March 10, 2013

osCommerce 2.3.x and Paypal

Filed under: osCommerce,That Software Guy — thatsoftwareguy @ 5:02 pm

It looks as though Paypal can now handle osCommerce 2.3.x style discounting modules, although it does so in a very odd way. You can see osCommerce Big Chooser for an example.

Older Posts »

Powered by WordPress