Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

PO Box - show USPS only


Guest

Recommended Posts

This contrib only shows one file. I need to show two. I need some help with that. The part in classes/shipping.php looks like this

 

//DGM 5/13/05 only load USPS if po box
	  // Updated Logic - Start - DA 7-13-06
	  if ($_SESSION['street_address_po'] == "po box") {
		if ($include_modules[$i]['file'] == 'pobox.php') {
	  include(DIR_WS_LANGUAGES . $language . '/modules/shipping/' . $include_modules[$i]['file']);
		  include(DIR_WS_MODULES . 'shipping/' . $include_modules[$i]['file']);
		  $GLOBALS[$include_modules[$i]['class']] = new $include_modules[$i]['class'];
		}
	  } else {
	include(DIR_WS_LANGUAGES . $language . '/modules/shipping/' . $include_modules[$i]['file']);
		include(DIR_WS_MODULES . 'shipping/' . $include_modules[$i]['file']);
		$GLOBALS[$include_modules[$i]['class']] = new $include_modules[$i]['class'];
	  }
	  // Updated Logic - End - DA 7-13-06
	}
	//DGM 4/21/05 Load shipping modules based on PO Box - End

Right now it will load pobox.php but i need to load pobox.php and poboxca.php. :huh:

 

Any help would be greatly appreciated.

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.

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