Forums / Addon Shipping Modules / Charge shipping only for certain products

Charge shipping only for certain products

Views: 1,603

Results 1 to 6 of 6
28 Apr 2011, 11:59 AM
#1
elabuwa avatar

elabuwa

New Zenner

Join Date:
Apr 2011
Posts:
3
Plugin Contributions:
0

Charge shipping only for certain products

Hi guys,

I have setup so when the total order is more than $250 shipping is free.

But, I need to charge shipping only for some products even the total is over $250. THe charging method should change to by KG if it is more than $500.

Can this be done?
If so, how are we to achieve it?:frusty::frusty:

Cheers

Thank you in advance

Ela buwa

28 Apr 2011, 1:32 PM
#2
ajeh avatar

ajeh

Oba-san

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

Re: Charge shipping only for certain products

What are you using for the Free Shipping on orders over $250.00?

I am assuming the Modules ... Order Total ... Shipping ot_shipping is being used ...

Do you want the Free Shipping to be the only choice or an Option on the shipping when the order is over $250.00?

When you want to exclude some products from getting the Free Shipping, what is suppose to happen?

What shipping modules are you using?

Is there anything to identify the Products that need to still have shipping?

The more details that you can provide the easier it might be to layout a plan on code changes that would be needed for this ...

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!

29 Apr 2011, 7:23 AM
#3
elabuwa avatar

elabuwa

New Zenner

Join Date:
Apr 2011
Posts:
3
Plugin Contributions:
0

Re: Charge shipping only for certain products

Hi Ajeh,

Thank you for the quick reply.

And for part of your question, yes we are using ot_shipping & ot_total.

Can you please shed some light on how to get on with this?
I really appreciate it very much

Below is the full description.

I have Zen Cart set up for MOST products to ship free when the order total reaches $250. Until the $250 level is reached, shipping is charged unless a product is flagged Free Shipping. Three classes of products are offered: 1) Free Shipping (typically monthly specials) 2) Non-free unless order total is over $250 3) Never shipped free but product price applies toward $250 for other products.

I need the ability within Zen Cart to allow certain products to never ship free, regardless of order total. The never ship free option will be configurable for each product within the product setup screen. The shipping cost for the never ship free items will be based on cost and usually will be shipped via UPS, but may ship via Motor Carrier.

Some examples of order functionality:
--- Already supported in Zen Cart ---

  • Visitor purchases $200 of Normal products. Order ships with freight charge.
  • Visitor purchases $300 of Normal products. Order ships with Free Shipping.
  • Visitor purchases $100 of Normal products and $100 of Free Shipping products ($200). Visitor pays for shipping on the $100 Normal products.
  • Visitor purchases $200 of Normal products and $100 of Free Shipping products ($300 total). Order ships with Free Shipping.

--- Desired result from this request ---

  • Visitor purchases $100 Normal products, $100 of Free Shipping products, $100 of Never Shipped Free products ($300 total). Visitor would pay shipping on the $100 of Never Shipped Free products only. ($100 Normal products and $100 Free Shipping products ship for free because order total is over $300. Freight would be added (based on weight) for the $100 Never Shipped Free products.)

  • Visitor purchases $500 of Normal products and $500 of Never Shipped Free products. Visitor would pay shipping on the $500 of Never Shipped Free products (by weight) while the $500 of Normal products would ship for free because the order total is over $250.

Can you provide me some insight to how to get on with it?

Cheers
Ela Buwa:D

29 Apr 2011, 1:29 PM
#4
ajeh avatar

ajeh

Oba-san

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

Re: Charge shipping only for certain products

What distinguishes the Products that never apply towards the $250 for Free Shipping?

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!

29 Apr 2011, 4:27 PM
#5
elabuwa avatar

elabuwa

New Zenner

Join Date:
Apr 2011
Posts:
3
Plugin Contributions:
0

Re: Charge shipping only for certain products

Hi Ajeh,

it is the cost, most of the time.

But in some cases it might change.
So I was assuming adding a small field for each product to have a 0 or 1 to identify if it's to be charged always or not.

Cheers

Dileep

29 Apr 2011, 4:44 PM
#6
ajeh avatar

ajeh

Oba-san

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

Re: Charge shipping only for certain products

This would be the best approach to be able to pull out these Products in some manner to control what Products cannot be applied to the Total to be used for the Free Shipping ...

In this thread, I have a function that can be added to the various files to reduce the Total being used based on products_id in the cart ...
http://www.zen-cart.com/forum/showthread.php?t=178575&highlight=MODULE_ORDER_TOTAL_SHIPPING_FREE_SHIPPING_OVER

That same function could be adapted to check the Products that have this new flag added ...

All the function reduce_free_shipping() has to do is pass back the amount that should be ignored from the setting on the Modules ... Order Total ... Shipping ot_shipping on the setting:
MODULE_ORDER_TOTAL_SHIPPING_FREE_SHIPPING_OVER

The function is designed to manage any work needed to figure out the amount to be ignored and then that is called from all the places that the:
MODULE_ORDER_TOTAL_SHIPPING_FREE_SHIPPING_OVER

is referenced in the code ...

You can adapt that code to figure out the products_id in the cart that need to be skipped for the calculation ...

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!