Answer the question
In order to leave comments, you need to log in
Where to paste the code to apply it throughout the site?
Hello! I found on the Internet how to hide breadcrumbs in the product card in the mobile version.
There he is:
if(preg_match("/(android|avantgo|blackberry|bolt|boost|cricket|docomo|fone|hiptop|mini|mobi|palm|phone|pie|tablet|up\.browser|up\.link|webos|wos)/i", $_SERVER["HTTP_USER_AGENT"])){
unset($data['breadcrumbs']);
}
Answer the question
In order to leave comments, you need to log in
If you need to add something on all pages, then work in the controller:
common/header
or
common/footer
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question