How does Zen cart add titles, keywords, and descriptions to the pages of new products, special offers, and recommended products?

Source: Internet
Author: User
Tags zen cart
Zen cart's mate tags settings are comprehensive, including the keywords and titles on the product sales page and product category list page, if not defined, the product name or category name will be called automatically.

But for new products (index. php? Main_page = products_new), special offer (index. php? Main_page = specials), recommended products (index. php? Main_page = featured_products) the page cannot be set separately in the website background. In fact, these can be implemented by modifying the meta_tags.php file in the language file.

The specific path is as follows:Supported des/ages/english/meta_tags.php
Find
Define ('meta _ tag_description_page_name ','');
Define ('meta _ tag_keywords_page_name ','');
Define ('meta _ tag_title_page_name ','');

Add the followingCodeAnd write the title, keyword, and description respectively.

// Products_new
Define ('meta _ tag_description_products_new ', 'way -net.com ');
Define ('meta _ tag_keywords_products_new ', 'way -net.com ');
Define ('meta _ tag_title_products_new ', 'way -net.com ');
// Featured_products
Define ('meta _ tag_description_featured_products', 'way -net.com ');
Define ('meta _ tag_keywords_featured_products', 'way -net.com ');
Define ('meta _ tag_title_featured_products ', 'way -net.com ');
// Specials
Define ('meta _ tag_description_specials ','');
Define ('meta _ tag_keywords_specials ','');
Define ('meta _ tag_title_specials ','');

Enter the content in single quotes to solve the problem.

 

From: http://www.way-net.com/zen-cartru-he-gei-xin-chan-pin-te-jia-tui-jian-chan-pin-ye-mian-jia-biao-ti-guan-jian-zi-miao-shu.html

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.