Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #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?

    #1469650

    let me know on this when you can. thanks

    #1469951

    Hi,
    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,
    Mike

    #1470045

    So 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=bc3e9c9f4b6e49a6956dcc57a14801c2

    If I can’t make it stay within its own Category, how do I remove it?
    Thanks

    • This reply was modified 3 weeks, 3 days ago by bemodesign.
    • This reply was modified 3 weeks, 3 days ago by bemodesign.
    #1470185

    Hi,

    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,
    Ismael

    #1470186

    Thank you for this options. But there is not code to keep the “Previous” and “Next” buttons stay within their category?

    #1470190

    Hey!

    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

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.