This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Forum Replies Created

Viewing 15 posts - 3,136 through 3,150 (of 18,425 total)
  • Author
    Posts
  • in reply to: Customizing Settings Button Behavior #46113
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Great!

    Yes, sort of a hacky way, but I think using a custom CSS to force visibility is the simplest way:

    .asp_ss {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    in reply to: Custom fields #46111
    Ernest MarcinkoErnest Marcinko
    Keymaster

    You cannot access this content.

    in reply to: Search box styling not working in Elementor #46109
    Ernest MarcinkoErnest Marcinko
    Keymaster

    You cannot access this content.

    in reply to: Compact Box Layout not loading correct sometimes #46108
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Okay, let’s try something different.

    On the index table settings, do NOT select the product variations, that may actually conflict with this. Try this code instead:

    add_filter( 'asp_post_content_before_tokenize_clear', 'asp_tokenize_sku_variation', 10, 2 );
    function asp_tokenize_sku_variation($content, $post) {
      if ( $post->post_type == 'product' ) {
    	$_product = wc_get_product( $r->id );  
    	$variations = $_product->get_children();
    	if ( !is_wp_error($variations) && is_array($variations) ) {
    		foreach ( $variations as $variation ) {
    			$content .= ' ' . $variation->get_description();
    			$content .= ' ' .  $variation->get_sku();
    		}
    	}
      }
    
      return $content;
    }

    If all goes well this should make some sort of a change.

    in reply to: Compact Box Layout not loading correct sometimes #46102
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi Leonidas,

    I think so, but it may require a bit of custom code and special configuration.

    Try adding this code via the Code Snippets plugin or to the functions.php file in your theme/child theme directory – make sure to have a full server back-up first for safety. For more details you can check the safe coding guidelines.

    add_filter( 'asp_post_content_before_tokenize_clear', 'asp_tokenize_sku_variation', 10, 2 );
    function asp_tokenize_sku_variation($content, $post) {
      if ( $post->post_type == 'product' && ($variations = $_product->get_children()) ) {
    	foreach ( $variations as $variation ) {
    		$content .= ' ' . $variation->get_description();
    		$content .= ' ' .  $variation->get_sku();
    	}
      }
    
      return $content;
    }

    Then you will have to enable and use the index table engine. It will then index the variation description and SKU for each product as part of a the product content.

    in reply to: Search box styling not working in Elementor #46100
    Ernest MarcinkoErnest Marcinko
    Keymaster

    You cannot access this content.

    in reply to: How To Include Thumbnails In Search Input Dropdown? #46099
    Ernest MarcinkoErnest Marcinko
    Keymaster

    You cannot access this content.

    in reply to: Custom Field Search Result Link Not Updating Site Content #46098
    Ernest MarcinkoErnest Marcinko
    Keymaster

    You cannot access this content.

    in reply to: Customizing Settings Button Behavior #46097
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Oh, I’m sorry, I misinterpreted your query – that is not the button you want.

    The actual settings button in the search input can’t be changed via templating, but there is still hope.

    Try adding this code via the Code Snippets plugin or to the functions.php file in your theme/child theme directory – make sure to have a full server back-up first for safety. For more details you can check the safe coding guidelines.

    add_filter( 'asp_shortcode_output', 'asp_change_search_button_class', 10, 2 );
    function asp_change_search_button_class( $output, $id ) {
    	return str_replace("<div class='prosettings", "<div class='sok-installningar-" . $id . " prosettings", $output);
    }
    in reply to: Mobile responsive search filters? #46088
    Ernest MarcinkoErnest Marcinko
    Keymaster

    You cannot access this content.

    in reply to: Custom Field Search Result Link Not Updating Site Content #46084
    Ernest MarcinkoErnest Marcinko
    Keymaster

    You cannot access this content.

    in reply to: Changing default query URL #46083
    Ernest MarcinkoErnest Marcinko
    Keymaster

    On my end it works on any given page, home, subpages, regardless of the URL. I tried to trigger the error but no luck unfortunately.

    If you want, you can add temporary FTP and back-end access, I can take a look.

    Before that I would start by removing any custom code you may have, disabling all plugins temporarily, reverting the .htaccess file to default to see if anything changes. If it works then, then there is a conflict somewhere. If not, then it is still possible that the borwser just does not trigger a location change only based on the hashtag without query arguments.

    in reply to: Mobile responsive search filters? #46082
    Ernest MarcinkoErnest Marcinko
    Keymaster

    You cannot access this content.

    in reply to: How To Include Thumbnails In Search Input Dropdown? #46081
    Ernest MarcinkoErnest Marcinko
    Keymaster

    You cannot access this content.

    in reply to: Custom Post Type Not Showing In Search Results #46080
    Ernest MarcinkoErnest Marcinko
    Keymaster

    I’m afraid I am not available for custom jobs, I’m sorry. Discussion about the thumbnail we can continue here.

Viewing 15 posts - 3,136 through 3,150 (of 18,425 total)