Product Counts Not Loading Correctly
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday. If you have problems with registration ask help on contact us page pleaseIf you not got email within 24~36 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here. DO NOT ANSWER ON EMAILS [noreply@pluginus.net] FROM THE FORUM!! Emails are just for your info, all answers should be published only here.
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.
Quote from danielhaigh on December 2, 2024, 11:14Hello,
I am trying to fix some problems with the initial load of the page: https://thearttimes.com/my-gallery/the-art-times/
On the initial page load, the woof_products shortcode is correctly filtering by the selected taxonomy. However, woof_front_builder is not correctly displaying the count information for the same taxonomy. It is instead showing the product counts for every product we have loaded. When a filter is selected the correct counts assert themselves, until the page is reloaded at which point it resets to its default behavior of inaccurate page counts.
I've tried a variety of solutions, including checking other tickets like https://pluginus.net/support/topic/product-counts-are-on-first-load-or-after-site-cache-is-cleared/ and checking my shortcode implementations, as well as trying different formatting for taxonomy information to see if something was inaccurate.
Currently my implementations are as follows:
woof_products:
$shortcode2 = '[woof_products is_ajax=1 taxonomies=product_authors:' . $term_id . ']';
echo do_shortcode($shortcode2);$term_id is, in a roundabout way, the taxonomy ID for the author of the product. So this code, based on the page that is loaded, will pull the correct author and limit the displayed products to those from that author. I have no issue with the display, as under my current implementation and taxonomy setup, it's working as intended.
woof_front_builder:
$shortcode1 = '[woof_front_builder name="TheTimesGalleryFilter"]';
echo do_shortcode($shortcode1);Here is where I run into trouble. I've tried everything that I can think of to make this filter display the correct counts on the initial page load. I've tried including the taxonomies with taxonomies=product_authors:' . $term_id . ', I've tried reformatting the name section, I've even bought the full version of the product in case it's somehow tied up in the product counting code. I'm at my wit's end. What do I need to do in order to trigger the correct product counts to display on the initial page load?
I'm currently on the latest release from Code Canyon and have made no customizations to the plugin.
Hello,
I am trying to fix some problems with the initial load of the page: https://thearttimes.com/my-gallery/the-art-times/
On the initial page load, the woof_products shortcode is correctly filtering by the selected taxonomy. However, woof_front_builder is not correctly displaying the count information for the same taxonomy. It is instead showing the product counts for every product we have loaded. When a filter is selected the correct counts assert themselves, until the page is reloaded at which point it resets to its default behavior of inaccurate page counts.
I've tried a variety of solutions, including checking other tickets like https://pluginus.net/support/topic/product-counts-are-on-first-load-or-after-site-cache-is-cleared/ and checking my shortcode implementations, as well as trying different formatting for taxonomy information to see if something was inaccurate.
Currently my implementations are as follows:
woof_products:
$shortcode2 = '[woof_products is_ajax=1 taxonomies=product_authors:' . $term_id . ']';
echo do_shortcode($shortcode2);
$term_id is, in a roundabout way, the taxonomy ID for the author of the product. So this code, based on the page that is loaded, will pull the correct author and limit the displayed products to those from that author. I have no issue with the display, as under my current implementation and taxonomy setup, it's working as intended.
woof_front_builder:
$shortcode1 = '[woof_front_builder name="TheTimesGalleryFilter"]';
echo do_shortcode($shortcode1);
Here is where I run into trouble. I've tried everything that I can think of to make this filter display the correct counts on the initial page load. I've tried including the taxonomies with taxonomies=product_authors:' . $term_id . ', I've tried reformatting the name section, I've even bought the full version of the product in case it's somehow tied up in the product counting code. I'm at my wit's end. What do I need to do in order to trigger the correct product counts to display on the initial page load?
I'm currently on the latest release from Code Canyon and have made no customizations to the plugin.
Quote from danielhaigh on December 2, 2024, 11:47After brute-forcing some things, and probably breaking something I shouldn't have touched, I managed to create a workaround that is, at least, somewhat functional. I need to complete some additional testing to be sure though. Mark this as tentatively resolved.
After brute-forcing some things, and probably breaking something I shouldn't have touched, I managed to create a workaround that is, at least, somewhat functional. I need to complete some additional testing to be sure though. Mark this as tentatively resolved.
Quote from Pablo Borysenco on December 2, 2024, 12:32Hello
Please paste your license key here - https://share.pluginus.net/image/i20230222134241.png -> https://share.pluginus.net/image/i20230222134511.png
Try this option - https://products-filter.com/manipulate-search-data-optionsĀ - In this case, the filter and product template will receive information about this taxonomy. But you should limit this code to this page only. You can use: is_page()
Hello
Please paste your license key here - https://share.pluginus.net/image/i20230222134241.png -> https://share.pluginus.net/image/i20230222134511.png
Try this option - https://products-filter.com/manipulate-search-data-optionsĀ - In this case, the filter and product template will receive information about this taxonomy. But you should limit this code to this page only. You can use: is_page()