Zen Cart Logo
Forums / General Questions / Particular products stop free shipping option appearing

Particular products stop free shipping option appearing

Views: 621

Results 1 to 7 of 7
26 Nov 2011, 2:08 AM
#1
amyleew avatar

amyleew

Zen Follower

Join Date:
Jul 2009
Posts:
159
Plugin Contributions:
0

Particular products stop free shipping option appearing

Hi there

Is it possible to assign certain product a condition so when a customer adds them to their cart, it disables the free shipping option even if it is over the certain dollar value that allows free shipping to be visible during checkout?

Amy

29 Nov 2011, 3:23 AM
#2
amyleew avatar

amyleew

Zen Follower

Join Date:
Jul 2009
Posts:
159
Plugin Contributions:
0

Re: Particular products stop free shipping option appearing

Does anyone know if this is possible?

29 Nov 2011, 8:39 AM
#3
usernamenone avatar

usernamenone

Totally Zenned

Join Date:
Sep 2006
Posts:
541
Plugin Contributions:
0

Re: Particular products stop free shipping option appearing

You may want to re word your question. Can't understand what you are asking..... I don't know what certain products are

29 Nov 2011, 10:19 AM
#4
amyleew avatar

amyleew

Zen Follower

Join Date:
Jul 2009
Posts:
159
Plugin Contributions:
0

Re: Particular products stop free shipping option appearing

I have a few big weighty products for sale in my store. When a customer spends over $75, the free shipping option automatically pops up when they check out. I want to know if it is possible to tell zencart that those weighty products are not included in free shipping so if they have them in their cart, it doesn't offer them free shipping even if the dollar value is over $75.

29 Nov 2011, 3:27 PM
#5
ajeh avatar

ajeh

Oba-san

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

Re: Particular products stop free shipping option appearing

What shipping modules are you using?

29 Nov 2011, 9:03 PM
#6
amyleew avatar

amyleew

Zen Follower

Join Date:
Jul 2009
Posts:
159
Plugin Contributions:
0

Re: Particular products stop free shipping option appearing

Hi there

I use Free Shipping Options (freeoptions), Flat Rate which has been cloned a couple times for different prices and Store Pickup - storepickup

I have freeoptions set up to work when it is over $75.

Amy

29 Nov 2011, 11:44 PM
#7
ajeh avatar

ajeh

Oba-san

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

Re: Particular products stop free shipping option appearing

You could customize the Free Shipping Options freeoptions shipping module with the code in RED:

      // disable only when entire cart is free shipping
      if (zen_get_shipping_enabled($this->code)) {
          $this->enabled = ((MODULE_SHIPPING_FREEOPTIONS_STATUS == 'True') ? true : false);
      }

      // bof: disable for certain products_id 27, 12, 14
      if (!IS_ADMIN_FLAG) {
        global $db, $cart;
        // check if any Products are in the cart that cannot be Free Shipping
        $chk_products = 0;
        $chk_products += $_SESSION['cart']->in_cart_check('products_id','27');
        $chk_products += $_SESSION['cart']->in_cart_check('products_id','12');
        $chk_products += $_SESSION['cart']->in_cart_check('products_id','14');
        if ($chk_products > 0) {
          $this->enabled = false;
        }
      }
      // eof: disable for certain products_id

      if ( ($this->enabled == true) && ((int)MODULE_SHIPPING_FREEOPTIONS_ZONE > 0) ) {

Just change the products_id value to match your Products and you can add more as needed ...