Quote from davidki11 on October 15, 2020, 10:14
Hello, Pablo.
This is code from my php file with [mdf_results_by_ajax] shortcode:
<?php echo do_shortcode('[mdf_results_by_ajax shortcode="mdf_custom template=template/'.$mdf_template.' post_type=post orderby=rehub_review_overall_score order=desc meta_data_filter_cat='.$katalog_filtrovani_kategorie.' taxonomies=category+761^category+'.$katalog_filtrovani_term.'"]');?>
In my custom template for output search results ($mdf_template in the code above) I use my custom shortcode which generate list of stores offers in popoup window.
This is the code of my custom shortcode which I use in custom template for output search results:
<?php echo do_shortcode('[content-egg-block template=custom/all_merchant_widget post_id="'.$postid.'" limit="10"]');?>
This is how the output search results looks like before filtration by AJAX:
https://www.screencast.com/t/tGBcw6tqGM
After click on button "POROVNAT CENY" in the search results, this is how the list of stores offers in popoup window looks like before filtration by AJAX:
https://www.screencast.com/t/jwWdP03tNWe
And this is how the list of stores offers in popoup window looks like after filtration by AJAX:
https://www.screencast.com/t/kMnjQvWpE6
You can see, that after AJAX filtration, my list of stores offers in popoup window display only as shortcode string.
Hello, Pablo.
This is code from my php file with [mdf_results_by_ajax] shortcode:
<?php echo do_shortcode('[mdf_results_by_ajax shortcode="mdf_custom template=template/'.$mdf_template.' post_type=post orderby=rehub_review_overall_score order=desc meta_data_filter_cat='.$katalog_filtrovani_kategorie.' taxonomies=category+761^category+'.$katalog_filtrovani_term.'"]');?>
In my custom template for output search results ($mdf_template in the code above) I use my custom shortcode which generate list of stores offers in popoup window.
This is the code of my custom shortcode which I use in custom template for output search results:
<?php echo do_shortcode('[content-egg-block template=custom/all_merchant_widget post_id="'.$postid.'" limit="10"]');?>
This is how the output search results looks like before filtration by AJAX:
https://www.screencast.com/t/tGBcw6tqGM
After click on button"POROVNAT CENY" in the search results, this is how the list of stores offers in popoup window looks like before filtration by AJAX:
https://www.screencast.com/t/jwWdP03tNWe
And this is how the list of stores offers in popoup window looks like after filtration by AJAX:
https://www.screencast.com/t/kMnjQvWpE6
You can see, that after AJAX filtration, my list of stores offers in popoup window display only as shortcode string.