My questions exactly - why do this?
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
EDIT: catalog/view/theme/default/template/information/sitemap.twig
FIND:
Code: Select all
<div class="col-sm-6">
<ul>
<li><a href="{{ special }}">{{ text_special }}</a></li>
<li><a href="{{ account }}">{{ text_account }}</a>
<ul>
<li><a href="{{ edit }}">{{ text_edit }}</a></li>
<li><a href="{{ password }}">{{ text_password }}</a></li>
<li><a href="{{ address }}">{{ text_address }}</a></li>
<li><a href="{{ history }}">{{ text_history }}</a></li>
<li><a href="{{ download }}">{{ text_download }}</a></li>
</ul>
</li>
<li><a href="{{ history }}">{{ text_cart }}</a></li>
<li><a href="{{ checkout }}">{{ text_checkout }}</a></li>
<li><a href="{{ search }}">{{ text_search }}</a></li>
<li>{{ text_information }}
<ul>
{% for information in informations %}
<li><a href="{{ information.href }}">{{ information.title }}</a></li>
{% endfor %}
<li><a href="{{ contact }}">{{ text_contact }}</a></li>
</ul>
</li>
</ul>
</div>
<a href="{{ xxxxx }}"> and </a> tags around each of those list items.
if you want the easy route i.e. not disable the construction of the links then simply comment those sections out:
you change:
Code: Select all
<div class="col-sm-6">
<ul>
<li><a href="{{ special }}">{{ text_special }}</a></li>
<li><a href="{{ account }}">{{ text_account }}</a>
<ul>
<li><a href="{{ edit }}">{{ text_edit }}</a></li>
<li><a href="{{ password }}">{{ text_password }}</a></li>
<li><a href="{{ address }}">{{ text_address }}</a></li>
<li><a href="{{ history }}">{{ text_history }}</a></li>
<li><a href="{{ download }}">{{ text_download }}</a></li>
</ul>
</li>
<li><a href="{{ history }}">{{ text_cart }}</a></li>
<li><a href="{{ checkout }}">{{ text_checkout }}</a></li>
<li><a href="{{ search }}">{{ text_search }}</a></li>
<li>{{ text_information }}
<ul>
{% for information in informations %}
<li><a href="{{ information.href }}">{{ information.title }}</a></li>
{% endfor %}
<li><a href="{{ contact }}">{{ text_contact }}</a></li>
</ul>
</li>
</ul>
</div>
Code: Select all
<div class="col-sm-6">
<ul>
{#
<li><a href="{{ special }}">{{ text_special }}</a></li>
<li><a href="{{ account }}">{{ text_account }}</a>
<ul>
<li><a href="{{ edit }}">{{ text_edit }}</a></li>
<li><a href="{{ password }}">{{ text_password }}</a></li>
<li><a href="{{ address }}">{{ text_address }}</a></li>
<li><a href="{{ history }}">{{ text_history }}</a></li>
<li><a href="{{ download }}">{{ text_download }}</a></li>
</ul>
</li>
<li><a href="{{ history }}">{{ text_cart }}</a></li>
<li><a href="{{ checkout }}">{{ text_checkout }}</a></li>
<li><a href="{{ search }}">{{ text_search }}</a></li>
#}
<li>{{ text_information }}
<ul>
{% for information in informations %}
<li><a href="{{ information.href }}">{{ information.title }}</a></li>
{% endfor %}
<li><a href="{{ contact }}">{{ text_contact }}</a></li>
</ul>
</li>
</ul>
</div>
Crystal Light Centrum Taiwan
Extensions: MailQueue | SUKHR | VBoces
“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.
Often getting to the root of the "why" can allow you to come up with a better or different solution or even advise them it's not necessary.
E.g.
Client: "I want you to change my sitemap"
Supplier: "Why?"
Client: "Because I read this article that says it's better for SEO"
Supplier: "That doesn't actually apply since the most recent update so it's not necessary - save the time and money"
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
@Qphoria, @letxobnav, I tried both of your suggestions but nothing seems to happen, by the way my concern is to remove those links not disable them.
@paulfeakins
I want to look my website as pure catalog, and I think I would not be needing those details.
Crystal Light Centrum Taiwan
Extensions: MailQueue | SUKHR | VBoces
“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.
Yes , I did clear my theme cache...
EDIT:
Did not figured out earlier that I am editing different twig file, cause I'm using custom theme. Edited the sitemap.twig file on my custom theme directory and now it is done accordingly. Thank you very much!!!