Page 48 of 56 FirstFirst ... 384647484950 ... LastLast
Results 471 to 480 of 552
  1. #471
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Different shipping methods for different categories

    You have Tare Weight of 0:3 being added that adds 3lbs to the weight ...

    Set that to 0:0 on both of your Tare Rates so the extra weight is not added ...

    You also have the Maximum weight set to 20 rather than the default 50 this means that the packages will be broken into 20 lbs boxes, is this what you want?
    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: v1.5.5]
    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!

  2. #472
    Join Date
    Apr 2012
    Posts
    27
    Plugin Contributions
    0

    Default Re: Different shipping methods for different categories

    Quote Originally Posted by Ajeh View Post
    You have Tare Weight of 0:3 being added that adds 3lbs to the weight ...

    Set that to 0:0 on both of your Tare Rates so the extra weight is not added ...

    You also have the Maximum weight set to 20 rather than the default 50 this means that the packages will be broken into 20 lbs boxes, is this what you want?
    The maximum a box would ever weigh is 10 lb's. Most boxes would be about 7lb's. I want the shipping to be as cheap as possible, that is why I am not using UPS, and using USPS instead. I have adjusted the Tare Weight to: 0:0

  3. #473
    Join Date
    Apr 2012
    Posts
    27
    Plugin Contributions
    0

    Default Re: Different shipping methods for different categories

    Here is the new information I filled in:
    http://www.xtremeiceskating.com/imag..._shipping2.jpg

    I am curious as to why the shipping method "First Class Mail Int Letter" is not showing up in the checkout process. It shows in the module and it selected in the module. Any idea why? I want to use that method to send the stickers because it would be MUCH cheaper than sending an envelope. To send an envelope from the US to England would cost a flat rate of $16.75. That price is insane.

    https://xtremeiceskating.com/store

  4. #474
    Join Date
    Apr 2012
    Posts
    27
    Plugin Contributions
    0

    Default Re: Different shipping methods for different categories

    Quote Originally Posted by Prolite View Post
    Here is the new information I filled in:
    http://www.xtremeiceskating.com/imag..._shipping2.jpg

    I am curious as to why the shipping method "First Class Mail Int Letter" is not showing up in the checkout process. It shows in the module and it selected in the module. Any idea why? I want to use that method to send the stickers because it would be MUCH cheaper than sending an envelope. To send an envelope from the US to England would cost a flat rate of $16.75. That price is insane.



    https://xtremeiceskating.com/store

    Wait.. nevermind. The letter is showing up now lol. What you posted above WAS the fix. THANK YOU. Is there an easy way to make all the other shipping options go away when just stickers (or other light-weight items) are being sent?

  5. #475
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Different shipping methods for different categories

    What all shipping modules do you have installed? Look in the Modules ... Shipping ...

    On the USPS when only stickers are in the cart, what should happen if someone from the US orders just the stickers?
    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: v1.5.5]
    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!

  6. #476
    Join Date
    Apr 2012
    Posts
    27
    Plugin Contributions
    0

    Default Re: Different shipping methods for different categories

    Quote Originally Posted by Ajeh View Post
    What all shipping modules do you have installed? Look in the Modules ... Shipping ...

    On the USPS when only stickers are in the cart, what should happen if someone from the US orders just the stickers?
    I only have USPS installed.

    If someone orders just the stickers, than the customer (whether from the US or other country), should only see the appropriate shipping method: "First Class Mail Int Letter" and "First Class Mail Int Parcel."

    In the future though, I will be adding products that only belong in an envelope. Unfortunately, there are no shipping plugins that can handle the specificity of these product-specific processes (in the form of check boxes on each product description page). Maybe this could be suggested to the Zen Community for developer's to work on.

  7. #477
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Different shipping methods for different categories

    If you are only using USPS ... could you go to Modules ... Shipping ... and make sure that all shipping modules have a red icon except the USPS shipping module? You appear to have other shipping modules installed, such as Zone Rate zones ...

    Then, can you click on USPS and copy and paste the settings in the right hand window here ...

    For US shipping, are you only wanting for stickers the:
    First-Class Mail

    Stickers only:
    Test an Order with just Stickers in the Cart and use a US address ... which of the shipping methods should show?

    Test an Order with just Stickers in the Cart and use a Canada address ... which of the shipping methods should show?

    Test an Order with just Stickers in the Cart and use a UK address ... which of the shipping methods should show?


    Normal Product Only:
    Test an Order with just a Normal Product in the Cart and use a US address ... which of the shipping methods should show?

    Test an Order with just a Normal Product in the Cart and use a Canada address ... which of the shipping methods should show?

    Test an Order with just a Normal Product in the Cart and use a UK address ... which of the shipping methods should show?


    Stickers and a Normal Product:
    Test an Order with Stickers and a Normal Product in the Cart and use a US address ... which of the shipping methods should show?

    Test an Order with Stickers and a Normal Product in the Cart and use a Canada address ... which of the shipping methods should show?

    Test an Order with Stickers and a Normal Product in the Cart and use a UK address ... which of the shipping methods should show?
    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: v1.5.5]
    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. #478
    Join Date
    Apr 2012
    Posts
    27
    Plugin Contributions
    0

    Default Re: Different shipping methods for different categories

    All shipping modules have been uninstalled. USPS shipping module information:
    http://www.xtremeiceskating.com/imag...g_settings.gif

    The shipping/packaging settings have remained the same.

    Shipping Methods:

    Stickers only:
    Test an Order with just Stickers in the Cart and use a US address ... which of the shipping methods should show?

    First-Class Mail (2 - 5 days)
    Why is the price set to $1.95 when actual cost is 85¢? There's no "letter" option for domestic shipping.

    Test an Order with just Stickers in the Cart and use a Canada address ... which of the shipping methods should show?

    First-Class Mail International Letter

    Test an Order with just Stickers in the Cart and use a GLOBAL (Except for Canada and US) address ... which of the shipping methods should show?

    First-Class Mail International Letter

    ------------------------------------------------------------------------------------------------------------------

    Normal Product Only:
    Test an Order with just a Normal Product in the Cart and use a US address ... which of the shipping methods should show?

    Parcel Post
    Priority Mail

    Test an Order with just a Normal Product in the Cart and use a Canada address ... which of the shipping methods should show?

    First-Class Mail International Parcel
    Priority Mail International

    Test an Order with just a Normal Product in the Cart and use a GLOBAL (Except for Canada and US) address ... which of the shipping methods should show?

    First-Class Mail International Parcel
    Priority Mail International

    ------------------------------------------------------------------------------------------------------------------

    Stickers and a Normal Product:
    Test an Order with Stickers and a Normal Product in the Cart and use a US address ... which of the shipping methods should show?

    Parcel Post
    Priority Mail

    Test an Order with Stickers and a Normal Product in the Cart and use a Canada address ... which of the shipping methods should show?

    First-Class Mail International Parcel
    Priority Mail International

    Test an Order with Stickers and a Normal Product in the Cart and use a GLOBAL (Except for Canada and US) address ... which of the shipping methods should show?

    First-Class Mail International Parcel
    Priority Mail International
    Last edited by Prolite; 14 Jun 2012 at 01:51 AM.

  9. #479
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Different shipping methods for different categories

    In the original USPS code you you will see:
    Code:
              $cost = preg_replace('/[^0-9.]/', '',  $cost);
    
    // add $this->usps_countries to title to test actual country
              $methods[] = array('id' => $type,
                                 'title' => $title,
                                 'cost' => ($cost * $shipping_num_boxes) + (MODULE_SHIPPING_USPS_HANDLING_METHOD == 'Box' ? $usps_handling_fee * $shipping_num_boxes : $usps_handling_fee) );
    
              // bof: sort by contributed by Marco B
              // Sort the options
              if (MODULE_SHIPPING_USPS_QUOTE_SORT != 'Unsorted') {
    Change to read:
    Code:
              $cost = preg_replace('/[^0-9.]/', '',  $cost);
    
    // bof: skip products when not the only ones in cart
    $cart_count = $_SESSION['cart']->count_contents();
    $chk_products = 0;
    $chk_products += $_SESSION['cart']->in_cart_check('products_id','115');
    $chk_products += $_SESSION['cart']->in_cart_check('products_id','168');
    //echo '<br>Type: ' . $type . ' Title: ' . $title . ' cost: ' . $cost . ' cart count ' . $cart_count . 'exclude: ' . $chk_products . '<br>';
    if ( ( ($chk_products > 0 && $cart_count == $chk_products) && ($type != 'First-Class Mail International Letter**' && $type != 'FIRST CLASS')) || (($chk_products > 0 && $cart_count != $chk_products) && ($type == 'First-Class Mail International Letter**' || $type == 'FIRST CLASS')) || (($chk_products == 0) && ($type == 'First-Class Mail International Letter**' || $type == 'FIRST CLASS')) ) {
    // skip it
    //echo 'I skipped: ' . $type . '<br>';
    } else {
    //echo 'I did NOT skipped: ' . $type . '<br>';
              $methods[] = array('id' => $type,
                                 'title' => $title,
                                 'cost' => ($cost * $shipping_num_boxes) + (MODULE_SHIPPING_USPS_HANDLING_METHOD == 'Box' ? $usps_handling_fee * $shipping_num_boxes : $usps_handling_fee) );
    }
    // eof: skip products when not the only ones in cart
    
              // bof: sort by contributed by Marco B
              // Sort the options
              if (MODULE_SHIPPING_USPS_QUOTE_SORT != 'Unsorted') {
    Test the 3 conditions again, and ensure all is working ...

    What is the weight that you are testing on your stickers?
    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: v1.5.5]
    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!

  10. #480
    Join Date
    Apr 2012
    Posts
    27
    Plugin Contributions
    0

    Default Re: Different shipping methods for different categories

    The weight I have on my stickers is 0.0625 ounces. The price should be at .85 cents, not $1.95.

    The following are the ID's for regular shipping products (minus the stickers):
    180 (Xtreme Ice Skate PRO-1)
    181 (Bladeholder replacement set)
    183 (Xtreme Ice Skate PRO-1 - no bladeholders)

    The sticker ID is:
    182 (stickers)

    In the code you provided, I do not have any products with product ID as '115' or '168', but this is listed in the code. The shipping conditions did not work. Here is the code I inserted (I had to take out the extra shipping array, otherwise shipping methods would be duplicated):


    $cost = preg_replace('/[^0-9.]/', '', $cost);

    // bof: skip products when not the only ones in cart
    $cart_count = $_SESSION['cart']->count_contents();
    $chk_products = 0;
    $chk_products += $_SESSION['cart']->in_cart_check('products_id','115');
    $chk_products += $_SESSION['cart']->in_cart_check('products_id','168');
    //echo '<br>Type: ' . $type . ' Title: ' . $title . ' cost: ' . $cost . ' cart count ' . $cart_count . 'exclude: ' . $chk_products . '<br>';
    if ( ( ($chk_products > 0 && $cart_count == $chk_products) && ($type != 'First-Class Mail International Letter**' && $type != 'FIRST CLASS')) || (($chk_products > 0 && $cart_count != $chk_products) && ($type == 'First-Class Mail International Letter**' || $type == 'FIRST CLASS')) || (($chk_products == 0) && ($type == 'First-Class Mail International Letter**' || $type == 'FIRST CLASS')) ) {
    // skip it
    //echo 'I skipped: ' . $type . '<br>';
    } else {
    //echo 'I did NOT skipped: ' . $type . '<br>';
    }
    // eof: skip products when not the only ones in cart



    // add $this->usps_countries to title to test actual country
    $methods[] = array('id' => $type,
    'title' => $title,
    'cost' => ($cost * $shipping_num_boxes) + (MODULE_SHIPPING_USPS_HANDLING_METHOD == 'Box' ? $usps_handling_fee * $shipping_num_boxes : $usps_handling_fee) );

    // bof: sort by contributed by Marco B
    // Sort the options

    And the conditions I need are the following:
    Stickers only:
    Test an Order with just Stickers in the Cart and use a US address:
    First-Class Mail (2 - 5 days) - should be 85 cents instead of $1.95 (weight 0.0625 ounces - product ID: 182)

    Test an Order with just Stickers in the Cart and use a Canada address:
    First-Class Mail International Letter

    Test an Order with just Stickers in the Cart and use a GLOBAL (Except for Canada and US) address:
    First-Class Mail International Letter

    ------------------------------------------------------------------------------------------------------------------

    Normal Product Only:
    Test an Order with just a Normal Product in the Cart and use a US address:
    Parcel Post
    Priority Mail


    Test an Order with just a Normal Product in the Cart and use a Canada address:
    First-Class Mail International Parcel
    Priority Mail International


    Test an Order with just a Normal Product in the Cart and use a GLOBAL (Except for Canada and US) address:
    First-Class Mail International Parcel
    Priority Mail International


    ------------------------------------------------------------------------------------------------------------------

    Stickers and a Normal Product:
    Test an Order with Stickers and a Normal Product in the Cart and use a US address ... which of the shipping methods should show?
    Parcel Post
    Priority Mail


    Test an Order with Stickers and a Normal Product in the Cart and use a Canada addres:
    First-Class Mail International Parcel
    Priority Mail International


    Test an Order with Stickers and a Normal Product in the Cart and use a GLOBAL (Except for Canada and US) address:
    First-Class Mail International Parcel
    Priority Mail International
    If you could do this, that would be a great help!

 

 
Page 48 of 56 FirstFirst ... 384647484950 ... LastLast

Similar Threads

  1. Re: Different shipping methods for different categories
    By kaddie in forum Built-in Shipping and Payment Modules
    Replies: 14
    Last Post: 19 Nov 2010, 04:37 AM
  2. Replies: 2
    Last Post: 27 Oct 2010, 01:45 PM
  3. Different shipping methods for different categories and mixed categories
    By neit in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 10 Aug 2010, 12:20 AM
  4. Separate Shipping Methods for Different Categories
    By MortalWombat in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 28 Jul 2010, 08:57 AM
  5. Different shipping methods for different product types?
    By talisman-studios in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 17 Sep 2008, 04:59 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR