Welcome to WebmasterWorld Guest from

Forum Moderators: incrediBILL

Message Too Old, No Replies

If then HTML

need custom page titles

4:16 pm on Sep 21, 2010 (gmt 0)

Junior Member

5+ Year Member

joined:Aug 3, 2010
votes: 0

I am using 3dcart to host and run my website. 3dcart has various syntax commands that will go to the database's spreadsheet and get the info from the spreadsheet. We want to use page titles that differ from our product's names and in order to do this, I would assume an if then statement would be needed.

Does anyone know if this exists?

Currently we have <title>[TITLE]</title>..[title] is the 3dcart command to bring up the info from the spreadsheet. We would need something like

If info is in the [extra_field_1] field, ignore [title].

That way it would make the html <title>[extra_field_1]...

Does this make sense to anyone? I know it is probably tough to understand because it is using html with some custom proprietary commands, but maybe someone has some insight.

5:39 pm on Sept 21, 2010 (gmt 0)

Junior Member

5+ Year Member

joined:Feb 26, 2010
votes: 0

this sounds more like a php problem, but i am not too familiar with 3dcart. maybe give some more background.
6:23 pm on Oct 13, 2010 (gmt 0)

Junior Member

5+ Year Member

joined:Jan 18, 2008
posts: 73
votes: 0

It sounds like an SEO nightmare waiting to happen. Different page titles for the same content? Maybe I am misunderstanding, but I would recommend creating separate pages for different content. As Jason said, more info would be helpful. Be a little more detailed about what you are trying to do:

Why do you feel you need to change the title but yet have the same page?

What sort of info would "extra_field_1" consist of?

By your statement of "our product's names" it sounds like you are trying to do some sort of catalog? If so you are definitely wanting to go the PHP/some other server side language for database queries. You can use this to change titles, however you will ALSO change your urls.

So for an example, say I am selling tshirts, I might have a catalog page that looks like this in the address bar:


then clicking on a particular shirt might take you to


Your title might be something like "Brown tank top shirts"

Obviously if you clicked "black" or "white" from the tank_tops address, you would have different pages with different titles. I hope this is making sense and please provide more information.

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members