Jump to content
Sign in to follow this  
Stealth1

Individual Shipping Module 4.3

Recommended Posts

I need to know how I can make it so it does not put the text in the product info area where it will say "(This item requires additional shipping of $xxx for the first item, and $xxx for each additional item + regular shipping costs.)" I do not want this to be listed in the product info page so im wondering what I need to remove.

Share this post


Link to post
Share on other sites

Better late than never. I believe it's

 

	// start indvship
$extra_shipping_query = tep_db_query("select products_ship_price, products_ship_price_two from " . TABLE_PRODUCTS_SHIPPING . " where products_id = '" . (int)$products_id . "'");
if (tep_db_num_rows($extra_shipping_query)) {
  $extra_shipping = tep_db_fetch_array($extra_shipping_query);
  if($extra_shipping['products_ship_price'] == '0.00'){
	echo '<i>(Free Shipping for this Item)</i>';
  } else {
	echo '<i>(The delivery cost for this item is £' . $extra_shipping['products_ship_price'];
	if (($extra_shipping['products_ship_price_two']) > 0) {
	  echo ' for the first item, and $' . $extra_shipping['products_ship_price_two'] . ' for each additional item.)</i>';
	} else {
	  echo ')</i>';
	}
  }
}
// end indvship

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  

×