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

Forum Replies Created

Viewing 15 posts - 1,006 through 1,020 (of 18,443 total)
  • Author
    Posts
  • in reply to: WooCommerce Search Filtering #54040
    Ernest MarcinkoErnest Marcinko
    Keymaster

    You cannot access this content.

    in reply to: WooCommerce Search Filtering #54037
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Good news, found a possible solution it should be okay now.

    Please keep this in your functions.php file:

    add_filter(
    	'asp_pre_get_front_filters', 
    	function ( $filters, $type ) {
    		foreach ($filters as $k => &$filter) {
    			if ( $filter->type() !== 'custom_field' || $filter->field() !== 'attribute_model-size' ) {
    				continue;
    			}
    			$items = [];
    			foreach ($filter->get() as $kk => $item) {
    				
    				$items[intval($item->value)] = $item;
    				// Remove the current item by array ID
    				$filter->remove($kk, true);
    			}
    			unset($item);
    			ksort($items);
    			foreach ( $items as $item ) {
    				$filter->add(array(
    					'label' => $item->label,
    					'selected' => $item->selected,
    					'value' => $item->value
    				));
    			}
    		}
    		return $filters;
    	}, 10, 2
    );
    in reply to: WooCommerce Search Filtering #54035
    Ernest MarcinkoErnest Marcinko
    Keymaster

    You cannot access this content.

    in reply to: WooCommerce Search Filtering #54032
    Ernest MarcinkoErnest Marcinko
    Keymaster

    You cannot access this content.

    in reply to: Conditional taxanomy filter #54028
    Ernest MarcinkoErnest Marcinko
    Keymaster

    You cannot access this content.

    in reply to: search function taking up to 20 seconds #54024
    Ernest MarcinkoErnest Marcinko
    Keymaster

    You cannot access this content.

    in reply to: WooCommerce Search Filtering #54023
    Ernest MarcinkoErnest Marcinko
    Keymaster

    You cannot access this content.

    in reply to: Pro Search Not Working #54017
    Ernest MarcinkoErnest Marcinko
    Keymaster

    You are welcome!

    Also, I forgot two more things:
    – The results highlighter is set like this: https://i.imgur.com/futSc5g.png
    – And also the description context: https://i.imgur.com/pj2EkVy.png

    in reply to: Pro Search Not Working #54015
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Sure!

    – I have disabled Ajax Search Lite and Enabled Pro: https://i.imgur.com/b5mA4hK.png
    – On the index table I choose this configuration and indexed: https://i.imgur.com/3iFUkin.png
    – On the search instance settings I selected the index table and choose only posts and pages: https://i.imgur.com/GqPXZcR.png

    in reply to: Pro Search Not Working #54013
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi,

    The FAQ post type is most likely only for storage purposes, as those items does not have actual post type pages, they are integrated into the page itself – meaning that they are not meant to be searchable individually.

    It goes to this link.. which is not correct it suppose to take the section where the actual faq mentioned.
    That’s unfortunately not possible to do that way as the faq links are in no relation to the page where are placed on, WordPress will always return the FAQ links, which are non-existent pages.

    It might be possible to index the FAQ contents as contents of the resources page within the Pro version via the Index Table engine. However please note that in that case not the individual FAQ items will be returned but the resources page itself.

    I have configured that it for you, and enabled the pro version. Now the FAQ will be found in the corresponding page and highlighted and scrolled to it, please see:

    This is as close as it can get without major customizations. It may not work perfectly in all cases, as this is not designed for such use case at all.

    If you need an in-page search engine, that needs to be fully custom coded.

    in reply to: search function taking up to 20 seconds #54011
    Ernest MarcinkoErnest Marcinko
    Keymaster

    You cannot access this content.

    in reply to: WooCommerce Search Filtering #54010
    Ernest MarcinkoErnest Marcinko
    Keymaster

    You cannot access this content.

    in reply to: search result #54000
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi,

    I couldn’t log-in to check, the page is in preview mode: https://olive-kingfisher-579319.hostingersite.com/search-text/?preview_id=2012&preview_nonce=4eb5a7bdbd&preview=true

    Can you pleae check the login details?

    in reply to: Date picker #53999
    Ernest MarcinkoErnest Marcinko
    Keymaster

    You are very welcome 🙂

    If you don’t mind, I will close this topic soon and mark it as resolved, feel free to open another one if you have other questions or issues.

    If you like the plugin and have not rated already, feel free to leave a rating on the wordpress plugin repository, it’s greatly appreciated.

    in reply to: Date picker #53997
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi!

    Yes, it should be possible to do with a small custom code snippet:

    add_action('wp_footer', 'wp_footer_datepicker_range_fix', 9999);
    function wp_footer_datepicker_range_fix() {
    	?>
    	<script>
    	(function($){
    		setTimeout(function(){
    			$('.asp_w .hasDatepicker').datepicker('option', 'yearRange', '-100:+100')
    		}, 500);
    	})(jQuery);
    	</script>
    	<?php
    }

    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.

Viewing 15 posts - 1,006 through 1,020 (of 18,443 total)