-
AuthorPosts
-
October 19, 2019 at 3:40 pm #1149500
Hi, I installed Woocommerce and the plugin YITH WooCommerce Ajax Product Filter and i have a problem. I’d like to remove the standard WooCommerce Sort By on shop page. I read the article https://support.yithemes.com/hc/en-us/articles/115001418628 , i insert that code in my functions.php but it doesn’t work.Do you know why?
The same problem is when i try to insert on other code in the same file
function wc_remove_related_products( $args ) {
return array();
}
add_filter(‘woocommerce_related_products_args’,’wc_remove_related_products’, 10);Thanks
AriannaOctober 21, 2019 at 9:40 am #1149752Hey frago20,
The code is for the related products, and you talk about filters. Which one do you want to remove?
https://cl.ly/e769b993c542 These ones?Please have a look here
https://kriesi.at/support/topic/remove-the-sort-by-on-shop-page-woocommerce/Best regards,
VictoriaOctober 31, 2019 at 7:38 pm #1152835Hi,
thanks a lot!I also ask you how i can increase the font of the menù? I know how to increase the font of the text in the paragraph but not in the menu.
I also tell you the problem with the page below. Why when I go to that page i view the form with all option showed? I’d like to attach a photo to explain you the problem.
Thanks
AriannaOctober 31, 2019 at 9:42 pm #1152875Hi Arianna,
You can upload screenshots to a service like Dropbox or http://imgur.com and give us the links here.
Here is the code you can put in Enfold > General Styling > Quick Css, if it does not work, put into themes/enfold/css/custom.css.av_seperator_small_border .av-main-nav > li > a > .avia-menu-text { font-size: 16px; }
If you need further assistance please let us know.
Best regards,
VictoriaNovember 2, 2019 at 5:26 pm #1153315This reply has been marked as private.November 3, 2019 at 6:17 pm #1153537Hi,
Thanks for the screenshots, but I tested your page with Chrome, Firefox, Edge & IE11 on Windows 10 and didn’t see your error, only like the correct image. I didn’t recognize your browser from the screenshot, is it Safari? Perhaps an old version, I don’t see the 3 top left-hand dots for window management?Best regards,
MikeNovember 5, 2019 at 6:21 pm #1154041This reply has been marked as private.November 6, 2019 at 1:32 pm #1154285Hi,
Try adding this code to the end of your functions.php file in Appearance > Editor:function remove_woo_relate_products(){ remove_action( 'woocommerce_after_single_product_summary', 'avia_woocommerce_output_related_products', 20); } add_action('init', 'remove_woo_relate_products', 10);
Then clear your browser cache and check.
Best regards,
Mike -
AuthorPosts
- You must be logged in to reply to this topic.