Home › Forums › WoodMart support forum › Issue with number of products to display
Issue with number of products to display
- This topic has 7 replies, 2 voices, and was last updated 3 years, 4 months ago by
Luke Nielsen.
-
AuthorPosts
-
January 19, 2022 at 11:55 am #346365
Global TouchParticipantHello,
I am facing a problem. When I go to one category loop page and change something, for example sorting and then select to display 36 products per page, it redirects me to shop page. It’s a little strange.
Can you please make your own test in our eshop?
Please help,
Thanks in advanceJanuary 19, 2022 at 3:21 pm #346427
Luke NielsenKeymasterHello,
The redirect problem can be fixed by adding this PHP code to the functions.php file in your child theme.
add_filter( 'woodmart_shop_page_link', function( $link ) { if ( isset( $_GET['swoof'] ) ) { $link = add_query_arg( 'swoof', wc_clean( $_GET['swoof'] ), $link ); } if ( isset( $_GET['product_cat'] ) ) { $link = add_query_arg( 'product_cat', wc_clean( $_GET['product_cat'] ), $link ); } return $link; }, 10 );
If you will have redirect issues, please don’t hesitate to reach out. We are always here to help you.
Kind Regards
January 20, 2022 at 7:56 am #346613
Global TouchParticipantIt doesn’t work. It makes the same redirection! Maybe a conflict with woof product filters?
January 20, 2022 at 8:52 am #346638
Luke NielsenKeymasterHello,
Please, provide login access for your site’s WordPress admin panel and also send us your FTP access to your server files so we can check what is wrong with your website. We will do our best to help you.
Kind Regards
-
This reply was modified 3 years, 4 months ago by
Luke Nielsen.
January 20, 2022 at 9:10 am #346648
Global TouchParticipantOk, I will
January 21, 2022 at 10:05 am #346936
Luke NielsenKeymasterHello,
We have focused on finding the concern and came to the conclusion that you are using a plugin for brands that creates a custom archive page, therefore not only our filters but also from WooCommerce do not work with this plugin. You can make sure of that by checking how default WooCommerce filters work on a brand page with some default themes.
If there’s anything else we can do, please get in touch.
Kind Regards
January 21, 2022 at 2:27 pm #347008
Global TouchParticipantI don’t know what plugin do you mean! I have created custom taxonomy for products like brands, with Custom Post Type UI plugin. Do you mean this?
Also categories in filters are displayed with the WOOF – WooCommerce Products Filter plugin.
Thanks in advance.
January 24, 2022 at 9:30 am #347399
Luke NielsenKeymasterHello,
Of course, I talked about the “Custom Post Type UI” plugin. Unfortunately, our filters don’t work with custom taxonomies.
If you have any more questions or come across any other issue, let me know, I’ll be happy to help.
Have a great day.
Kind Regards
-
This reply was modified 3 years, 4 months ago by
-
AuthorPosts
- You must be logged in to create new topics. Login / Register