Jump to content

Recommended Posts

Thanks for the reply, but altering the database and changing scripts is my last resort because I know there is a way that osCommerce handles this for you.  This would be much safer, faster, and easier. 

 

A reply from the osCommerce forums:

 

you dont need to write any php, and its not a mod at all.. you just need to learn how to use teh Tables rates.. you do something in the shipping table that looks like this:

0

 

I looked in the shipping module in the osCommerce back-end and the only shipping table I saw is for "International Rate".  I'm creating a product that's actually a donation.  There may be a better solution for this, thanks.

Link to comment
https://forums.phpfreaks.com/topic/125481-000-shipping-cost/#findComment-649454
Share on other sites

Matrix meaning a data array of two or more dimensions. For example the table rates are based on weight or price. If you were to use the price for shipping calculations you could add:

0:0.00,10:5.00

So anything with a price of $0 will be charged at $0.00, anything upto $10 will be charged at $5.00

 

Or if the product has a price use weight as the quantifier and set the product weight to 0.

 

If you require anything more complex then you will need to write your own module. Its not that hard. Use the flat rate class file as a template.

Link to comment
https://forums.phpfreaks.com/topic/125481-000-shipping-cost/#findComment-649524
Share on other sites

I dont know why you dont have it unless you have deleted the table.php file within /includes/modules/shipping/

Just downloaded the osCommerce files and it is included. You should be able to install it from the shipping link within http://www.yoursite.com/admin

 

Are you using version 2.2 or one of the beta new releases 3/4

Link to comment
https://forums.phpfreaks.com/topic/125481-000-shipping-cost/#findComment-649578
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.