-
Posts
20 -
Joined
-
Last visited
About Shwamateur
- Birthday 11/27/1991
Profile Information
-
Activity
Developer
Shwamateur's Achievements
-
Block Categories - show only current category
Shwamateur replied to herchri's topic in Ecommerce x PrestaShop [ARCHIVE BOARD]
So I wouldn't say I solved this because it doesn't work for all cases. But I use this modified version of the blockcategories module. Since on my webpage the categories block is only displayed on category pages, this works good, but I know that it doesn't work properly on product pages. In order to solve this you should modify the getTree method on blockcategories_mod.php, assigning the initial category id (the one that conveniences you) to $id_category. I hope this is useful for somebody! blockcategories_mod.zip -
Display error message or warning in backoffice
Shwamateur replied to Shwamateur's topic in Core developers
Anyone? I thought this shouldn't be so difficult.... -
Hi everyone, im struggling with this problem: I want to display a warning or an error message (whichever is easier to do) from a module. More concretely i'm trying to achieve this from a module. The goal is that a message like this is shown: whenever any user updates a product and he or she doesn't select a supplier for the product. I'm trying to trigger this from the hook "hookupdateproduct". Can anyone help me, please? Thank you in advance.
-
[MODULE] Infinite Ajax Scroll - Défilement Infini en Ajax
Shwamateur replied to Mellow's topic in Modules et thèmes gratuits
Bonjour! Je vais essayer de parler français mais il y a long temps que je ne le parle pas. Je pense que votre module est fantastic mais j'ai trouvé un petit probéme (j'ai le module blocklayered actif) Quand j'utilisse un filtre pour fabricant, la premiére page est parfait, mais quand j'arrive a la fin de la page et la deuxiéme page est chargé, est incorrect: il y a produits que no sont pas à le fabricant selectionné. Ici une page que j'ai pour faire tests: http://missfarma.ecomming.com/baby/125-alimentacion# vous pouvez essayer de selectioner le fabricant "Nestlé" par example (à gauche de la pàge) et voir l'erreur. Mon blocklayered à eté modifié pour une 3éme personne, peut être c'est ça le probléme. Merci pour vôtre attention et je suis desolé pour mon mauvais français! Au revoire.- 132 replies
-
- 1
-
- pagination produits
- defilement infini
-
(and 2 more)
Tagged with:
-
Hi everyone! I'd like to know if there is an easy way to have different images in a category that is shared in two stores (having the multistore feature active). So if I have two shops A and B, and a category C that is shared for those two shops, is there a way to have an image for the category C in store A that is different of the image for category C in store B? Thank you for your time and suggestions.
-
Search indexation does nothing and times out.
Shwamateur replied to Shwamateur's topic in Configuring and using PrestaShop
Well I won't say this is solved but I managed to write a script that performs the indexing of a subset of products and I managed to index them little by little. If anyone is interested in this, let me know.- 2 replies
-
- search
- indexation
-
(and 4 more)
Tagged with:
-
Hi forum, I'm experiencing this issue: One week ago the search indexation (activated via backoffice) worked well. This week we've been adding a lot of products via CSV and I've performed a couple changes in Search.php (modified the class and created an override). At this moment, when I try to add the missing products to the index, it does nothing. It remains as it was and after a while it triggers a 504 time out error. The number of indexed products stays the same. I've tried doing this in a development instalation of prestashop that we have using the same Search.php file (original and override) and there it works perfect. I'm afraid to hit "Rebuild entire index" because if it doesn't work we may lose a lot of money (the search won't work). Does anybody know what could be happening? Thank you in advance.
- 2 replies
-
- search
- indexation
-
(and 4 more)
Tagged with:
-
Weird issue with loyalty module
Shwamateur replied to Shwamateur's topic in Configuring and using PrestaShop
It gets solved if I delete the cookies... but how can I force the cookie deletion for the customers? -
Weird issue with loyalty module
Shwamateur replied to Shwamateur's topic in Configuring and using PrestaShop
I discovered the issue has to do with the cookies...any help? -
Weird issue with loyalty module
Shwamateur replied to Shwamateur's topic in Configuring and using PrestaShop
It looks like it has to do with this line of code: if (Validate::isLoadedObject($params['cart'])) Anyone knows what this does? -
Hi everyone! I'm experiencing a weird issue with the loyalty module. I'm using prestashop 1.5 with the multistore feature active, and the module works perfect for one of the stores (the main one). The issue is that for the other three stores, the module doesn't work properly in the web explorer Google Chrome (but it does in Internet Explorer and Mozilla Firefox). It says that there are no points for the product and hides its price. Does anyone know what can be causing this? Thank you in advance.
-
[SOLVED] Show attribute group in product list
Shwamateur replied to Shwamateur's topic in Core developers
I finally find the solution, since I was using layered navigation, I had to include the mentioned SQL there, that way it works perfect. -
[SOLVED] Show attribute group in product list
Shwamateur replied to Shwamateur's topic in Core developers
It looks like I'm not calling properly the "$this->category->getProducts($this->context->language->id, (int)$this->p, (int)$this->n, $this->orderBy, $this->orderWay);" method on CategoryController (If I print_r $this->cat_products the attribute group name doesn't appear). I'm sure it has something to do with the actionProductListOverride hook, but I don't know how this works. Any help would be very appreciated. -
[SOLVED] Show attribute group in product list
Shwamateur replied to Shwamateur's topic in Core developers
I discovered something, if I go to Category.php, method getProducts and I assign a new name to any of the fields in the SELECT statement ( I tried pl.`meta_title` metatitle), I can't display them either on the product list... Any idea? -
Hi everyone! I'm having a weird issue: I'm trying to display the attribute group of each product on the product list. (in our store we use only one attribute combinations) so we can show something like " Choose size" or "Choose color" (a link that goes to the product page). I modified Category.php (function getProducts) in order to properly retrieve via sql the attribute group name. In CategoryController.php (at the end of the assignProductList method) I use print_r to display all the products in order to confirm that I am retrieving well the atribute group name, and it is there ant it is correct. The issue is that I can't manage to display this via product-list.tpl: it is showing just "Choose" and blank. I can display any other attribute retrieved via Category.php getProducts (visibility, name, meta_keywords) but I can't manage to display this one... Can someboy help me? Thank you very much.