Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Help Please!!! How do i remove the product model?


caspernova

Recommended Posts

Posted

My product name and model are the exact same thing, so i don't want the model number to show up on the product info page. It seems that the code for this is here:

<td class="pageHeading" valign="top"><?php echo $products_name; ?></td>

that's the line that spits it out, rendering it like this:

<td class="pageHeading" valign="top">TI-86<br><span class="smallText">[TI86]</span></td>

Does anyone know how to edit "$products_name" so that it only shows the product name? My storeis supossed to go online tonight and i really need to figure this out.. thanks!!

Posted

In admin side of store

admin->configuration->product listing->display product model set to 0

 

The_Bear

Posted
In admin side of store

admin->configuration->product listing->display product model set to 0

 

The_Bear

 

I DID THAT ALREADY AND IT STILL DOESN'T DISAPPEAR!!! That just makes it go away on the product listings... i'm talking abotu the actualy page with the product description! The page is catalog/product_info.php?products_id=28. The model number is displayed right under the product name heading. HOW DO I GET RID OF THIS??!?!?!

Posted
I DID THAT ALREADY AND IT STILL DOESN'T DISAPPEAR!!! That just makes it go away on the product listings... i'm talking abotu the actualy page with the product description! The page is catalog/product_info.php?products_id=28. The model number is displayed right under the product name heading. HOW DO I GET RID OF THIS??!?!?!

 

 

I guess you could, leave the prducts model empty...then there would be nothing to print,

 

or look into the product_info.php page for the part that makes it show and delete it,

 

Have a go, it should be easy

Posted
I guess you could, leave the prducts model empty...then there would be nothing to print,

 

or look into the product_info.php page for the part that makes it show and delete it,

 

Have a go, it should be easy

 

... I did look in the product_info.php page for the part that makes it show... I posted the line of code that makes it appear in my first post:

<td class="pageHeading" valign="top"><?php echo $products_name; ?></td>

the command "echo $products_name;" somehow runs through a script or something that outputs it and makes it look like what you seen on catalog/product_info.php?products_id=28.

 

I've looked all over and looked through the code many times and have spent hours trying to figure this one out... does anyone know where the code for $products_name; is?

Posted
... I did look in the product_info.php page for the part that makes it show... I posted the line of code that makes it appear in my first post:

<td class="pageHeading" valign="top"><?php echo $products_name; ?></td>

the command "echo $products_name;" somehow runs through a script or something that outputs it and makes it look like what you seen on catalog/product_info.php?products_id=28.

 

I've looked all over and looked through the code many times and have spent hours trying to figure this one out... does anyone know where the code for $products_name; is?

 

 

remove it from the $product_info_query...in "product_info.php" page,

 

p.products_model

 

 

that will get rid of it!

Now there's no value to use :thumbsup: ...tested it on mine!

Archived

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

×
×
  • Create New...