Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

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.

  • 2 months later...
Posted

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

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