Search the Community
Showing results for tags 'Product List'.
-
I want to add another column in the product page in the back office in prestashop 1.7.8.8 but the methods i found online are outdated or do not work , can someone give me a clue ?
- 6 replies
-
- module
- product page
- (and 7 more)
-
Hello, Using prestashop 1.7.4.2 Does anyone now how to get the stock quantities like shown into the product details into the product list ? Not the into cart button but the real quantities that are available like 5 items in stock, 20 items in stock ..... I managed to do this from the product details into the product additional info but i can't get it into the product list. I already use the product availability field in the product list but does use it to show the delivery time. I thought by putting the beneed code into the theme/templates/catalog/_partials/miniatures.product.tpl but it doesn't work. {block name='product_quantities'} {if $product.show_quantities} <div class="product-quantities" style="margin:10px 0 10px 0;"> <label class="label">{l s='In stock' d='Shop.Theme.Catalog'}</label> <span data-stock="{$product.quantity}" data-allow-oosp="{$product.allow_oosp}">{$product.quantity} {$product.quantity_label}</span> </div> {/if} {/block} https://tassenverkoop.be Hope that anyone knows this.
- 14 replies
-
- stock quantities
- stock quantity
-
(and 2 more)
Tagged with:
-
how to filter back office product list page by supplier id,
- 38 replies
-
Buenas tardes. Actualmente tenemos activas las breadcrumbs, pero esto te lleva a la categoría con su listado de productos pero no a la ubicación exacta donde estaba, perdiendo también todos los filtros, y los clientes no pueden seguir por donde iban. He realizado un javascript que guarda en la sesión el Id de producto al entrar al producto, y al volver al listado lo busca recursivamente hasta que lo encuentra, dado que tenemos el loop infinito en el listado de productos. Este puede tardar muchísimo dependiendo de cuántos productos haya visto ya. He visto en otros Prestashop que lo tienen implementado exactamente como quiero, es decir, que le dan un botón <- atrás y te lleva al sitio exacto donde estaba sin perder nada y de una forma rápida y muy eficaz. ¿Sabéis si esto es un módulo o es una implementación "fácil"? Gracias. Un saludo.
- 3 replies
-
- prestashop 1.7
- return
-
(and 2 more)
Tagged with:
-
Hi: I'm trying to setup a custom message both in my product page and product list page for product backorders, but I'm having a bit of an issue. In the product page it works as intended. Shows In Stock when theres stock for the combination selected, returns Backorder message when $product.quantity =< 0 and $product.allow_oosp is set, and shows an Out of Stock message when There are no units left and $product.allow_oosp is not set. Search results and various modules (like featured products) work like they're supposed to, returning the original $category.allow_oosp value. However in my product list (Category page) It returns In stock when $product.quantity_all_versions > 0 (as intended) and it ALWAYS defaults to out of stock when quantity for all combinations is 0 or lower, and what's more interesting, {$category.allow_oosp} value is ALWAYS 0. Is it possible the loop isn't returning that variable at all on product list? {if $product.quantity_all_versions > 0} <span class="stocklabel">{l s='In stock' d='Shop.Theme.Product'}</span> {else} {if $product.allow_oosp} <span class="stocklabel backorder">{$product.available_later}</span> {else} <span class="stocklabel oos">{l s='Not available' d='Shop.Theme.Product'}</span> {/if} {/if} All help is appreciated. I'm quite a newb, as you may notice 😕
- 3 replies
-
- product list
- smarty
-
(and 3 more)
Tagged with:
-
Hi, i need help to add custom columns in product list in backoffice, what i'd like is get Features value and Manufacturer beside Category column. I'm editing AdminProductsController.php and found: $this->fields_list['id_manufacturer'] = array( 'title' => $this->l('Manufacturer'), 'align' => 'left', 'width' => 40 ); With this code i get the id of manufacturer, how can i get the name? Hope someone can help to figured it out
- 125 replies
-
- 1
-
-
- admin
- backoffice
-
(and 2 more)
Tagged with:
-
Hello everyone! (Prestashop 1.7.7.0) I have a problem with backoffice product list, i want to add 'manufacturer' field and be able to filter and serach by this field. I tried a lots of things but unfortunately without any success so far. If someone know how to solve this case please share your asnwer with me below also happy xmas and happy new year everyone!
-
- 1.7.7.0
- product list
-
(and 2 more)
Tagged with:
-
Hi All I am trying to make available in the Product List template file all images URLs related to each and every (colour) combination a product has to offer. Currently I believe only the default product image is made available. This is a follow up to the following thread I posted a few years ago https://www.prestashop.com/forums/topic/591040-17x-display-images-of-all-product-varients-on-product-list-category-pages/ where i found a workaround using the prepareProductForTemplate function in the ProductListingFrontController. I was able to query and inject the urls into the main product list variable for theme to pick up. With the new development on PS i am looking to see if there is a better way to do this going forward. I have checked the Extension Concepts page on the Dev Doc as it seems core overrides are discouraged these days. I had a look to see if i could find any hooks that allow you to manipulate the product data before it is shown on a product list. This way I could move the logic into a bespoke module which hooked into the main flow. I couldn't find any. So this would be my first recommendation to any core devs, please add this hook in upcoming versions. Using modules there seems to be ways to work with controllers, however i could not see how this was relevant to what I am trying to achieve. I wondered if it is possible to call functions that retrieve the results of directly in the theme. I would need to access the following calls or something similar: Image::getImages() or $this->context->link->getImageLink(). I could not find any documentation on how to best do this using Prestashop. I don't think any of the Symfony documentation applies to this part of Prestashop yet. So could anyone else offer any advice on how to best achieve this in a way that will age well with Prestashop's development going forward. Is there a better way of doing this?
- 1 reply
-
- product list
- category
-
(and 1 more)
Tagged with:
-
Hi, I want to add a new sort by option to category page. Which file i need to modify? I want to modify the displayed product list based on some criteria. In prestashop 1.6 i''ve succeed by modifying the Product.php class, but in 1.7 I can't find the function that queries the products and sorts them. Prestashop 1.7 Thanks!
-
- sort by
- prestashop17
-
(and 1 more)
Tagged with:
-
Hey everyone! just came up with a tut on adding back the add to cart button in the product list, since it's been removed from 1.7 http://nemops.com/prestashop-1-7-product-list-add-to-cart-button/#.WFJScPnaeUk Hope you find it useful! Fabio
- 30 replies
-
- 7
-
-
- 1.7
- product list
-
(and 2 more)
Tagged with:
-
PRODUCT LISTS SHOWING WRONG ON FRONTEND
philbauch posted a topic in Configuring and using PrestaShop
Sorry, I wanted to put this in questions to developer, not in general forum (but don't find any option to delete this post, only EDIT) Anyway, it is about the theme "Organic Fresh Food Market Store" by themevolty, using PS 1.7.6.4. URL is ahoy24.pl Maybe someone here had the sameor similar issue, so I leave thispost open as for now, see below Thanks, Phil ORIGINAL POST: I have a really weird problem, without any logics in it (at least for me). The way products are shown on the homepage are not slightly close to what it should be. In others words, it’s shown totally messed up Products in DB Count total: 6 ID’s: 3,4,5,6,7,9 1. EXAMPLE HOME => SPECIAL PRODUCTS („Hot Deals“) 1. showing 2 items (products in DB: 2) ID’s shown: 4,6,4,6,4,6 ID’s in DB : 4,6 2. SWIPER PAGINATION: showing 2 bullet (this would be max 4 items, by 4 items / pane) 2. EXAMPLE HOME => LATEST PRODUCTS 1. showing 15 items (products in DB: 6) ID’s: 6,5,4,3,9,8,7,6,5,4,3,9,8,7,6 (so doubles and product ID 😎 2. Also shown product with ID=8 (does not exist in DB) 3. SWIPER PAGINATION: showing 7 bullets (this would be more than 14 items, by 4 items / pane) 3. EXAMPLE HOME => FEATURED PRODUCTS („Essentials“) 1. showing 3x product with ID=6 (coffee pack) 2. when clicking on „All featured products, leads to a 404) 3. comment: category for essentials is 118, a category not shown in menu and only used to collect essential items (it’s easier to understand for my client and coworkers then using the standard „home“ cat, as I’m sure they will mark everything in Home 😉 Any idea what this could be? Any help highly appreciated, thanks a lot and of course, stay safe and healthy these days Cheers, Phil-
- duplicates
- product list
-
(and 1 more)
Tagged with:
-
Guys, I have tried the solutions provided on the forum to achieve this, but nothing works. I either get the blank screen or blank screen:) I want to show available sizes of clothes right under the product images on the product list. I'm using default theme, version 1.5.6.1. However I have modified product list tpl and css file for the grid view. My domain is sweet5.kg Can anybody help me with the code? I quite stranger to the php and smarty:) Thank you in advance. Regards,
-
Hello! I want to create a separate product for each attribute of a product. How can i create this? This is something that Prestashop really needs, alot stores use this. Goal: Display all the combinations in the product list (can be done with guide below) But still be able to use stock I use this solution now, but it creates different products and therefore the stock must be handled manually. - Create 1 product for each color. (Or duplicate and just change the color). - Remove the ID from product url, using this guide. - When user clicks on any of them, he will get to the first one (since them all have same link). - Now you just add all attributes to the 1st product This will create: Product 1 (Green, Blue, Red) <- They will all link to this product. Product 2 (Blue) Product 3 (Red)
- 29 replies
-
- product list
- each
-
(and 4 more)
Tagged with:
-
Bonjour, je rencontre un soucis sur un presta 1.7.6.3 : mes produits sont affectés à plusieurs catégories (2 à 3 selon les produits) avec une catégorie déclarée en "catégorie principale" mais les produits ne s'affichent que dans la catégorie principale et pas dans les "secondaires". Autre bug repéré : le module ps_facedsearch qui ne fait les tris que sur les prix et renvoie un résultat vide sur les autres tris ... soit dit en passant, vous dites dans votre doc que l'on peut créer un module pour ajouter des filtres / tris à ce module ... donnez moi la solution car même si on fait un override du module cela ne fonctionne pas (l'override du module ne semble pas existé pour prestashop - je supprime bien le fichier class_index.php à chaque fois que je touche un override pour être sur que ce soit pris en compte ... mais rien) j'en passe et des meilleures ... --------------------- Petit coup "de gueule" -------------------- 3eme site que je fais avec une 1.7 et 3eme fois que je m'arrache les cheveux alors que j'ai déployé des dizaines de sites avec la 1.6 et tout ça dans la joie et l'allégresse ! Franchement, on a eu des dizaines de versions de la 1.7 depuis sa sortie et c'est de pire en pire, on ne peux quasiment plus travailler avec votre CMS, au final on devra se contenter de prendre le truc comme vous le proposez, ajouter quelques modules (et encore là aussi il faut y aller avec délicatesse pour éviter les conflits sur les overrides créés par les modules) faire du paramétrage et basta ... autrement dit, d'ici peut, j'ai bien peur que TOUS les prestashop soient identiques à part au niveau design avec zéro possibilité de modification ... autant arrêter de proposer presta en téléchargement et faite comme Wixx, ne proposez votre solution qu'a travers vos solutions en ligne sans accès FTP et un support payant ! A mon avis, les agences vont finir par ne plus utiliser presta, ce qui serait dommage !!!
- 6 replies
-
- product list
- tri
-
(and 2 more)
Tagged with:
-
Buenas tardes! Estoy creando unas páginas tpl a mano (es decir, he creado el fichero php en la raíz, el controller en la carpeta determinada y el fichero tpl dentro de la carpeta de mi tema). En eso no he tenido problemas, porque se ve todo a la perfección. El problema lo tengo cuando intento mostrar la lista de productos de una categoría, tal y como lo hace el fichero cateroy.tpl. Lo he intentado con la secuencia que usa este fichero: {include file="./product-list.tpl" products=$products} Pero no me funciona... No me muestra nada... ¿Puede que sea porque no puede acceder a la variable $products? La página no tiene nada en especial, sólo unos párrafos de texto. ¿Cómo podría solucionarlo? ¿Tengo que modificar algún controller para poder tener acceso a esta variable? ¿O se necesita de algún código especial para que funcione? ¿Tengo que incluir alguna cosa? Espero vuestra ayuda. Un saludo!
-
Sziasztok! Egy újabb kérdés! Egy kategóriát ha meghívok, kilistáz xy terméket szépen egymás mellé. Arra van megoldás hogy a termékkép és a név alá kiírassak cipő méreteket? Jelenleg ha a termékkép fölé viszem az egeret megjelenik egy újabb kis ablak a termék alatt ahol az összehasonlítás, kedvencekhez adás, és a kosár ikonok vannak. Ha ezek az ikonok alá ki lehetne listáztatni a méreteket az lenne a legjobb. Egy másik dolog, tudnátok ajánlani modult, vagy megoldást arra hogy termékek böngészésénél ha a vásárló leér az oldal aljára ne kelljen a "következő" gombra klikkelnie, hanem automatikusan jelenítsen meg újabb 20 terméket... Köszönettel...
-
In my module Prestashop 1.7.5 I want to override the product list view in the admin panel. I copied src/PrestaShopBundle/Resources/views/Admin/Product/CatalogPage/Lists/list.html.twig to mymodule modules/mymodule/views/PrestaShop/Admin/Product/CatalogPage/Lists/list.html.twig In list.html.twig is code: {% set buttons_action = [ { "href": product.preview_url | default ('#'), "target": "_blank", "icon": "remove_red_eye", "label": "Preview" | trans ({}, 'Admin.Actions')} ] %} How to change href this code to my controller from mymodule sample: /admin/index.php?controller=AdminMyControlerSample&token=c21c6d1372a6950e4cb9ef9e01aa7124 and action name: "hello" it is best to generate this link dynamically, especially the token and the domain of the store was attached.
-
- list.html.twig
- product list
-
(and 3 more)
Tagged with:
-
Hi - am using latest version of Prestashop 1.6 an the layered navigation block. On Product list pages in all categories I have some extra content at the bottom of these category pages with anchors, linked to from the category description text. With layered navigaion block enabled clicking the link to the anchor results in the page scrolling down to the anchor momentarily, before scrolling back to the top. With the layered navigation module disabled the anchors work as expected. Has anyone else had this and found a fix? Thanks Baz
-
- product list
- product list anchors
-
(and 1 more)
Tagged with:
-
Hi, I'd like to implement an override which is just like this one described here: http://nemops.com/lowest-price-prestashop-product-list/#.XXj6XCgzbqY Basically I would like to show the lowest custom price (As low as / from XXX), but I have no idea how to implement this in 1.7.6. Anyone who could help? I can't find any module for it either. Thanks, Robert
-
- 1.7.6
- product list
-
(and 1 more)
Tagged with:
-
I start using Prestashop 1.7.2 and I have problems to display the unit prices. Anyone knows a solution for this? Thank you. Example https://i.imgur.com/qhKPhQL.png
- 7 replies
-
- prestashop 1.7
- prestashop
-
(and 2 more)
Tagged with:
-
Hello! I don't know why, but I see the text "SOLD OUT" under the page title CATALOG, before the product listing. Found this in product-list.tpl {if ($product.quantity == 0)} {l s='SOLD OUT!'} {/if} but still displayed even if I delete it! I've also tried hiding the real sold out products, but text is still visible. Someone could help me please?
-
Hi, I would like to add Size and Quantity Selection to the Product List page for my website. What I want to achieve is when a user rolls over the image the attribute selection should show up with Add to Cart Button. Just like in the link below: http://www.bewakoof.com/collection/babaji-ka-thullu I'm new to customization so please excuse any silly mistakes or questions. Thanks in Advance ! PS ver 1.5.4
- 4 replies
-
- 2
-
-
- Attributes
- Select Attributes
- (and 4 more)
-
Hello, could anyone please help me with performance tweaking of PS v 1.5 - we have couple of products with multiple combinations - approx 1300 - and it is known to me that this particular feature causes PS to load product listing slowly (when using 1000-3000comb´s)... I discovered that product listing loads just fine (3-6seconds) when listing products that have least combination used... I have two categories with approx 1300 combinations and loading them takes 30 seconds at peaks... - my understanding is - that PS loads these combinations also in the product listing on the background - which causes slow loading due to complicated SQL queries? - Would loading combinations be sufficient only when a detail of a product is loaded... ? My question is: is there a way to lightweight the SQL query for product listing in order to speed up the page? Please see this one as an example: http://devel.nexdesi...roller=category Other pages load within 5 secs due to low ammount of combinations used. Any help would be greatly appreciated. Thank you in advance! BR, Daniel
- 33 replies
-
- product combination generator
- slow load
-
(and 2 more)
Tagged with:
-
Hi, i have a little problem. My site has a large ammount of products (my store is tshirt design) and when i search anything, it shows me a lot of products in several categories. The problem the i have, is that search results, shows me all the products in one category, and then in another. I mean: If I search "Game of thrones" it shows me 1º: 30 tshirts / THEN / 25 bags / THEN / 15 coin purse. How can i show all the results in a random way? so all the products will be mixed from categories (since I can't buy yet the filter search product module, it's TOO MUCH expensive!!!) Hope you can understand my awful english. Thanks! PS: Sorry, my Prestashop is 1.6.11 with Warehouse theme (last version)
- 2 replies
-
- search results
- random
-
(and 1 more)
Tagged with:
-
Hello, I have a question - in backeng, when you click on Catalog and Products, you see product list and there are columns like "id, product name, price, stock quantity" and so on in the table. I need to add there new column - wholesale price. Which file I have to modify and what changes I have to do? I think that I have to customize AdminProductControllers.php, but don't know what lines to add and where exactly. Please, help me, thank you a lot.