user livefr codecanyon

This topic contains 11 replies, has 2 voices, and was last updated by Ernest Marcinko Ernest Marcinko 4 years, 1 month ago.

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #26109
    livefr57
    livefr57
    Participant

    Hello, thanks for answering. Could you tell me where I can apply these changes?

    1) I also need to know how I can get this design when searching my page, since with its search engine the design changes:

    As you can see, the design changes and I like the first one because it shows the brand and its more flexible design

    • This topic was modified 4 years, 1 month ago by livefr57 livefr57.
    #26119
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi!

    I think the issue is, that the search redirection is not set to the WooCommerce results page. Make sure to change that under the Magnifier and Return events. That will resolve the issue 🙂

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #26134
    livefr57
    livefr57
    Participant
    You cannot access this content.
    #26135
    livefr57
    livefr57
    Participant
    You cannot access this content.
    #26137
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi,

    In that case, if you want to remove the spaces anyway, then I recommend using a custom code.

    Try adding this custom code to the functions.php in your theme/child theme directory. Before editing, please make sure to have a full site back-up just in case!

    add_filter('asp_search_phrase_before_cleaning', 'asp_replace_characters', 10, 1);
    add_filter('asp_query_args', 'asp_replace_characters', 10, 1);
    
    function asp_replace_characters( $s ) {
      $characters = " "; // Type characters one after another
      $replace_with = '';     // Replace them with this (space by default)
    
      if ( is_array($s) ) {
        if ( isset($s['s']) && !$s['_ajax_search'] ) 
          $s['s'] = str_replace(str_split($characters), $replace_with, $s['s']);      
      } else {
        $s = str_replace(str_split($characters), $replace_with, $s);
      }
    
      return $s; 
    }
    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #26144
    livefr57
    livefr57
    Participant
    You cannot access this content.
    #26147
    livefr57
    livefr57
    Participant
    You cannot access this content.
    #26151
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi,

    This is a ticket, you can mark each reply that you want to have private with the “Set as private reply” checkbox. All server related details in your first post are also private, not visible to anyone.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #26154
    livefr57
    livefr57
    Participant
    You cannot access this content.
    #26163
    Ernest Marcinko
    Ernest Marcinko
    Keymaster
    You cannot access this content. Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #26167
    livefr57
    livefr57
    Participant
    You cannot access this content.
    #26168
    Ernest Marcinko
    Ernest Marcinko
    Keymaster
    You cannot access this content. Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


Viewing 12 posts - 1 through 12 (of 12 total)

You must be logged in to reply to this topic.