Forums / Addon Shipping Modules / Applying a different Zone to a specific Category

Applying a different Zone to a specific Category

Views: 2,048

Results 1 to 5 of 5
8 Nov 2012, 5:13 PM
#1
getyler2 avatar

getyler2

New Zenner

Join Date:
Jul 2011
Posts:
44
Plugin Contributions:
0

Applying a different Zone to a specific Category

How would I apply a new Zone of only 4 states to a specific category of products? My client has a sale they want to promote than takes $10 off shipping if they're shipping to 4 specific states. Created a hidden category, populated it with copied products, applied a $10 discount to that new category, but am confused how to apply the different Zone to that new category. Thanks!

8 Nov 2012, 5:29 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Applying a different Zone to a specific Category

Create a Zone Definition for who gets the Free Shipping for this coupon and add the DETAILS for them ...

Once the Zone definition is made, edit the Discount Coupon and add the Zone Definition to it ...

Now, only those in that Zone Definition can use the Discount Coupon ...

Then, define the Restrictions of the Discount Coupon for just the Category/Product that you want it used for ...

NOTE: Free Shipping on the Discount Coupon is defined as when 1 or more Products/Categories qualify, the whole order is Free Shipping ...

If this is not what you want, you would need to customize the code to manage the Free Shipping on just those Products/Categories that you are giving Free Shipping on with this Discount Coupon ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

8 Nov 2012, 8:37 PM
#3
getyler2 avatar

getyler2

New Zenner

Join Date:
Jul 2011
Posts:
44
Plugin Contributions:
0

Re: Applying a different Zone to a specific Category

Huge thanks for the reply Linda! And just the person I was looking for.

Yeah, I set this up and it works... not crazy though about the discount coupon because the customer doesn't see any indication on their sale price until the 3rd checkout page, after they've given up their cc info. Would at least like to see an Apply button on page 2 that applied your discount to the total on that page (have you seen a mod that does this?).

I'd rather use a Sale so they see 15% Off or $20 Off right off the bat, all the way through the cart and checkout. (How do you switch that format from percentages to dollars btw?)

You helped me some time ago with this cart (below) where you coded that, if it sees a particular category ID number, set the weight to 0 and therefore don't apply UPS/FedEx, therefore free shipping ("shipping included" in our case). I could find out what my master category IDs are again for these 7 new products on sale... can't we code that, if it sees that master category ID, apply the zone "South" to it instead of the current, USA? Then I can keep the Salemaker doing its thing? Or does application of the Zones work differently?

// skip certain categories and disable if entire cart is only in specific categories
      if (IS_ADMIN_FLAG == false) {
        global $cart;
        $chk_frozen = 0;
        $chk_frozen += $_SESSION['cart']->in_cart_check('master_categories_id','1');
        $chk_frozen += $_SESSION['cart']->in_cart_check('master_categories_id','38');
        $chk_frozen += $_SESSION['cart']->in_cart_check('master_categories_id','39');
        if ($chk_frozen == $_SESSION['cart']->count_contents()) {
          $this->enabled = false;
        }
      }
12 Nov 2012, 7:48 PM
#4
getyler2 avatar

getyler2

New Zenner

Join Date:
Jul 2011
Posts:
44
Plugin Contributions:
0

Re: Applying a different Zone to a specific Category

Is this too involved or difficult to recode? If so I'll just go the Discount Coupon route for now. Many thanks!

Found that Product Info / Show Sales Discount Savings Dollars or Percentage changes the % to $ amount with SaleMaker.

13 Nov 2012, 6:58 PM
#5
getyler2 avatar

getyler2

New Zenner

Join Date:
Jul 2011
Posts:
44
Plugin Contributions:
0

Re: Applying a different Zone to a specific Category

I setup the zone, the discount coupon, and it tested it out successfully, but our client really doesn't like it for the above stated reasons. Maybe I'm overthinking this. Let me re-state the scenario and question...

We're sending an email blast to subscribers and we're offering them a $15-off sale from "their Texas friends" if they ship to TX, OK, LA, AR, and NM only. I've created 7 duplicate hidden products that are on sale via SaleMaker, and need to apply the different zone, "South", that I created with those states. If they want to ship outside those states, the $15 sale is off. Is there a way to do this using SaleMaker so it shows the sale price in their carts?