I am using Funkydunk's Cool Meta Mod and Meta Tag Creator from CartMods.com (
http://forum.x-cart.com/viewtopic.php?t=3703 &
http://www.cartmods.com/customer/product.php?productid=47&cat=1&page=1 ) and am having some trouble integrating the 2. I am not very knowledgable about PHP or Smarty syntax (although I learn more everyday!) so a morning of tweaking has fixed all but 1 problem.
Currently, on category pages I get both the general meta tags along with the category meta tags. It should be just the category meta tags. The product pages are correct (just shows product meta tags) and the other pages are fine as well (just shows general meta tags). Just getting the duplicate tags on the category tags.
Here is the section of meta.tpl which controls it
Code:
{if $main ne "product"}
<meta name="description" content="The powerful shopping cart software for web stores and e-commerce enabled webstores is based on PHP.">
<meta name="keywords" content="x-cart, xcart, cart, shopping cart, php, php4, mysql, postgres, shop, e-commerce, store, web store">
{* funkydunk metamod *}
{if $current_category.meta_tags ne ""}
<META NAME="Description" CONTENT="{$current_category.meta_description}">
<META NAME="Keywords" CONTENT="{$current_category.meta_tags}">
{* end of funkydunk metamod *}
{/if}
{else}
<meta name="description" content="{$product.meta_desc}">
<meta name="keywords" content="{$product.meta_keys}">
{/if}
If anyone is able to help me locate the syntax error I have created, I would greatly appreciate it!