bloggus Posted April 16 Share Posted April 16 (edited) Hi, I'm just playing with PS 8.2.1 and I noticed that product listings in BO shows regular price and don't take into account the specific prices that are set for a product. Regular price is 2295, but with the set specific price, it should be 1695? (no caching module, no cache set, price showing right in the front) Is that normal behaviour? Edited April 16 by bloggus spelling (see edit history) Link to comment Share on other sites More sharing options...
Knowband Plugins Posted April 16 Share Posted April 16 No, I think the admin listing will not display those specific prices. A special price can have multiple entries depending on the customer group, store view, country, etc. In such cases, it becomes difficult to determine which one should be displayed. Link to comment Share on other sites More sharing options...
bloggus Posted April 16 Author Share Posted April 16 So bascailly it is different that it was in 1.6 and 1.7? How exacly are admin suppose to check prices, having an overview over the products if the price in the back is not listed as current? Pretty much useless behaviour. Link to comment Share on other sites More sharing options...
bloggus Posted April 16 Author Share Posted April 16 How come do search for the products, give the current price in the back end, but not catalog listing? Link to comment Share on other sites More sharing options...
bloggus Posted April 16 Author Share Posted April 16 I guess PS 8 and V2 of the catalog list is not using these files anymore: src/Adapter/Product/AdminProductDataProvider.php src\PrestaShopBundle\Resources\views\Admin\Product\CatalogPage\Lists\list.html.twig How is the Catalog List V2 created? Anyone knows the files? Link to comment Share on other sites More sharing options...
bloggus Posted April 25 Author Share Posted April 25 Anybodu know which templates controll the product listing table (V2) in 8.2.1? Link to comment Share on other sites More sharing options...
Andrei H Posted April 25 Share Posted April 25 Hello, In the new listing pages, the grids do not have specific templates. The files that you might want to look into are: src/Core/Grid/Definition/Factory/ProductGridDefinitionFactory.php - which is used for building the grid columns and filters src/Core/Grid/Query/ProductQueryBuilder.php - which is used for fetching the data from the database. This data is provided to the ProductGridDefinitionFactory.php above Ideally, if you want to alter the columns, you should do so within a custom module and not by making the code changes directly in the files above. PrestaShop has a couple of hooks that can be helpful in this regard - specifically the one that start with action<DefinitionId>Grid (the DefinitionId in this case is Product) Link to comment Share on other sites More sharing options...
Daresh Posted May 5 Share Posted May 5 Hello, adding a column with the final product price (tax included) is one of the features of the Gridder module: https://codecanyon.net/item/gridder-add-and-remove-columns-from-prestashop-back-office-lists/33859071 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now