Author Topic: Solution! - Flat rate + fixed cost for each additional item  (Read 43438 times)

laurieudy

  • Beginner
  • *
  • Posts: 38
Re: Solution! - Flat rate + fixed cost for each additional item
« Reply #15 on: January 09, 2010, 21:10:22 pm »
Here is what my screen looks like on my screen.  I am not sure where the standard shipping method is coming from. 

Please select a Shipping Method!
 Standard Shipping: $12.78

  Shipper Shipping Rate Price
 USPS USPS $5.95
 USPS Priority Mail USPS Priority $11.95
 UPS Ground UPS Ground $6.50


johk

  • Jr. Member
  • **
  • Posts: 107
Re: Solution! - Flat rate + fixed cost for each additional item
« Reply #16 on: January 12, 2010, 12:48:50 pm »
Thanks Mate,
This is a great solution.But it doens't seem to matter what atx rate I choose - it doesn't take it in to account.

J

mike68

  • Beginner
  • *
  • Posts: 4
Re: Solution! - Flat rate + fixed cost for each additional item
« Reply #17 on: February 09, 2010, 18:56:08 pm »
Awesome! This worked like a charm! Thank you so much!

Trackerpls

  • Beginner
  • *
  • Posts: 4
Re: Solution! - Flat rate + fixed cost for each additional item
« Reply #18 on: March 31, 2010, 03:53:27 am »
 ;D THANK YOU THANK YOU!!!

This worked perfectly...however, I just received and email from a buyer in Mexico which I have set up in my First Class USPS overSEAS shipping rate. For some reason when this buyer goes to choose a shipping rate there is nothing available to choose. Does this have something to do with the ZONE area. I have US and Canada as one shipping rate and all other locations set up as another rate. Should I create another shipping rate just for Mexico? Haven't had any other problems with overseas shipping expect Mexico. Anni thoughs or suggestion would be helpful.

thanoss43

  • Beginner
  • *
  • Posts: 44
Re: Solution! - Flat rate + fixed cost for each additional item
« Reply #19 on: June 08, 2010, 16:49:03 pm »
Hello,

Thanks again for your work.

I need one more tweek please if possible:

I 'm using your method and the following code to achieve free shipping for over 80Euros orders.

if ($total > 80.00)
         {   $total_shipping_handling = 0 ;  }
                else
      {       $total_shipping_handling = $d["zone_qty"] * $dbr->f( "shipping_rate_value" ) + $dbr->f( "shipping_rate_package_fee" ) ; }
            $show_shipping_handling = $CURRENCY_DISPLAY->getFullValue( $total_shipping_handling ) ;

I want now to use free shipping only to orders within Europe.

I 'm using standard shipping and i have 3 rates, one for the UK, one for European Union and one for the rest of the world.
I want to exclude free shipping in the "rest of the world" option and maybe use a flat rate. Something like

if ($total > 80.00) AND shipping rate IS NOT "rest of the world"
    {   $total_shipping_handling = 0 ;  }

Can someone please translate the above expresion into code?  :D

Thanks a lot!

digitalrain

  • Beginner
  • *
  • Posts: 6
Re: Solution! - Flat rate + fixed cost for each additional item
« Reply #20 on: June 10, 2010, 12:20:08 pm »
I needed my shipping to be $6.95 for the first item and $0.50 for each
additional item.

I implemented your fix and although it *mostly* works, it adds the $0.50
to the first item as well as all of the others.

Any ideas?

Many thanks,

Cynthia

jboulton

  • Beginner
  • *
  • Posts: 14
Re: Solution! - Flat rate + fixed cost for each additional item
« Reply #21 on: June 17, 2010, 19:46:49 pm »
I've changed the code and created a shipper and two shipping rates 1) pick up the tickets ($0) and mail the tickets ($1.00). Both are flat rates - doesn't matter on quantity.

When I get to the shipping method I get: Please select a Shipping Method!

Neither Pickup or Mail is an option.  This is the first time I've setup shipping.

I would really appreciate any suggestions.  Thanks.


yash_dhan

  • Beginner
  • *
  • Posts: 2
Re: Solution! - Flat rate + fixed cost for each additional item
« Reply #22 on: September 28, 2010, 17:51:53 pm »
can anybody help. I want custom rates for shipping. At shipping module i want to have 3 radio buttons and at payment module i want to add the selectes rate from previous module. which files should be edited and wat code plz help my email id is 19.yash@gmail.com

davidodtralee

  • Beginner
  • *
  • Posts: 3
Re: Solution! - Flat rate + fixed cost for each additional item
« Reply #23 on: November 18, 2010, 00:32:13 am »
Hi all,

Would this be terribly hard to implement in relation to products? It basically does what I need it to...but I'm new at this.

My problem is as follows:

Product costs: 15 euro to buy one.  Each subsequent product will cost 5 euro.  So 2 products will cost 20 euro.

Maybe I'm just confusing myself, but how would I do this?

Thanks for any help (its greatly appreciated at 11.33pm on a Wednesday night!)

David

Rochelle

  • Beginner
  • *
  • Posts: 6
Re: Solution! - Flat rate + fixed cost for each additional item
« Reply #24 on: April 18, 2011, 15:03:22 pm »
how do I access the standard_shipping.php file ?? If I paste the address it does not allow direct access.

Acceleral

  • Beginner
  • *
  • Posts: 19
Re: Solution! - Flat rate + fixed cost for each additional item
« Reply #25 on: June 30, 2011, 00:59:08 am »
This works really well but one consideration with the math is if the per-item additional charge is greater than the initial item charge.

In that case in your VM configuration for the Shipping Rate you need to make the "Your package fee:" a negative amount so it is subtracted from the total.

DW1972

  • Beginner
  • *
  • Posts: 1
Re: Solution! - Flat rate + fixed cost for each additional item
« Reply #26 on: October 18, 2011, 10:19:38 am »
Guys

 i added this code and all looked good..set up the fees and so on and looks good but when i choose the shipping type and press next in the shopping cart checkout...an error comes up saying

"Error: Please select another Shipping Method.
 Error: Please select another Shipping Method."

Any ideas how to fix this


bouss

  • Beginner
  • *
  • Posts: 1
Re: Solution! - Flat rate + fixed cost for each additional item
« Reply #27 on: April 12, 2012, 08:16:25 am »
GOOOOOOOOOOOOOODD GOD BLESS YOU !!!!!!!!!!!!! it works perfect even whit the Virtuemart Shipping by State

jinanissa

  • Beginner
  • *
  • Posts: 2
Re: Solution! - Flat rate + fixed cost for each additional item
« Reply #28 on: June 26, 2012, 11:46:32 am »
Thanks a lot for this post

camppos

  • Beginner
  • *
  • Posts: 21
Re: Solution! - Flat rate + fixed cost for each additional item
« Reply #29 on: September 04, 2013, 00:32:17 am »
Does anybody know how can I calculate the shipping by quantity for instance.
-1 to 6 items (Small Flat Rate Box) $6.00 dlls
-6 to 12 items (Medium Flat Rate Box) $13.00 dlls


Thank you,

Jesus