Jump to content
Sign in to follow this  
beachglassdirect.com

PO Box - show USPS only

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.


Eddie Schnell

Custom PC Builder

If you dare, take my advice. But make sure you back up TWICE before.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×