Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Hiding Model field from customers?


ctobola

Recommended Posts

I'm using EasyPopulate, so I need to have a model number for each product.

 

However, I'd rather not show the model number to customers. (It would be nice to see it in the order info I receive.)

 

How do I go about hiding this information?

 

Thanks! -Cloy

Link to comment
Share on other sites

I'm using EasyPopulate, so I need to have a model number for each product.

 

However, I'd rather not show the model number to customers. (It would be nice to see it in the order info I receive.)

 

How do I go about hiding this information?

 

Thanks! -Cloy

 

 

In catalog/product_info.php

 

find ..

 

	
if (tep_not_null($product_info['products_model'])) {
  $products_name = $product_info['products_name'] . '<br /><span class="smallText">[' . $product_info['products_model'] . ']</span>';
} else {
  $products_name = $product_info['products_name'];
}

 

Change to ..

 

// REMOVING PRODUCTS MODEL
//	if (tep_not_null($product_info['products_model'])) {
//	  $products_name = $product_info['products_name'] . '<br /><span class="smallText">[' . $product_info['products_model'] . ']</span>';
//	} else {
//	  $products_name = $product_info['products_name'];
//	}
  $products_name = $product_info['products_name'];
// END REMOVING PRODUCTS MODEL

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...