سؤال

I am building the magento ecommerce website named "bookslab.in". I want to remove the "Powered by Searchanise" from the search bar of my magento site. I had attached the screenshot of which section i have to remove & how much part i have to remove. I had installed an Searchanise extension. Any help will be appreciated. Someone suggested my to edit in module, but how to edit this module. Any one know please answer this if anyone did not got i will explain them again. While accessing the Putty to connect with SSH getting "Connection Timout" error.

enter image description here

هل كانت مفيدة؟

المحلول

try the following:

  1. Brute find and remove

    SSH to magento root folder and search for 'Searchanise':

    find ./app ./skin ./lib ./js -type f -exec grep -iHn --color=always 'Powered by.*Searchanise' {} \;
    

    if found edit the file and remove it.

  2. Display:none for html element

    Use Chrome inspector or Firefox devtools to find class name or ID of an element that contains 'Powered by Searchanise': enter image description here once found add this CSS rules to your styles.css file:

    .classname{display:none;}
    

نصائح أخرى

You are able to remove powered by text using jQuery. Following is one of the method is to remove text.

<script type="text/javascript" language="javascript"> jQuery(document).ready(function(e) { setInterval(function(){ jQuery('.snize-ac-results a').each(function() { if (jQuery(this).text() == 'Powered by Searchanise') jQuery(this).text(''); }); }, 3000); }); </script>

This code will not work if they will change class name as '.snize-ac-results'. This is temporary/quick solution now.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى magento.stackexchange
scroll top