Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

Is there a simple way of having the product's name come up as the title tag for product_info.php, without having to add any contributions to my site?

 

I'm not worried about changing the meta tags or having all the features of the Header Tag contributions. I'm just looking for some php code to stick in the product_info.php title tag that echo's the product's name, like what the pop-up windows have.

 

I'm fairly new to PHP, but I can't figure out on my own how the pop-up windows have unique title tags and the product_info.php doesn't.

 

Thanks for the help

Posted

I`ve been trying header codes like:

 

<title> <?php echo product_name;?> from My Business </title>

 

and many variations of it, but nothing seems to be working. I was able to get the model number to appear once, but not the product name. Any ideas what I could do without adding a contribution?

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