Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?


Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site

 All Forums
 General
 Search Engines & Marketing
 SEO Page Title Tag
 New Topic  Reply to Topic
 Printer Friendly
Author  Topic   

Mikelli
Ecommerce Template Guru

USA
1550 Posts

Posted - 04/04/2021 :  09:57:06  
I use an add-on to help with SEO marketing. What would the Print to "Page Title Tag" be?
Format is like this: <title><?php print $addsearch . " | " . $productname . " | " . $productid; ?></title>

Thanks,

Michael

dbdave
ECT Moderator

USA
9360 Posts

Posted - 04/04/2021 :  10:43:35  
Hi, that's covered in this page - https://www.ecommercetemplates.com/seo/dynamic-title-meta-php.asp
I am thinking you want the title tag that's entered into the admin...

David

Mikelli
Ecommerce Template Guru

USA
1550 Posts

Posted - 04/04/2021 :  17:21:02  
Thanks David that is what I was looking for.

Michael

Mikelli
Ecommerce Template Guru

USA
1550 Posts

Posted - 04/06/2021 :  09:13:46  
Before upgrading to the newest cart both of these were working.
Print proddetail.php title tag and an H1 tag, both have stopped working since the update. I've been moving stuff around trying to get working again. I have also been reading "https://www.ecommercetemplates.com/seo/dynamic-title-meta-php.asp"
Do I have these in the correct order? Thanks for any help

Print proddetail.php title tag

<?php
session_cache_limiter('none');
session_start();
ob_start();
include "vsadmin/db_conn_open.php";
include "vsadmin/includes.php";
include "vsadmin/inc/incfunctions.php";
include "vsadmin/inc/metainfo.php";?><!DOCTYPE html><html lang="en"><!-- #BeginTemplate "/Templates/Shop.dwt" --><!-- DW6 -->
<head>
<!-- #BeginEditable "doctitle" -->
<title><?php
print $addsearch . " | " . $productname . " | " . $productid;
?></title>
<meta name="Description" content="<?php print str_replace('"','"',$productdescription)?>">

<!-- #EndEditable -->
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, maximum-scale=1.0, minimum-scale=1.0, initial-scale=1" />
<link href="css/style.css" rel="stylesheet" type="text/css" />
<link href="css/ectcart.css" rel="stylesheet" type="text/css">
<script src="/js/ectcart.js"></script>
<script type="text/javascript" src="js/html5.js"></script>
<link rel="stylesheet" href="css/responsivemobilemenu.css">
<script src="js/jquery-1.9.1.min.js"></script>
<script src="js/responsivemobilemenu.js"></script>
<link href='https://fonts.googleapis.com/css?family=Exo+2:400,400italic,700' rel='stylesheet' type='text/css'>


<script src="js/jquery.smartmenus.js" type="text/javascript"></script>
<link href="css/sm-core-css.css" rel="stylesheet" type="text/css" />
<link href="css/sm-blue/sm-blue.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">
$(function() {
$('#main-menu').smartmenus();
});
</script>


<!-- #BeginEditable "head" -->
<?php include "vsadmin/inc/languagefile.php" ?>

<!-- #EndEditable --></head>


Print proddetail.php H1 tag
<!-- #BeginEditable "body" -->
<div class="middle_contain_top">
<h1><?php print $productname;?> | <?php print $addsearch;?></h1>
<div class="middle_product">

<?php include "vsadmin/inc/incproddetail.php" ?>

Michael

Vince
Administrator

40522 Posts

Posted - 04/06/2021 :  09:49:15  
Hi Michael
Was that to do with the script by Mike Beebe that needed updating? That was the one we removed because it was causing an error on the page, no?

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

Mikelli
Ecommerce Template Guru

USA
1550 Posts

Posted - 04/06/2021 :  09:59:43  
Hi Vince, Mike got me going.

Michael
   Topic   
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2020 ecommercetemplates.com
This page was generated in 0.02 seconds. Snitz Forums 2000