confusedcart Posted May 23, 2012 Share Posted May 23, 2012 Hi guys, My breadcrumb on the product page currently reads HOME > SUNGLASSES > RAY-BAN > RAY-BAN This is because the product name is listed as RAY-BAN the same as the category its in. So What I'd like is for it to show the REFERENCE NUMBER ie. model number which would be RB2134.. Basically I need the breadcrumb to look like this: HOME > SUNGLASSES > RAY-BAN > RB2134 Any ideas? Link to comment Share on other sites More sharing options...
phrasespot Posted May 25, 2012 Share Posted May 25, 2012 In /controllers/ProductController.php locate the line 'path' => Tools::getPath((int)$category->id, $this->product->name, true), replace it with 'path' => Tools::getPath((int)$category->id, $this->product->reference, true), Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now