Jump to content

Shipping by Percentage of Total Order Amount


Recommended Posts

hey guys,

I had set up my shop before I inadvertently destroyed it in an upgrade to 1.4 release. I had found a forum topic on shipping according to percentage of total order amount and had implemented it.

Now, I can no longer find the topic and was wondering if anyone has set this up.

I've seen a couple of discussions about it, but they weren't quite right.

I am on 1.3.6.

Any help would be appreciated.

Link to comment
Share on other sites

Thanks Angora, but what Rocky shows is how to set the handling charge to be a percentage. I need to have different zones be different percentages (such as 5% shipping w/in US, 10% shipping to Canada, etc.).

This is such a basic thing, Prestashop developers, even Mal has his mals-e cart set so you can make these choices. I'm not complaining, as I believe one day I can rehack the code to make it work this way, but it is a pain in the butt.

I'd love to one day be a big proponent of PS to other developers.

If I can ever recreate this, then I will post it for sure.

Link to comment
Share on other sites

  • 2 months later...

I would love to find out how to do shipping by percentage as well!!! I am on 1.3.6 too and I just downloaded 1.4.2 and the shipping by percent is not built into that either. I would think everyone would have an issue with this seeing as all my clients want shipping as a percent. There has got to be a module or something... I have tried out everything on every thread I have found and none of the coding works. Can't we figure this one out!!!

Link to comment
Share on other sites

  • 7 months later...

Has anyone resolved this or fixed this?

 

I need a hybrid situation where I have shipping rates specified for different dollar total amounts up to $100, and after that I need to set a 7% shipping rate.

 

(Also, I would like to exclude downloadables from the totals that count toward shipping costs, but that's another story.)

  • Like 1
Link to comment
Share on other sites

I programmed some code into the shop that allows for percentage + flat amount for shipping. This gives many different options for setting up shipping. I will sell the programming code if anyone would like to contact me. P.M me for this reason.

Link to comment
Share on other sites

  • 1 year later...
  • 4 months later...

I know for prestashop 1.5 my approach is not good but may help some one who is having difficulty with this weird problem (cause till now prestashop didn't provide a feature).

 

on admin shipping

 

->billing

choose According to total price

 

->Fees by carrier, geographical zone and ranges

put your percentage number, i mean 15 for 15% (just put 15).

 

then in files find classes/Carrier.php

 

line 313

self::$price_by_price[$cache_key] = $result['price'];

 

modify with this

 

self::$price_by_price[$cache_key] = ($result['price']*$order_total)/100;

 

and this will work unless you update your prestashop version.

  • Like 1
Link to comment
Share on other sites

  • 8 months later...

Can i change fixed shipping cost and % of  amount?

 

SHIPPING RATE PRICES:
 
SPAIN
 
 Total amount<=24EUR .......................... 4,81EUR (fixed ship cost)
 
<=24EUR<total amount<=90,15EUR ..................... 20% total amount bought
 
90,15EUR <total amount<=150,25EUR ................... 21EUR (fixed)
 
>150,25EUR ...................... 15% (total amount bought)
 
THANKS
Link to comment
Share on other sites

  • 3 months later...
  On 1/24/2012 at 9:31 PM, aee156 said:

I programmed some code into the shop that allows for percentage + flat amount for shipping. This gives many different options for setting up shipping. I will sell the programming code if anyone would like to contact me. P.M me for this reason.

Hi there - I am looking for the Presta 1.5 code to allow shipping as a percentage of order, based on weight:

0-10kg = 10%;

10-100 = 8%;

100-3000=6%

3000+ = 4% 

for instance. Are you able to assist please?

Thanks

Howard

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...