1. Only those categories are showing in mobile that are hooked to appear on top bar. Please advise how to see all categories on mobile.
2. How to hide telephone number from header
3. How to remove 'Affiliate' from bottom
Thank you!
- Pankaj Jain
You probably use an Extension, enabling TOP Header Links to work as active URL. But1. Only those categories are showing in mobile that are hooked to appear on top bar. Please advise how to see all categories on mobile.
those Extensions disable SubCat Linking in Mobile View.
---
either by creating a very simple OcMod/VqMod, or manually remove it or hide it2. remove this Line from your THEME /template/common/header.twig,
in/from from the file.
Code: Select all
<li><a href="{{ contact }}"><i class="fa fa-phone"></i></a> <span class="hidden-xs hidden-sm hidden-md">{{ telephone }}</span></li>
Code: Select all
<!-- <li><a href="{{ contact }}"><i class="fa fa-phone"></i></a> <span class="hidden-xs hidden-sm hidden-md">{{ telephone }}</span></li> -->
Code: Select all
<?xml version="1.0" encoding="utf-8"?>
<modification>
<name>Remove Phone from Header OC3</name>
<version>1.0</version>
<code>theme_header_phone_remove</code>
<author>Ernie - IP_CAM</author>
<file path="catalog/view/theme/*/template/common/header.twig">
<operation error="log">
<search><![CDATA[<li><a href="{{ contact }}"><i class="fa fa-phone"></i></a> <span class="hidden-xs hidden-sm hidden-md">{{ telephone }}</span></li>]]></search>
<add position="replace"><![CDATA[]]></add>
</operation>
</file>
</modification>
Good Luck!
Ernie
My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
So if you have put the category module there, it's hidden.
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.
For point 1 :
Can you please elaborate a l'll bit more about it, as I can see all the categories in mobile view.1. Only those categories are showing in mobile that are hooked to appear on top bar. Please advise how to see all categories on mobile.
For point 2 : Use following code to hide any template (view) code
Code: Select all
<!-- [ Your code ] -->
Thanks.
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
This is how we use to comment HTML code even in twig file.
I have even used this comment-out code to hide few codes .
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
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.
but seldom gave me a clear advise, how it should be done right
Ernie
My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
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.
if you use <!-- [ Your code ] --> that code will still be put in your html output which you send over the line needlessly.
if you use {# [ Your code ] #} it will not be part of the html output.
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.
Thanks for the information mate.
I know it works both way <!-- --> as well as {# #} in twig file for commenting a statement.
A person might me new to a framework i.e. why, I & IP_CAM we both have suggested <!-- --> to comment or hide a code
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
My problem is that only those categories appear in mobile device that I hook up to the top bar. I want all categories as well as sub-categories to appear in all devices be it mobile or tab or laptop or a desktop.
Please advise solution for it.
Thank you.
Users browsing this forum: No registered users and 134 guests