-
AuthorPosts
-
June 25, 2015 at 8:51 pm #464692
The navigation arrows on the side of the screen are truly brilliant. My issue is that products that are marked as ‘hidden’ on woocommerce are part of the navigation and I don’t want them to be shown. Hidden products are created when creating a grouped product with several purchase options.
In my case, Recording A, (options: CD, Download, LP…)I only want Recording A displayed but when flicking through the catalogue with the side arrows, all options are shown on their own page (CD, Download, LP…)
June 28, 2015 at 12:08 am #465390Hi,
Can you please create us a WordPress administrator account? post it here as a private reply.
Regards,
JosueJuly 2, 2015 at 10:56 am #467392Hi there, here they are
July 2, 2015 at 12:47 pm #467451Hey!
Thanks for the access but doesn’t seem to work, please re-check it.
Regards,
JosueJuly 2, 2015 at 2:59 pm #467539Sorry, I added the user to the local installation! It should work now!
Best,
Alfonso
July 6, 2015 at 1:06 pm #468852Hi!
Sorry for the late reply!
I set visibility to private and it does not show up any more. Please review your website now.Best regards,
YigitJuly 6, 2015 at 1:49 pm #468895Hi Yigit,
Sorry, I don’t think I was clear. I don’t want to set the status to privately published. If I do that it won’t show at all under the options for a grouped product. i.e. now it doesn’t show here:
http://www.dunedinconsort.com/dev/shop/recordings/mozart-requiem/Status needs to be published and the ‘Catalog visibility’, also under publish options, set to ‘hidden’, so it is not part of the main shop loop but still displays as an option under grouped products.
The issue is that at the moment products that are set as published/catalog visibility hidden, show on the front end when clicking on the side arrows.
Any thoughts?
Thanks,
Alfonso
July 10, 2015 at 9:48 am #471355Hey!
Alright. The post navigation or the arrows on each side of the page can only filter same custom post types but it doesn’t recognize hidden products. You can set the arrows to filter products from the same categories and then edit the hidden products. Remove them from any categories temporarily. Add this in the functions.php file:
add_filter('avia_post_nav_settings', 'avia_post_nav_settings_mod'); function avia_post_nav_settings_mod($settings) { if(is_singular('product')) { $settings['taxonomy'] = 'product_cat'; } $settings['same_category'] = true; return $settings; }
Since the hidden product doesn’t have any categories, it will not be included in the set of product items filtered by the post navigation.
Best regards,
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.