Forums / Built-in Shipping and Payment Modules / Per Unit or Per Item Shipping Help?

Per Unit or Per Item Shipping Help?

Locked

Views: 7,759

Results 1 to 20 of 40
This thread is locked. New replies are disabled.
4 Oct 2010, 8:37 PM
#1
janiedress avatar

janiedress

New Zenner

Join Date:
Sep 2010
Location:
Florida
Posts:
3
Plugin Contributions:
0

Per Unit or Per Item Shipping Help?

I have read all of the posts on how to assign shipping costs for each item or unit. But when I try to set it up so that my shipping weight is my shipping cost, it never comes out to the amount in my shipping weight. I'm sure that it is one or two things that I'm just not putting in correctly. I am code illiterate and just trying to get my site with the shopping cart up. So far I've figured out how to get products on, etc. Can someone do an actual step by step process for how to get my product weight to show up as the shipping cost? I need to know exactly what goes in each box. I tried to put, as an example, 2.99:2.99 "Shipping Cost per Unit" in the shipping module to show up as $2.99 shipping, but it is showing up as 0. UGH! I have tried for days to figure it out on my own. Can someone PLEASE HELP ME? Thank you!

4 Oct 2010, 9:24 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Per Unit or Per Item Shipping Help?

What shipping module are you trying to configure?

Zen-Venom Get Bitten

6 Oct 2010, 3:31 AM
#3
janiedress avatar

janiedress

New Zenner

Join Date:
Sep 2010
Location:
Florida
Posts:
3
Plugin Contributions:
0

Re: Per Unit or Per Item Shipping Help?

I was going to use the "per unit" module because it said that was what I needed to use in order to put my own shipping cost for each item. That would probably be the best thing for me to do.
Unless you have other suggestions? I sell custom made earrings and other jewelry, Christmas items and consignment stuff.
One post said that Table Rate was the most used module. I really need something that is easy to set up. I just assume if I can put my own, it would be fail proof for me. Can you help me? I mean it when I say I am website illiterate. I need step-by-step instructions. Or to have someone log onto my site and help me with it. You can also email me at [email protected]. Thank you so much if you can help me!
Janie

6 Oct 2010, 5:09 PM
#4
christianstogether avatar

christianstogether

New Zenner

Join Date:
Oct 2010
Posts:
56
Plugin Contributions:
0

Re: Per Unit or Per Item Shipping Help?

Hi
i used this
https://www.zen-cart.com/tutorials/index.php?article=208
but........ :cool: there's always a but isn't there

i can't figure out how to do multiple postage items
its brill if you want to charge say 50p for each and every item
but if you want to say charge 50p for the 1st item then 10p for every one after that it's no good

i'm still after a solution as yet but will keep you informed

but for basic postage its a good easy solution and even i managed to do it really easy lol and i've only been up and running 2 days

25 Oct 2010, 2:26 PM
#5
colortheworld avatar

colortheworld

New Zenner

Join Date:
Mar 2009
Posts:
68
Plugin Contributions:
0

Re: Per Unit or Per Item Shipping Help?

I have a question regarding this, as well.

I'm going to be selling and shipping firearms as well as books and another accessories. I have USPS set up, which Ajeh was gracious enough to assist with, but I'm not exactly sure how to conduct the shipping for each product.

Now, I have a base of $50.00 for Handling set up in the USPS Module, which the merchant wants to use for all firearm sales to cover shipping and insurance, but obviously we're not wanting to have a $50.00 charge for a book that may only weigh 10 ounces.

Is this something I would need to set up for peritem or perunit? I'm also not the greatest with the ratios for this, so I may need some assistance there. I'm just not sure where I need to set this up.

Thanks in advance!

25 Oct 2010, 4:09 PM
#6
ajeh avatar

ajeh

Oba-san

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

Re: Per Unit or Per Item Shipping Help?

You could customize the shipping module to check how many products in the cart are firearms based on something like the master_categories_id in the products table ...

Then, based on the count you can adjust the Handling Fee ...

Are all of your firearms in Categories where the master_categories_id would be able to be used to identify these Products?

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!

25 Oct 2010, 5:45 PM
#7
colortheworld avatar

colortheworld

New Zenner

Join Date:
Mar 2009
Posts:
68
Plugin Contributions:
0

Re: Per Unit or Per Item Shipping Help?

You're speaking greek to me, here. lol. are these tables I would look up in the php files, or in the module section of admin?

25 Oct 2010, 6:22 PM
#8
ajeh avatar

ajeh

Oba-san

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

Re: Per Unit or Per Item Shipping Help?

The Product information is stored in your database tables:
products
products_description

The master_categories_id is in the table:
products

You can test the contents of the Shopping Cart to see how many Products are in specific Categories based on the master_categories_id to determine what to do on Handling Charge, instead of using the built in Handling Charge ...

Is the Handling charge based on 1 $50.00 handling charge IF there is 1 or more firearms?

Or, is the Handling charge based on how many Products are in the shopping cart and charging $50.00 per item for the Handling charge?

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!

25 Oct 2010, 6:29 PM
#9
colortheworld avatar

colortheworld

New Zenner

Join Date:
Mar 2009
Posts:
68
Plugin Contributions:
0

Re: Per Unit or Per Item Shipping Help?

Ajeh:

The Product information is stored in your database tables:
products
products_description

The master_categories_id is in the table:
products

You can test the contents of the Shopping Cart to see how many Products are in specific Categories based on the master_categories_id to determine what to do on Handling Charge, instead of using the built in Handling Charge ...

Is the Handling charge based on 1 $50.00 handling charge IF there is 1 or more firearms?

Or, is the Handling charge based on how many Products are in the shopping cart and charging $50.00 per item for the Handling charge?

I'm not sure? I just have handling set as 50.00 on the USPS Module.

Now, I do know that when I go to look at the shopping cart there's always a number in parenthesis that says "(1 x "")" and in those quotes are the weight of the product...

25 Oct 2010, 6:49 PM
#10
ajeh avatar

ajeh

Oba-san

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

Re: Per Unit or Per Item Shipping Help?

I go to your site and buy a Rifle and a Gun ...

Do you want to charge me $50.00 for this order for the Handling Fee or do you want to charge me $100.00 for the Handling Fee?

NOTE: you can edit the USPS shipping module and turn off the quantity and weight of boxes:

USPS Options
Select from the following the USPS options.

Display weight
Display transit time

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!

25 Oct 2010, 6:50 PM
#11
colortheworld avatar

colortheworld

New Zenner

Join Date:
Mar 2009
Posts:
68
Plugin Contributions:
0

Re: Per Unit or Per Item Shipping Help?

Actually I'm wrong...

Firearms get a $50.00 charge, Handguns get $35 -- these charges cover insurance and handling. Smaller items are flat rate priority mail box.

25 Oct 2010, 6:56 PM
#12
ajeh avatar

ajeh

Oba-san

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

Re: Per Unit or Per Item Shipping Help?

Okay so the basic idea is ...

Count how many Products are in the shopping cart and then add $50.00 on a per Quantity per Product basis to the shipping charge ...

So if there were 9 Products in the Cart, and 3 come from the Rifle category and 4 from the Gun category and 2 from non-firearm categories ...

Then I could just take the Rate Quote from USPS based on weight, and add to those:

3 x 50.00 = $150.00
4 x 50.00 = $200.00
= $350.00

and add that $350.00 to each quote from USPS that is listed and the amount would apply, correct?

Then, if an Order is made with none of these firearm categories Products ... just the normal shipping rates from USPS would apply, correct?

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!

25 Oct 2010, 7:32 PM
#13
colortheworld avatar

colortheworld

New Zenner

Join Date:
Mar 2009
Posts:
68
Plugin Contributions:
0

Re: Per Unit or Per Item Shipping Help?

Ajeh:

Okay so the basic idea is ...

Count how many Products are in the shopping cart and then add $50.00 on a per Quantity per Product basis to the shipping charge ...

So if there were 9 Products in the Cart, and 3 come from the Rifle category and 4 from the Gun category and 2 from non-firearm categories ...

Then I could just take the Rate Quote from USPS based on weight, and add to those:

3 x 50.00 = $150.00
4 x 50.00 = $200.00
= $350.00

and add that $350.00 to each quote from USPS that is listed and the amount would apply, correct?

Then, if an Order is made with none of these firearm categories Products ... just the normal shipping rates from USPS would apply, correct?

Not sure I catch you, but let me explain this a bit better, in terms of category

We have 3 categories on the site, the first is "Custom Rifles for Sale", the second is "Guns for Sale", and the third is "General Sales" (this is currently 2 guide books).

With 3 categories, we have a total of 13 products, all 6 in the "Custom Rifles" are Rifles. In "Guns for Sale" we have 4 rifles and 1 handgun (handguns are $35.00 shipping, in case you missed the edit I made on my last post), and "General Sales" is just 2 books.

I've added weight into the products, minus the books, and turned off the show weight and show transit boxes.

I don't see this "Per Quality / Per Product" in the Module, but I wonder if this means "Per Item / Per Unit". Is that the case?

Thanks for being so patient with me -- I'm a creature of retention. I can't just read something and totally get it all the time, but once I do it once (or twice), it's picked up.

25 Oct 2010, 7:40 PM
#14
ajeh avatar

ajeh

Oba-san

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

Re: Per Unit or Per Item Shipping Help?

"Per Product Per Item" is me asking you if the handling charge is based on the quantity ordered for each Product x $50.00 or just $50.00 if 1 or more are in the cart ...

This makes the calculation either the normal USPS shipping quote plus $50.00 or the normal USPS shipping quote plus $50.00 per Product x quantity ...

And then, if no firearms are in the cart, just the normal USPS shipping quote ...

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!

25 Oct 2010, 7:57 PM
#15
colortheworld avatar

colortheworld

New Zenner

Join Date:
Mar 2009
Posts:
68
Plugin Contributions:
0

Re: Per Unit or Per Item Shipping Help?

Ajeh:

"Per Product Per Item" is me asking you if the handling charge is based on the quantity ordered for each Product x $50.00 or just $50.00 if 1 or more are in the cart ...

This makes the calculation either the normal USPS shipping quote plus $50.00 or the normal USPS shipping quote plus $50.00 per Product x quantity ...

And then, if no firearms are in the cart, just the normal USPS shipping quote ...

Oh, okay, I understand what you're saying now lol. I guess it would have to be per quantity and per product? Does that make sense?

Reason I say that is, if somebody purchases 2 rifles and 1 hand gun, that's $135.00 in costs right there. If they pick up a book that's another extra shipping cost.

26 Oct 2010, 1:36 PM
#16
ajeh avatar

ajeh

Oba-san

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

Re: Per Unit or Per Item Shipping Help?

Let's say you want to check the cart for how many Guns (categories_id 2) and Rifles (categories_id 3) there are ... and that the Products in those Categories have the master_categories_id set to those categories_id ...

global $cart;
$chk_guns = $_SESSION['cart']->in_cart_check('master_categories_id','2');
$chk_rifles = $_SESSION['cart']->in_cart_check('master_categories_id','3');
$extra_handling_fee = ($chk_guns * 50) + ($chk_rifles * 35);

Now, the $extra_handling_fee can be added to the cost for the quotes ...

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!

28 Oct 2010, 7:35 PM
#17
colortheworld avatar

colortheworld

New Zenner

Join Date:
Mar 2009
Posts:
68
Plugin Contributions:
0

Re: Per Unit or Per Item Shipping Help?

Okay, I've been gone for a few days, but I'm back. To do what you suggested, Ajeh, is that something I would have to get into the database to find, or is it a directory within the zencart?

I use a web editor for php files, but I'm not sure if this would be similar or if I would have to get into the database.

28 Oct 2010, 8:16 PM
#18
ajeh avatar

ajeh

Oba-san

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

Re: Per Unit or Per Item Shipping Help?

You would need to customize the shipping module that you are using ...

If you are using the Per Unit perweightunit shipping module, then you need to customize the file:
/includes/modules/shipping/perweightunit.php

and add the calculation and then and the results to the cost that is calculated in the function quote ...

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!

28 Oct 2010, 8:25 PM
#19
colortheworld avatar

colortheworld

New Zenner

Join Date:
Mar 2009
Posts:
68
Plugin Contributions:
0

Re: Per Unit or Per Item Shipping Help?

Ajeh:

You would need to customize the shipping module that you are using ...

If you are using the Per Unit perweightunit shipping module, then you need to customize the file:
/includes/modules/shipping/perweightunit.php

and add the calculation and then and the results to the cost that is calculated in the function quote ...

I only have USPS turned on at this time.

28 Oct 2010, 8:51 PM
#20
ajeh avatar

ajeh

Oba-san

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

Re: Per Unit or Per Item Shipping Help?

If you are using USPS shipping module, then you will want to customize the file:
/includes/modules/shipping/usps.php

and add the calculation and then and the results to the cost that is calculated in the function quote ...

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!