Jump to content

pavila

Members
  • Posts

    7
  • Joined

  • Last visited

About pavila

  • Birthday May 30

Profile Information

  • Location
    Portugal
  • Activity
    User/Merchant

pavila's Achievements

Newbie

Newbie (1/14)

1

Reputation

1

Community Answers

  1. Hey guys, I'm also having issues with the Mail Alert module. I'm using PS version 1.5.6.1, and the module version is 3.2. On the admin module configuration panel I'm getting the input for the emails addresses been populated with an error text: The error text is: Notice: Undefined index: cols in R:\wamp\www\store\cache\smarty\compile\ec\69\96\ec69962cbe3655cfcad7d258ace3e4f96bcdfde0.file.form.tpl.php on line <i>467</i> Does anyone has the same issue? Have any of you correct it? Kind regards. Pedro Avila
  2. Hi, Thank you for your answer. But the files to copy, is just to copy the module's files, that exists on /modules/blocklayered? Kind regards. Pedro Ávila
  3. Hello everyone, How do I update the layered navigation module? It is just a matter of copy & paste the code of the .php file? Or is it necessary to reinstall the full module? Should I copy the code in this link: https://github.com/PrestaShop/PrestaShop/blob/e57227cee09b5436745fa8c97148f0c9d92a6ac3/modules/blocklayered/blocklayered.php Kind regards. Pedro Ávila
  4. Hello everyone, How do I update the layered navigation module? It is just a matter of copy & paste the code of the .php file? Or is it necessary to reinstall the full module? Should I copy the code in this link: https://github.com/PrestaShop/PrestaShop/blob/e57227cee09b5436745fa8c97148f0c9d92a6ac3/modules/blocklayered/blocklayered.php? Kind regards. Pedro Ávila
  5. Hey guys, I managed to dev the module with the caracteristics that i wanted. I will release it, as soon as I have it fully tested and working as I want it to be. Thank you for your help. Kind regards Pedro Ávila
  6. Hi Vekia, Thank you for your answer. I installed the module you have mentioned. The products total per category is great, however it is still presenting top categories from other then the one I have clicked. I'm trying to list all subcategories of a top menu category, which have products associated. The blockcategories2 module shows every categories, even all top categories, with products count, and with the suggested change, no categories without products will be shown. After reading about modules creation, and not having the chance of overriding modules, yesterday I started to build my first module, with the hope of finding an answer to my quest. Maybe it will turn on my first contribution to the community. Kind regards. Pedro Ávila
  7. Hello everyone, My first post in the forum. I need to change the categories shown on the categories tree. Right now, when a category on click from the top menu all the top categories and next depth subcategories are shown as a tree. Instead of a tree, what I need is to have listed all the subcategories which have products associated. How can I achieve this? I already have the SQL necessary to retrieve all the subcategories with products from a certain top category, it will looks something like this: SELECT * FROM ps_category INNER JOIN ( SELECT ps_category.nleft, ps_category.nright FROM ps_category INNER JOIN ( SELECT nleft, nright FROM ps_category WHERE ps_category.id_category = $id_category ) sel_category on (ps_category.nleft<=sel_category.nleft AND ps_category.nright>=sel_category.nright) WHERE ps_category.id_parent = (SELECT id_category FROM ps_category WHERE ps_category.id_parent = 1) ) top_category on (ps_category.nleft>top_category.nleft and ps_category.nright<top_category.nright) WHERE EXISTS (SELECT 1 FROM ps_category_product WHERE ps_category_product.id_category = ps_category.id_category LIMIT 0,1) But where to I have to apply this SQL statement, following the best pratices, etc? Thanks. Kind regards. Pedro Avila
×
×
  • Create New...