Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Skip the shipping section


Recommended Posts

I would like to alter osCommerce to bypass the checkout_shipping.php


I tried to alter the following line in /includes/filenames.php


define('FILENAME_CHECKOUT_SHIPPING', 'checkout_shipping.php');




define('FILENAME_CHECKOUT_SHIPPING', 'checkout_payment.php');


and this seemed to work, however on returning to the site after a purchase a error is produces and I am unable to find out why.


I am making a online wedding list for myself and therefore I have no need for shipping as I won't be sending out the goods to anyone. It just gives my friend the opportunity to buy stuff for me online.

Please help, I can't find any information on this query as it is not something that most people require their osCommerce site to do.


Thanks in advance.

Link to comment
Share on other sites

Hi - thanks for your reply, No Shipping modules are on at the moment but it still shows the Delivery Information screen (checkout_shipping.php) when going through the steps to purchase, I would like to bypass this screen totally if it is possible.

Any ideas?

Link to comment
Share on other sites

In includes/classes/shopping_cart.php, find the function get_content_type() and replace the code inside that function with

return $this->content_type = 'virtual';



Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

Join the conversation

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

Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

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