remove
Code: Select all
$this->data['text_special'] = $this->language->get('text_special');
Code: Select all
$this->data['special'] = $this->url->link('product/special');
remove
Code: Select all
<li><a href="<?php echo $special; ?>"><?php echo $text_special; ?></a></li>
If you want to by absolutely rid of it you should also remove it's definition in the language file (although it wont err if you dont).
catalog/language/english/information/sitemap.php
remove
Code: Select all
$_['text_special'] = 'Special Offers';
If you want to hide specials in sitemap, use following code :
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<modification>
<code>cedcommerce_sitemap</code>
<name>Sitemap</name>
<version>1.0</version>
<author>CedCommerce Private Limited</author>
<link>http://cedcommerce.com</link>
<!--********************View of Site Map **************************-->
<file path="catalog/view/theme/default/template/information/sitemap.tpl">
<operation>
<search>
<![CDATA[<li><a href="<?php echo $special; ?>"><?php echo $text_special; ?></a></li>]]>
</search>
<add position="replace" ><![CDATA[
]]>
</add>
</operation>
</file>
</modification>
If you have any further queries do write us.
Thanks & Regards :
Call us at : (+91) -8765210318 , Skype: live:carlmorgan.cedcommerce , Email: support@cedcommerce.com
CedCommerece : Officail Opencart Partners
CedCommerce Official : www.cedcommerce.com
Opencart Services : www.cedcommerce/opencart-services.com
Sell On various Marketplace Integration : Opencart-Extensions
Magenative Mobile App/IOS Development : magenative.com
Webinar : Power up Your holiday season marketing with the Automation tool
If you want to remove links from sitemap, go with following code :
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<modification>
<code>cedcommerce_sitemap</code>
<name>Sitemap</name>
<version>1.0</version>
<author>CedCommerce Private Limited</author>
<link>http://cedcommerce.com</link>
<!--********************View of Site Map **************************-->
<file path="catalog/view/theme/default/template/information/sitemap.tpl">
<operation>
<search>
<![CDATA[<li><a href="<?php echo $special; ?>"><?php echo $text_special; ?></a></li>]]>
</search>
<add position="replace" ><![CDATA[
]]>
</add>
</operation>
<operation>
<search>
<![CDATA[<li><a href="<?php echo $account; ?>"><?php echo $text_account; ?></a>]]>
</search>
<add position="replace" ><![CDATA[
]]>
</add>
</operation>
<operation>
<search index="4">
<![CDATA[<ul>]]>
</search>
<add position="replace" ><![CDATA[
]]>
</add>
</operation>
<operation>
<search>
<![CDATA[<li><a href="<?php echo $edit; ?>"><?php echo $text_edit; ?></a></li>]]>
</search>
<add position="replace" ><![CDATA[
]]>
</add>
</operation>
<operation>
<search>
<![CDATA[<li><a href="<?php echo $password; ?>"><?php echo $text_password; ?></a></li>]]>
</search>
<add position="replace" ><![CDATA[
]]>
</add>
</operation>
<operation>
<search>
<![CDATA[<li><a href="<?php echo $address; ?>"><?php echo $text_address; ?></a></li>]]>
</search>
<add position="replace" ><![CDATA[
]]>
</add>
</operation>
<operation>
<search>
<![CDATA[<li><a href="<?php echo $history; ?>"><?php echo $text_history; ?></a></li>]]>
</search>
<add position="replace" ><![CDATA[
]]>
</add>
</operation>
<operation>
<search>
<![CDATA[<li><a href="<?php echo $download; ?>"><?php echo $text_download; ?></a></li>]]>
</search>
<add position="replace" ><![CDATA[
]]>
</add>
</operation>
<operation>
<search index="4">
<![CDATA[</ul>]]>
</search>
<add position="replace" ><![CDATA[
]]>
</add>
</operation>
<operation>
<search index="4">
<![CDATA[</li>]]>
</search>
<add position="replace" ><![CDATA[
]]>
</add>
</operation>
<operation>
<search>
<![CDATA[<li><a href="<?php echo $cart; ?>"><?php echo $text_cart; ?></a></li>]]>
</search>
<add position="replace" ><![CDATA[
]]>
</add>
</operation>
<operation>
<search>
<![CDATA[<li><a href="<?php echo $checkout; ?>"><?php echo $text_checkout; ?></a></li>]]>
</search>
<add position="replace" ><![CDATA[
]]>
</add>
</operation>
<operation>
<search>
<![CDATA[<li><a href="<?php echo $search; ?>"><?php echo $text_search; ?></a></li>]]>
</search>
<add position="replace" ><![CDATA[
]]>
</add>
</operation>
</file>
</modification>
Note: This will hide those links from your Sitemap page. If you permanently want to remove those links do ping us & we will help you sort that as well.
If you have any further queries do write us.
Thanks & Regards :
Call us at : (+91) -8765210318 , Skype: live:carlmorgan.cedcommerce , Email: support@cedcommerce.com
CedCommerece : Officail Opencart Partners
CedCommerce Official : www.cedcommerce.com
Opencart Services : www.cedcommerce/opencart-services.com
Sell On various Marketplace Integration : Opencart-Extensions
Magenative Mobile App/IOS Development : magenative.com
Webinar : Power up Your holiday season marketing with the Automation tool
Users browsing this forum: No registered users and 46 guests