jaribvdo
Forum Replies Created
-
Hi,
Thanks for the reaction. But my solution is not in the docs.
The problem is when a product is in multiple categories and only one of the categorie has a rule the rule should not work on the product because not all the categories have the 10% off rule.Is it possible to let the rules only work on the ‘primary category’ of the product?
Thanks!
Or can you take a look inside my WordPress configuration?
I can’t seem to fix the problem by my self..Thanks!
Hi Dima,
I did turn off Alternative Mode but now all the filters show the same products.
I don’t see any fatal errors in my debug log.Only PHP Notice error:
[20-Feb-2019 14:40:44 UTC] PHP Notice: post werd <strong>verkeerd</strong> aangeroepen. Producteigenschappen mogen niet rechtstreeks aangeroepen worden. Backtrace: require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), do_action('template_redirect'), WP_Hook->do_action, WP_Hook->apply_filters, WC_Template_Loader::unsupported_theme_init, WC_Template_Loader::unsupported_theme_tax_archive_init, WC_Shortcode_Products->get_content, WC_Shortcode_Products->product_loop, wc_get_template_part, load_template, require('/plugins/woocommerce/templates/content-product.php'), do_action('woocommerce_after_shop_loop_item_title'), WP_Hook->do_action, WP_Hook->apply_filters, woocommerce_after_shop_loop_item_title_short_description, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong Lees <a href="https://codex.www.ads-software.com/Debugging_in_WordPress">Foutopsporing in WordPress</a> voor meer informatie. (Dit bericht is toegevoegd in versie 3.0.) in /home/deb116117n4/domains/biemondenzonen.bvdodev.nl/public_html/wp-includes/functions.php on line 4231
The link seems to work fine but the filter does nothing.
https://www.biemondenzonen.bvdodev.nl/product-categorie/rupsgraafmachines/?filters=bak-inhoud%5B48%5DI can send you FTP details if u want.
Thanks for your time.
Hi Dima,
I also get a Database error:
[19-Feb-2019 15:58:41 UTC] WordPress databasefout You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '-1' at line 11 bij query SELECT SQL_CALC_FOUND_ROWS wp_posts.ID FROM wp_posts LEFT JOIN wp_term_relationships ON (wp_posts.ID = wp_term_relationships.object_id) INNER JOIN wp_postmeta ON ( wp_posts.ID = wp_postmeta.post_id ) WHERE 1=1 AND ( wp_term_relationships.term_taxonomy_id IN (18) AND wp_posts.ID NOT IN ( SELECT object_id FROM wp_term_relationships WHERE term_taxonomy_id IN (7) ) ) AND ( ( wp_postmeta.meta_key = '_price' AND CAST(wp_postmeta.meta_value AS DECIMAL) BETWEEN '0' AND '9999999999' ) ) AND wp_posts.post_type = 'product' GROUP BY wp_posts.ID ORDER BY wp_posts.menu_order, wp_posts.post_date DESC LIMIT 0, -1 gemaakt door do_action('wp_ajax_berocket_aapf_listener'), WP_Hook->do_action, WP_Hook->apply_filters, BeRocket_AAPF_Widget::listener, WP_Query->get_posts
Thanks!
Hello Dima,
This is the error I am getting in the log.
[19-Feb-2019 15:48:58 UTC] PHP Notice: post werd <strong>verkeerd</strong> aangeroepen. Producteigenschappen mogen niet rechtstreeks aangeroepen worden. Backtrace: require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), do_action('template_redirect'), WP_Hook->do_action, WP_Hook->apply_filters, WC_Template_Loader::unsupported_theme_init, WC_Template_Loader::unsupported_theme_tax_archive_init, WC_Shortcode_Products->get_content, WC_Shortcode_Products->product_loop, wc_get_template_part, load_template, require('/plugins/woocommerce/templates/content-product.php'), do_action('woocommerce_after_shop_loop_item_title'), WP_Hook->do_action, WP_Hook->apply_filters, woocommerce_after_shop_loop_item_title_short_description, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong Lees <a href="https://codex.www.ads-software.com/Debugging_in_WordPress">Foutopsporing in WordPress</a> voor meer informatie. (Dit bericht is toegevoegd in versie 3.0.) in /home/deb116117n4/domains/biemondenzonen.bvdodev.nl/public_html/wp-includes/functions.php on line 4231
Thanks for your time!
Greetings,
JariForum: Plugins
In reply to: [Advanced AJAX Product Filters] Filtering not working after updateHi Dima,
I don’t overwrite the WooCommerce templates, they are put out through
the_content();
Forum: Plugins
In reply to: [Advanced AJAX Product Filters] Filtering not working after updateHi Dima,
I don’t use a page builder. I output the products on the category page with
<?php the_content(); ?>
and the filter with<?php dynamic_sidebar( 'primary' ); ?>
Greetings,
Jari