Quote Originally Posted by lat9 View Post
Re: Getting the cPath variable into products' sitemapxml links

I've got category-specific formatting for my products, so the cPath variable is a necessity for my product links. You can add this to the generated product links by editing /includes/pages/sitemapxml/sitemapxml_products.php (line 35 for v2.1.0):

Code:
    $link = zen_href_link(zen_get_info_page($products->fields['products_id']), 'cPath=' . zen_get_products_category_id($products->fields['products_id']) . '&products_id=' . $products->fields['products_id'] . $langParm, 'NONSSL', false);
Thanks buddy ... I've been wanting to get this sorted for a while now. Nice one