How to Rename the breadcrumb values using getBreadcrumbpages function

_.extend(CartDetailedView.prototype, {

                   // Renaming the breadcrumb of the page from shopping cart to My cart

                   getBreadcrumbPages: function (e) {

                       const breadCrumb = [

                           {

                               text: Utils.translate(‘My Cart’),

                               href: ‘/cart’

                           }

                       ]

                       return breadCrumb;

                   },

               });

Leave a comment

Your email address will not be published. Required fields are marked *