DrewCrew Posted August 19, 2013 Share Posted August 19, 2013 Prestashop version 1.5.4.1 Layered navigation block Version: 1.8.9 Issue: Layered navigation module is causing prices to show up as $0 when viewing in categories. I initially thought I had this $0 price issue fixed in > this thread < but I then realized I had to disable the Layered Navigation module in order to fix the $0 Price showing in Category view. So the "Fix", if you don't mind not having Layered Navigation, is disabling that module, but I'd like to find out what is causing this so I can enable that module again. I can't seem to figure out what it is about the Layered Navigation module that is causing this. Anyone have any ideas? Link to comment Share on other sites More sharing options...
FredoGT Posted December 27, 2013 Share Posted December 27, 2013 (edited) Hi, set an other combinaison of your product by default. The price will be ok but it's not a patch... Edited December 27, 2013 by FredoGT (see edit history) Link to comment Share on other sites More sharing options...
completepresta Posted May 6, 2014 Share Posted May 6, 2014 I'm having this problem already since 2012, even update after update its still the same bug coming back every time.Its really a shame it's still not fixed... Link to comment Share on other sites More sharing options...
BiancaI25 Posted June 9, 2015 Share Posted June 9, 2015 Hi, You can modify in blocklayered.php in function ajaxCall() and before $smarty->assign( ) global $currency; and in $smarty->assign() will be like this $smarty->assign( array( 'homeSize' => Image::getSize('home'), 'nb_products' => $nb_products, 'category' => (object)array('id' => Tools::getValue('id_category_layered', 1)), 'pages_nb' => (int)($pages_nb), 'p' => (int)$p, 'n' => (int)$n, 'range' => (int)$range, 'start' => (int)$start, 'stop' => (int)$stop, 'n_array' => ((int)Configuration::get('PS_PRODUCTS_PER_PAGE') != 10) ? array((int)Configuration::get('PS_PRODUCTS_PER_PAGE'), 10, 20, 50) : array(10, 20, 50), 'comparator_max_item' => (int)(Configuration::get('PS_COMPARATOR_MAX_ITEM')), 'products' => $products, 'products_per_page' => (int)Configuration::get('PS_PRODUCTS_PER_PAGE'), 'static_token' => Tools::getToken(false), 'page_name' => 'category', 'nArray' => $nArray, 'currencySign' => $currency->sign, / 'currencyRate' => $currency->conversion_rate, 'currencyFormat' => $currency->format, 'currencyBlank' => $currency->blank, ) ); Need to add the last 4 lines. 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