You are here:  » category:PRODUCT Meta Data Change

Active Forum Topics


category:PRODUCT Meta Data Change

Submitted by TWDesigns on Mon, 2021-07-19 13:14 in

What's the best way to change the default category:PRODUCT NAME to Site Name : Category Name : Product Name

Example:
Current
category:PRODUCT

Would like it to be
example.com : Wheels : BMK 20 Inch Wheels

I found several posts but not sure which simplifies it down to what I'm trying to accomplish.

Thanks in advance.

Submitted by support on Tue, 2021-07-20 06:55

Hi,

It sounds like you may already have a modification in place for the product page title however based on the distribution products.php look for the following code at line 64:

      $header["title"] = $product["products"][0]["name"];

...and REPLACE with:

      $header["title"] = "example.com : ".$product["products"][0]["category"]." : ".$product["products"][0]["name"];

Cheers,
David.
--
PriceTapestry.com