
Originally Posted by
ilovekr
Hi,
I was wondering how I can change this code <meta property="og:description" content="<?php echo $meta_products_description; ?>" /> to target the product description shown in the meta of the product that is changed in zencart. Right now the product description doesn't seem to
http://seoulto.com/couples_rings/me_...couples_rings1
In the view source of say the product link above I get this stuff:
<meta property="og:description" content="p {font-size: 12px;} #heading1 {margin:0px; padding: 0px;} Me Love You Couples Rings are designed to be comfortable and light . The rings can be a good gift for your lover at any point in your relationship. A pair of rings like this one is a very good way to keep your lover" />
I don't know why the html/css portion is also shown.
Thanks!
Probably because it appears that this code is being pulled in by your Facebook like button from your product's meta description... Viewing your product page source and this is what I see.. Notice anything off?? (hint: I highlighted in the issue in red) Check your product's meta descriptions to fix this..
Code:
<meta name="keywords" content="Me Love You Couples Rings Earrings Couples Rings Necklaces korean jewelry, seoul to, cute jewelry shop, online korean jewelry shop" />
<meta name="description" content="Seoul To Me Love You Couples Rings - p {font-size: 12px;} #heading1 {margin:0px; padding: 0px;} Me Love You Couples Rings are designed to be comfortable and light . The rings can be a good gift for your lover at any point in your relationship. A pair of rings like this one is a very good way to keep your lover " />
The question is why do you have style declarations inside you products meta description to begin with??