mccowner Merchant Od Canada Użytkownik od mar 2025 mccowner 7 kwi 2025 15:53 This add on works nice, but I had to fix one small glitch. When going to a category page that doesn't have any products, this error shows at the top of the page... Warning: Undefined variable $remainProds in ~/vmods/.cache/pages-category.inc.php (Line 153) I made a slight change to the vMod. For the "pages/category.inc.php" modification, I added a definition for $remainProds before the if statement, like so... $remainProds = 0; if (database::num_rows($products_query)) { $remainProds = 0; while ($listing_product = database::fetch($products_query)) { I'm not an expert in php. I've always worked with Perl, but that fixed it. The errors stopped and the price filtering still works properly. Thanks for this add on. I'm getting the hang of vMods, and have done a couple simple ones for myself.
jackmaessen LiteCart Fan Od Netherlands Użytkownik od gru 2022 jackmaessen 7 kwi 2025 16:59 Thnx @mccowner I will update addon