-
AuthorPosts
-
October 18, 2024 at 11:35 pm #1469418
ADULT CONTENT
When you are on a product page, there are left/right “arrow options” on the sides, to choose a different product.
How are these chosen and can it at least go to the same category?Example: When I am on a product page like the “Ribbed Desensitizing Sleeve” and click the next
arrow, it does not take me to the next product in that collection. It is improperly linked to
all products. This is the same on all products. Can this be fixed?October 23, 2024 at 3:08 am #1469650let me know on this when you can. thanks
October 27, 2024 at 7:25 pm #1469951Hi,
Thank you for your patience, but unfortunately this doesn’t seem to be possible for “products” I tested many possible solutions but none worked for “products”.
If you would like to request this feature the Dev Team has opened a Github Feature Request for users to place requests and follow them as the Dev Team reviews them.Best regards,
MikeOctober 28, 2024 at 9:40 pm #1470045So are you saying that the WooCommerce’s “Previous” and “Next” buttons are completely random and there is not control over that?
I did see this article:
https://stackoverflow.com/questions/60060780/how-to-add-previous-next-product-links-for-woocommerce-products-int-he-same-su?newreg=bc3e9c9f4b6e49a6956dcc57a14801c2If I can’t make it stay within its own Category, how do I remove it?
Thanks- This reply was modified 1 month, 3 weeks ago by bemodesign.
- This reply was modified 1 month, 3 weeks ago by bemodesign.
October 30, 2024 at 4:34 am #1470185Hi,
Thank you for the update.
If I can’t make it stay within its own Category, how do I remove it?
You can disable the product navigation by adjusting the Single Post Navigation settings in the Enfold > Blog Layout panel. You can also use this css code:
#top .avia-post-nav { display: none; }
Best regards,
IsmaelOctober 30, 2024 at 4:36 am #1470186Thank you for this options. But there is not code to keep the “Previous” and “Next” buttons stay within their category?
October 30, 2024 at 4:50 am #1470190Hey!
Unfortunately, there is no option for this for the product post type as mentioned above. You can try the following filter in the functions.php file but it may not work as expected:
add_filter( 'avf_post_nav_settings', 'avf_post_nav_settings_mod', 10, 1); function avf_post_nav_settings_mod($settings) { $settings['same_category'] = true; return $settings; }
Best regards,
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.