BRAND FILTERS PRODUCE 404 - by denvysb - on WordPress WooCommerce support

This topic has 4 replies, 2 voices, and was last updated 7 years, 6 months ago ago by Olga Barlow

  • Avatar: denvysb
    denvysb
    Participant
    June 12, 2017 at 22:13

    Your brand filter is very temperamental. Even after updating permalinks, some work and some give 404 error message. It happens ever so randomly and also may I ask why are you using jquery to submit a “?brand=brand%20name” value to a page to work out which page it needs to redirect to and then wordpress doing a 301 redirect to the correct page /brand/brand-name ? When /brand/brand-name is already a valid page in the first place that you can link directly to?

    Why not get jquery to redirect directly to the correct link to the correct page /brand/brand-name without all this submitting values, recalculating and redirecting using 301’s?

    Can you not get wordpress to work out the type of permalink it is using and attach the full link instead. Avoids all the issues, 301 redirects etc

    Please, contact administrator
    for this information.
    3 Answers
    Avatar: denvysb
    denvysb
    Participant
    June 13, 2017 at 01:15

    And another brand issue, if you set up a parent>child, the parent brand does not get recognized as a taxonomy to pass the woocommerce_products_will_display() check and therefore the page does not display the filter search options.

    The piece of code your theme fails on is at woocommerce/archive-product.php

    					<?php if (<strong>woocommerce_products_will_display()</strong> && etheme_get_option( 'top_toolbar' ) ): ?>
    	                    <div class="filter-wrap">
    	                    	<div class="filter-content">
    		                    	<?php
    		                    		/**
    		                    		 * woocommerce_before_shop_loop hook
    		                    		 *
    		                    		 * @hooked woocommerce_result_count - 20
    		                    		 * @hooked woocommerce_catalog_ordering - 30
    		                             * @hooked etheme_grid_list_switcher - 35
    		                    		 */
    		                    		do_action( 'woocommerce_before_shop_loop' );
    		                    	?>
    	                    	</div>
    	                    </div>
    					<?php endif ?>

    I’ve attached a demo page below, you’ll notice no shopping filters or anything comes up, just a basic standard page.

    Please, contact administrator
    for this information.
    Avatar: denvysb
    denvysb
    Participant
    June 14, 2017 at 20:48

    Are we going to get any answers on this subject?

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    June 15, 2017 at 12:44

    Hello,

    Sorry for the delay in answering.
    Thank you for your suggestions. Yes, it’s useful note and we’ll improve the brands in version 4.0.

    Regards

  • Viewing 4 results - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.