switching from cost to percentage in table rate?
Hi there guys,
We asked our latest client how she wanted to do her shipping, and this was the method that she wants:
Quote:
Originally Posted by customer
$0-$20=$5.95
$21-$30=$7.95
$31-$50=$9.50
$51-$100=$9.95
$101 < = 10%
I was doing super until we switched to percentages. Is there a way to do this, or do I need to continue putting the 10% price equivalent in the table in small increments(lots'o'work!)?
thanks,
json
Re: switching from cost to percentage in table rate?
Is that a big negatory, devildogs?
thanks,
json
Re: switching from cost to percentage in table rate?
You would need to customize the Table Rates table and modify it to take the last value and build the charges on percentage rather than a final amount ...
Re: switching from cost to percentage in table rate?
Can you elaborate? Is this something a layman can do or do I customize the code itself?
Thanks!
~Renee
Re: switching from cost to percentage in table rate?
You would have to recode the final cost on the shipping table to know that if you hit the last value, it should now build a percentage vs the amount ...
You would actually need to customize the table.php shipping module and this is best done by cloning it then changing the calculation for when it hits the last value or add a test for look at the value and if there is a % on the number to use the percentage or some such flag to trip the percentage ...
The other way would be clone flat ...
Then configure it to work for percentage and not a Flat rate flat.php ... then configure it to only show when the orders amount is > 100 ...
Then clone Table Rate table.php and make it so it does not show for orders > 100.00 ...
In either case, the code has to be customized somewhere for this, and making your own shipping module by cloning an existing shipping module is the best solution so it does not get overwritten during an upgrade ...
Re: switching from cost to percentage in table rate?
You might want to check out the MZMT (multi zone multi table) shipping module in the downloads section. If I remember correctly it has flexible rates in the manner you are looking for.
Re: switching from cost to percentage in table rate?
I did not see that MZMT in the downloads, under the shipping. Could it be somewhere else?
Thanks
Larry
Re: switching from cost to percentage in table rate?
You might do a search on:
MZMT dreamscape
dreamscape is the author of the MZMT Shipping Module ...