Jump to content

Eroare 404 din cauza EAN13


Recommended Posts

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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...