Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Product info page change


Guest

Recommended Posts

On the product Info page, right under the Name of the product you can find the model.

 

My models look something like this: SDg-37593, and that dosen't look very professional... is there any way to delete that, or change it to something else, like the Manufactor?

 

I've used the search function of this board in every posible way to find the answer as well as the contrib search with no luck <_<

 

I gues I'd have to change something on the products_info page, but I don't wanna screww up! :ph34r:

 

Any ideas?

 

TIA!

Javi

Link to comment
Share on other sites

Uhmmm... instead of typing the product number (ie SDg-37593) couldn't you just type the manufacturer?

 

Or just disable showing the product number in the admin.

 

Adminstration/Configurations/Product Listing/Diable Product Model (set to 0)

Link to comment
Share on other sites

You can set diplay products model to 'false' in admin>configuration>product listing, or, if you still need the model to show in the product listing but not product_info you can remove the following lines from catalog/product_info.php:

 

<?php
? ?if (PRODUCT_LIST_MODEL) {
? ? ?echo ' ? ? ? ? ?<tr>' . "\n" .
? ? ? ? ? ' ? ? ? ? ? ?<td colspan="2" class="pageHeading">' . $product_info_values['products_model'] . '</td>' . "\n" .
? ? ? ? ? ' ? ? ? ? ?</tr>' . "\n";
? ?}
?>

 

Matti

Link to comment
Share on other sites

Thanks Johnson,

 

I checked and find no code like that in either product_info file in catalog or catalog>includes>english.

 

I'm not sure is some of my contibutions have messed with that code and it's missing.

 

All-Prods-v2.4 or Dynamic Mo Pics MS2 maybe changed that.

~spectr17

Link to comment
Share on other sites

Sorry - I musta been half asleep and looked at the wrong file... :blink:

 

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'];
   }

 

And change to:

 

$products_name = $product_info['products_name'];

 

Matti

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...