Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #660252

    Hi guys,
    I was wondering if there was maybe a way to remove the product name from the breadcrumbs in Enfold Shop?

    For example, I have some products with very long titles, like this…

    You are here: Home / Shop / Homecare / Kitchen & Dining / Food Preparation / BangRui Can Opener Electric One Touch Can Opener Best Can Opener Soft Edge Automatic Electric Can Opener with Assistive Auto-Stop

    …and this stretches across the whole page.

    Is there any way to remove the product name so that it stops at the category level, like this…

    You are here: Home / Shop / Homecare / Kitchen & Dining / Food Preparation

    Many thanks for your help!

    Paul

    • This topic was modified 8 years, 5 months ago by advancetogo.
    #660762

    Any suggestions for this guys? Thanks!

    #660955

    Mmm, I’m really struggling with this here. Could someone please help? Please….

    #661231

    Hi,

    Could you provide us with a link to the site in question so that we can take a closer look please? Please note that if you reply to your own topic it will send it to the back of our support queue.

    Thanks,
    Rikard

    #661249

    Hi Rikard,

    Thanks for your reply!

    I’ve just switched the breadcrumbs back on so you can see what I mean. Some of the product titles are huge.

    ~ Paul

    #661259

    Hey!

    Please add following code to functions.php file of your child theme in Appearance > Editor

    add_filter( 'avia_breadcrumbs_trail', 'avia_change_bc_trail', 20, 2 );
    function avia_change_bc_trail( $trail, $args ){
        if( is_product() ) {
            unset( $trail[count($trail)-1] );
        }
        return $trail;
    }

    Regards,
    Yigit

    • This reply was modified 8 years, 5 months ago by Yigit.
    #661267

    FANTASTIC! That worked perfectly Yigit – thanks again for all of your help! :-)

    ~ Paul

    #661270

    Hi,

    You are welcome!
    For your information, you can take a look at Enfold documentation here – http://kriesi.at/documentation/enfold/
    And if there are features that you wish Enfold had, you can request them and vote the requested ones here – https://kriesi.at/support/enfold-feature-requests/
    For any other questions or issues, feel free to post them here on the forum and we will gladly try to help you :)

    Enjoy your weekend! :)

    Best regards,
    Yigit

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Editing breadcrumbs in Enfold Shop’ is closed to new replies.