vietnam Posted November 10, 2009 Share Posted November 10, 2009 http://www.prestashop.com/bug_tracker/view/3257/Am vreo 200 de produse cu ean13 pe site, iar acum m-am trezit plin de 404-uri . In back office genereaza linkul NUMEPRODUS.htmlIn front office genereala linkul la un produs NUME_PRODUS+EAN13.htmlAveti idee unde pot sa modific, in smarty sau ? Trebuie sa rezolv urgent asta Link to comment Share on other sites More sharing options...
valentin.g Posted November 10, 2009 Share Posted November 10, 2009 fisierul classes/link.php linia 41 in PS1.2.5 return ($this->allow == 1)?(_PS_BASE_URL_.__PS_BASE_URI__.(($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') : dupa cum vezi se adauga la finalul linkului codul ean13. poate te ajuta asta ! Link to comment Share on other sites More sharing options...
vietnam Posted November 10, 2009 Author Share Posted November 10, 2009 Mersi foarte mult Am rezolvat datorita sugestiei tale, doar ca nu era la linia 41, ci la linia 44 return ($this->allow == 1)?(_PS_BASE_URL_.__PS_BASE_URI__.(($category AND $category != 'home') ? ($category.'/') : '').intval($id_product).'-'.$alias.($ean13 ? '-'.$ean13 : '').'.html') : Si am sters la sfarsit, ca sa ajunga asa return ($this->allow == 1)?(_PS_BASE_URL_.__PS_BASE_URI__.(($category AND $category != 'home') ? ($category.'/') : '').intval($id_product).'-'.$alias.($ean13 ? '' : '').'.html') : Link to comment Share on other sites More sharing options...
valentin.g Posted November 10, 2009 Share Posted November 10, 2009 touch [REZOLVAT] si bafta ! 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