Zen Cart Logo
Forums / Built-in Shipping and Payment Modules / Repeating Base Weights for Main Shipping Boxes

Repeating Base Weights for Main Shipping Boxes

Views: 3,569

Results 41 to 48 of 48
15 Nov 2013, 8:00 PM
#41
ajeh avatar

ajeh

Oba-san

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

Repeating Base Weights for Main Shipping Boxes

I think I know the error ... look back at post #31 ... and the set of changes for #2 around line 59 ... you have a typo and missed the comma above the line with:
p.product_is_meat

15 Nov 2013, 9:39 PM
#42
kclover avatar

kclover

New Zenner

Join Date:
Feb 2013
Posts:
26
Plugin Contributions:
0

Re: Repeating Base Weights for Main Shipping Boxes

Ah yes that's it, funny I did go back and look at all the files I changed, but didn't catch that. Think I just pasted the one line in there instead of any surrounding ones. Well glad it's something that simple at least, all looks good now for product editing. Thank you!!!

15 Nov 2013, 10:44 PM
#43
kclover avatar

kclover

New Zenner

Join Date:
Feb 2013
Posts:
26
Plugin Contributions:
0

Re: Repeating Base Weights for Main Shipping Boxes

Everything seems to be calculating right now after some testing. One minor thing that I noticed in the meat product pages, though. After I go in and select the Yes button for Product Is Meat and update the page, the next time I go into the product page the No button is actually checked, although it does say PRODUCT IS MEAT, EXTRA SHIPPING in red text to the right, and it's still calculating the extra weight out right in the cart.

Just more of an FYI as the red text seems to supercede the No button, and it's working so I'm OK with it! :)

15 Nov 2013, 11:45 PM
#44
ajeh avatar

ajeh

Oba-san

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

Re: Repeating Base Weights for Main Shipping Boxes

See if changing on the:
/your_admin/includes/modules/products/collect_info.php

If changing around line 40 to read:

                       'master_categories_id' => ''[B],
                 'product_is_meat' => ''[/B]
                       );

and around line 350:

[B]          <tr>
            <td class="main"><?php echo TEXT_PRODUCT_IS_MEAT; ?></td>
            <td class="main"><?php echo zen_draw_separator('pixel_trans.gif', '24', '15') . ' ' . zen_draw_radio_field('product_is_meat', '1', $in_product_is_meat) . ' ' . TEXT_YES . '  ' . zen_draw_radio_field('product_is_meat', '0', $out_product_is_meat) . ' ' . TEXT_NO . ' ' . ($pInfo->product_is_meat == 1 ? '<span class="errorText">' . TEXT_PRODUCT_IS_MEAT_EDIT . '</span>' : ''); ?></td>
          </tr>
[/B]

makes a difference on that ...

16 Nov 2013, 12:19 AM
#45
kclover avatar

kclover

New Zenner

Join Date:
Feb 2013
Posts:
26
Plugin Contributions:
0

Re: Repeating Base Weights for Main Shipping Boxes

It did, looks perfect! Thank again and have a great weekend!

16 Nov 2013, 12:38 AM
#46
ajeh avatar

ajeh

Oba-san

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

Re: Repeating Base Weights for Main Shipping Boxes

Thanks for the update that this is now working for you ...

Remember the Zen Cart Team when you are rich and famous! :cool:

4 Dec 2013, 6:23 PM
#47
twi avatar

twi

Zen Follower

Join Date:
Aug 2007
Posts:
277
Plugin Contributions:
0

Re: Repeating Base Weights for Main Shipping Boxes

ZC1.51
ups module
usps module

I have one question concerning the following in the Configuration<shipping/packaging settings:

Question: what is meant small to medium package? And what is Large Packages? In other words, what are the weights for small package (from 0lbs to ? lbs), and what is the weight for a large package (from ? lbs to infinite Lbs)?

"Package Tare Small to Medium - added percentage:weight"

"Larger packages - added packaging percentage:weight"

I have a hard time figuring out what to put for the tare weight since a large package will have a larger tare than a small package.

4 Dec 2013, 6:57 PM
#48
ajeh avatar

ajeh

Oba-san

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

Re: Repeating Base Weights for Main Shipping Boxes

This is based on the Maximum Weight ... when the total weight of the order is divided by the Maximum Weight it determines if the Tare Rate for Small/Medium should be used or the Tare Rate for the Large ...

If you do not want to add any weight to the cart, then set both to: 0:0 ...