Jump to content

Archived

This topic is now archived and is closed to further replies.

Maq

$0.00 shipping cost

Recommended Posts

I'm trying to add a product to osCommerce but with $0.00 shipping costs.  Has anyone done this before?  I posted on the osCommerce forums but no one seems to be able to help so far...  Thanks.

Share this post


Link to post
Share on other sites

Yes.

 

Add another field in your products table for a shipping flag. You can then use the flag in the shipping files to exclude or return as 0 if the product is flagged as no shipping.

 

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites
Use one of the matrix shipping tables then like table rate

 

Sorry, I don't see any matrix shipping tables.  Could you please explain?

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites

The only matrix shipping table I see is in the "International Rate" section.  I want to change this shipping cost for anyone anywhere, not just international...

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

×
×
  • 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.