killeer Posted May 27, 2014 Share Posted May 27, 2014 Hi Guys I have a bit of an issue, my friendly url's are showing the ean at the end of the product ex. http://www.mcfurrys.com/10012349-advanced-nutrition-chicken-small-breed-5019996069484.html Any chance someone knows how to remove this, i tried adding $ean13=NULL; to the Link.php but that did not work and i was unable to locate if (is_object($id_product)) return ($this->allow == 1)?(_PS_BASE_URL_.__PS_BASE_URI__.$lang_link.(($id_product->category != 'home' AND !empty($id_product->category)) ? $id_product->category.'/' : '').intval($id_product->id).'-'.$id_product->link_rewrite.($id_product->ean13 ? '-'.$id_product->ean13 : '').'.html') : (_PS_BASE_URL_.__PS_BASE_URI__.'product.php?id_product='.intval($id_product->id));elseif ($alias) return ($this->allow == 1)?(_PS_BASE_URL_.__PS_BASE_URI__.$lang_link.(($category AND $category != 'home') ? ($category.'/') : '').intval($id_product).'-'.$alias.($ean13 ? '-'.$ean13 : '').'.html') : any help? Link to comment Share on other sites More sharing options...
killeer Posted May 27, 2014 Author Share Posted May 27, 2014 anyone have any ideas? Link to comment Share on other sites More sharing options...
killeer Posted May 29, 2014 Author Share Posted May 29, 2014 does anyone know how to resolve this? Link to comment Share on other sites More sharing options...
DARKF3D3 Posted August 11, 2016 Share Posted August 11, 2016 No one found a solution for this? Link to comment Share on other sites More sharing options...
lucoral Posted August 16, 2016 Share Posted August 16, 2016 Aloha! I have not tried this, but have you looked at Preferences/SEO & URLS Schema of URLS ? If you remove ean13 from the route to products, clear your cache, does that do it? hth, Tim Link to comment Share on other sites More sharing options...
thefridgemagnetshop Posted January 6, 2017 Share Posted January 6, 2017 Hey Tim, old post but I just wanted to say, thanks! This works 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