osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

Getting the Manufacturer name in the title

This is a discussion on Getting the Manufacturer name in the title within the osCMax v1.7 Discussion forums, part of the osCMax v1.7 Forums category; Hello Folks, I need to get the manufacturer name in the title with the product name. Does anyone know what ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v1.7 Forums > osCMax v1.7 Discussion

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 12-01-2004, 12:16 PM
lem lem is offline
Member
 
Join Date: Nov 2004
Location: CDA, ID
Posts: 40
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
lem
Default Getting the Manufacturer name in the title

Hello Folks,
I need to get the manufacturer name in the title with the product name. Does anyone know what files I would need to look at to do this? Thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 12-01-2004, 06:19 PM
red_fraggle's Avatar
Active Member
 
Join Date: Feb 2004
Location: wilmington, NC
Posts: 319
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 0
red_fraggle
Default

in what title ? the webpage meta title? the category heading title? the product_info.php title? give me a url and position on page to take a look at and ill help ya out.
__________________
Clifton Murphy CEO/CTO
Hyperactive Inc.
osCommerce hosting, OSCMAX hosting, osCommerce modification, and OSCMAX modification specialists!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 12-01-2004, 06:25 PM
lem lem is offline
Member
 
Join Date: Nov 2004
Location: CDA, ID
Posts: 40
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
lem
Default The Title

I'm sorry, the product title. Good point...

http://www.truckracingparts.com/cata...products_id/45

It lists the product name, and model number. I want the manufacturer name in title as well. Thank you very much.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 12-01-2004, 06:34 PM
red_fraggle's Avatar
Active Member
 
Join Date: Feb 2004
Location: wilmington, NC
Posts: 319
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 0
red_fraggle
Default

are you using MAX or another version of osc?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5  
Old 12-01-2004, 06:35 PM
lem lem is offline
Member
 
Join Date: Nov 2004
Location: CDA, ID
Posts: 40
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
lem
Default Title

I am using OSCmax. Thank you.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #6  
Old 12-01-2004, 08:16 PM
red_fraggle's Avatar
Active Member
 
Join Date: Feb 2004
Location: wilmington, NC
Posts: 319
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 0
red_fraggle
Default

in /templates/content/product_info.tpl.php you will see on roughly line 70,
Code:
<td class="pageHeading" valign="top"><?php echo $products_name;</td>
and change it to this
Code:
<td class="pageHeading" valign="top"><?php echo $products_name; ?><?php echo $manufacturers_name; ?></td>
you can move it and clean it up and format it to look nicer or place it anywhere on the page you like. the variable you want to call is $manufacturers_name

I jsut wrapped it in a generic echo tag for simplicity

hope this helps .
__________________
Clifton Murphy CEO/CTO
Hyperactive Inc.
osCommerce hosting, OSCMAX hosting, osCommerce modification, and OSCMAX modification specialists!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #7  
Old 12-01-2004, 08:21 PM
red_fraggle's Avatar
Active Member
 
Join Date: Feb 2004
Location: wilmington, NC
Posts: 319
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 0
red_fraggle
Default

this variable is already defined in application_top.php which is why all you need to do is find out the variable name and place it anywhere you like, its part of the globals on all pages which have a "require(application_top.php)" statement in them.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #8  
Old 12-01-2004, 08:58 PM
lem lem is offline
Member
 
Join Date: Nov 2004
Location: CDA, ID
Posts: 40
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
lem
Default

Hmmmm, it appears as though it changes the Product Heading. I was thinking the page Title. Also, when I made this change to the product heading, it gives the wrong manufacturer. It appears that on all the products, it gives the last manufacturer of my manufacturer list. does that make sense?

For instance, http://www.truckracingparts.com/cata...products_id/78 . It should say bullydog at the end, but instead it says Westin. (Depending on when you look, I might have this changed.) What do you think? Thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #9  
Old 12-01-2004, 09:34 PM
lem lem is offline
Member
 
Join Date: Nov 2004
Location: CDA, ID
Posts: 40
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
lem
Default

I apologize if I didnt give enough information at the begginning. I believe the file we are dealing with is /includes/meta_tags.php. I just cannot figure out how to get the manufacturer name in there. I'm guessing it wants me to make a database query. But I dont really know how, or what to call out. Any help would be appreciated. Thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Show Manufacturer glynn osCommerce 2.2 Modification Help 0 05-11-2005 05:04 PM
modify the manufacturer box BoNzO osCommerce 2.2 Modification Help 1 03-15-2005 12:29 PM
Manufacturer URLs apexdog osCMax v1.7 Discussion 4 01-27-2005 10:46 AM
How 2 change <title>osCommerce</title> vannelle osCommerce 2.2 Modification Help 3 06-08-2004 03:25 PM
Removing manufacturer doyaski osCommerce 2.2 Modification Help 3 11-07-2003 09:52 PM


All times are GMT -8. The time now is 10:22 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax