Results 1 to 8 of 8
  1. #1
    Join Date
    Aug 2005
    Posts
    96
    Plugin Contributions
    0

    Default 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

  2. #2
    Join Date
    Aug 2005
    Posts
    96
    Plugin Contributions
    0

    Default Re: switching from cost to percentage in table rate?

    Is that a big negatory, devildogs?

    thanks,
    json

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

    Default 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 ...
    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!

  4. #4
    Join Date
    Oct 2006
    Posts
    175
    Plugin Contributions
    0

    Default 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
    [FONT="Comic Sans MS"]Red[/FONT]

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

    Default 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 ...
    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. #6
    Join Date
    Jun 2003
    Posts
    33,715
    Plugin Contributions
    0

    Default 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.
    Last edited by Kim; 1 May 2007 at 06:07 AM.
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  7. #7
    Join Date
    Apr 2007
    Posts
    32
    Plugin Contributions
    0

    Default 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

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

    Default 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 ...
    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!

 

 

Similar Threads

  1. Replies: 6
    Last Post: 15 Sep 2014, 01:53 AM
  2. Shipping as a percentage of cost?
    By weaselandalf in forum Built-in Shipping and Payment Modules
    Replies: 4
    Last Post: 20 Jan 2009, 08:00 PM
  3. "Table Rate - Add Percentage" Problem
    By TheOX in forum Addon Shipping Modules
    Replies: 2
    Last Post: 2 Sep 2008, 06:35 PM
  4. add percentage to table rate
    By CnTGifts in forum Addon Shipping Modules
    Replies: 0
    Last Post: 3 Jul 2007, 04:53 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