Print Page | Close Window

weird description issue

Printed From: ProductCart E-Commerce Solutions
Category: ProductCart
Forum Name: Customizing ProductCart
Forum Description: Exchange messages with other users that are customizing ProductCart.
URL: https://forum.productcart.com/forum_posts.asp?TID=2868
Printed Date: 25-July-2025 at 10:24am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: weird description issue
Posted By: JWL
Subject: weird description issue
Date Posted: 13-July-2009 at 4:14pm
on the bto configuration pages the meta description doesn't display properly, instead of the description it has the first and last two keywords, something like this:
<META NAME="Description" CONTENT="first keyword,     ,2ndtolastkeyword,lastkeyword">

anyone else get this issue?! the description shows up on the rest of the pages.




Replies:
Posted By: ProductCart
Date Posted: 03-August-2009 at 5:58pm
This is determined by the following code contained in the file "pc/include-metatags.asp". When the description Meta Tag is empty for a product, ProductCart builds that description as shown in the following code.

'// Product Details Page: DESCRIPTION

if not isNull(mtPMetaDesc) and mtPMetaDesc<>"" then
mtDescription=mtPMetaDesc
else
mtDescription=mtPName & "," & mtPsDesc & "," & mtCDesc & "," & scCompanyName
end if


So it uses: product name + short description + category name + company name. You can certainly change this by editing the file itself. We will also review it and see if it should be changed for a future version.

This, however, is not just on the BTO configuration page. This is on all product pages.

-------------
The ProductCart Team

Home of ProductCart http://www.productcart.com" rel="nofollow - shopping cart software



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net