Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Remove / Edit meta description on cart page

 
Reply
   X-Cart forums > X-Cart 5 > General questions (X-Cart 5)
 
Thread Tools Search this Thread
  #1  
Old 08-31-2016, 08:02 AM
 
xgarb xgarb is online now
 

eXpert
  
Join Date: Jul 2004
Location: UK
Posts: 263
 

Default 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" />
__________________
Core version: 5.5.xx
Reply With Quote
  #2  
Old 08-31-2016, 10:11 PM
  qualiteam's Avatar 
qualiteam qualiteam is offline
 

X-Guru
  
Join Date: Dec 2010
Posts: 6,373
 

Default 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).
__________________
Alex Solovev,
Qualiteam

---

User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions
Reply With Quote

The following user thanks qualiteam for this useful post:
xgarb (09-01-2016)
  #3  
Old 09-01-2016, 06:27 AM
 
xgarb xgarb is online now
 

eXpert
  
Join Date: Jul 2004
Location: UK
Posts: 263
 

Default 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.
__________________
Core version: 5.5.xx
Reply With Quote
Reply
   X-Cart forums > X-Cart 5 > General questions (X-Cart 5)


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 03:31 AM.

   

 
X-Cart forums © 2001-2020