You are here:  » Product title the same as the header text

Support Forum



Product title the same as the header text

Submitted by transparencia on Sun, 2010-10-10 23:51 in

Hello David!

As I understand, the HTML title of the products, created by this code:

<?php
 
  $header
["title"] = htmlentities($q,ENT_QUOTES,$config_charset);
?>

, removes for example the -. So if the product name is: Product A-200. The actual title will be Product A 200.

Is there a way for it to be the same as the the text that appears in <h3></h3>?

Submitted by support on Mon, 2010-10-11 08:51

Hi,

Sure - use:

  $header["title"] = htmlentities($product["products"][0]["title"],ENT_QUOTES,$config_charset);

Cheers,
David.
--
PriceTapestry.com