X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   General questions (X-Cart 5) (https://forum.x-cart.com/forumdisplay.php?f=66)
-   -   Remove / Edit meta description on cart page (https://forum.x-cart.com/showthread.php?t=74377)

xgarb 08-31-2016 08:02 AM

Remove / Edit meta description on cart page
 
Hi,

How can I remove or edit the meta description on the cart page.

Currently it looks like this:

<meta name="description" content="The powerful shopping cart software for web stores and e-commerce enabled stores is based on PHP5 with SQL database with highly configurable implementation based on templates" />

qualiteam 08-31-2016 10:11 PM

Re: Remove / Edit meta description on cart page
 
You can change the text in the Translations section of your site back end - search for "default-meta-description" label.

However, this will change the text for all site pages except product/category/brand pages. If you want to change this text on the cart page only, you are to create a custom module that adds getMetaDescription() method to \XLite\Controller\Customer\Cart class and makes it return the text that you need. You can do it via CustomSkin module too (i.e. without creating a new custom module).

xgarb 09-01-2016 06:27 AM

Re: Remove / Edit meta description on cart page
 
Thanks for the help.

I think it would be better to just remove the description field or have it blank. Store owners won't notice this unless they are checking the code of all their pages and it won't look that good if it ends up search results.


All times are GMT -8. The time now is 05:19 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.