sampeter Posted June 3, 2014 Share Posted June 3, 2014 H i , I am new bee please help me for this From which part of program the http://localhost/prestashop/category.php?id_category=136 its using .. id_category=136 where the value 136 is given.. in which file ,folder or the path its retrieving .. Wheither they have maintained any file for all this things if yes please tell me the name of that file or folder.. Even if i click on header it will retrive based on id ,from where this id is retriveing I want to change this id ..please help me................... Link to comment Share on other sites More sharing options...
vekia Posted June 3, 2014 Share Posted June 3, 2014 i think that you're looking for this file: controllers/front/CategoryController.php Link to comment Share on other sites More sharing options...
sampeter Posted June 3, 2014 Author Share Posted June 3, 2014 i think that you're looking for this file: controllers/front/CategoryController.php I have searche there ,but i am unable to find in that any number which is 136 ...i want to know how its dynamically generating the value i.e 136 or any id ...from where its taking Link to comment Share on other sites More sharing options...
vekia Posted June 3, 2014 Share Posted June 3, 2014 im confused a little, sorry so you aren't looking for controller but you're looking for file where link is generated? Link to comment Share on other sites More sharing options...
sampeter Posted June 3, 2014 Author Share Posted June 3, 2014 (edited) im confused a little, sorry so you aren't looking for controller but you're looking for file where link is generated? ya normally we use like this <div><a href='page2.php?id=2'> but in prestashop they are using <a href="{$link->getProductLink($categoryProduct.id_product, $categoryProduct.link_rewrite, $categoryProduct.category, $categoryProduct.ean13)}" title="{$categoryProduct.name|htmlspecialchars}"> I am not getting this , from the above link $categoryProduct.id_product dynamically its changing the value. In my url how i am getting 136 value as shown you above i.e (http://localhost/pre...p/category.php?id_category=136) how it is changing the value can you explain me ..................? Edited June 3, 2014 by sham064 (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts