Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Free Shipping


Guest

Recommended Posts

Ok, I know I've seen modules that can do this - but again I want to code it myself... I don't neccisarly want it to be another module - just code within the current shipping modules to bypass shipping entirely if the product weight is 0.

 

Would anyone know where I could begin on this project - and what exactly I would need to change?

Link to comment
Share on other sites

Ok, I know I've seen modules that can do this - but again I want to code it myself... I don't neccisarly want it to be another module - just code within the current shipping modules to bypass shipping entirely if the product weight is 0.

 

Would anyone know where I could begin on this project - and what exactly I would need to change?

 

I would suggest taking a look at one of the existing modules code to get an idea of how they work, and then tweak it to work the way you want in your own shop. No doubt, someone has already done most of the leg work on what you're looking for.. ;)

Link to comment
Share on other sites

I've looked and truthfully didn't much care for the code, I'm thinking it only requires a simple statement in the confirmation page, to subtract shipping if there is no weight.

 

Just making sure that the logic is not flawed before I jump in and start messing with the classes.

Link to comment
Share on other sites

Downloads Controller v5.3 has built in a Free Shipping and Free Payment module based on cart weight and $total

 

When Free Shipping shows the others don't. When Free Payment shows the others don't.

 

It is based on products of 0 weight or 0 price.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...