Here's yet another patch; I'll be uploading v1.4.6 shortly to add the 'DISTINCT' patch as well as this one). The problem is that if the multiple-add-to-cart is enabled, changing the page-count on the advanced_search_results page causes the home page to be displayed:
Either copy /includes/modules/product_listing.php to /includes/modules/YOUR_TEMPLATE/product_listing.php or edit the existing file, towards the bottom:
Code:
if ($how_many > 0 && PRODUCT_LISTING_MULTIPLE_ADD_TO_CART != 0 and $show_submit == true and $listing_split->number_of_rows > 0) {
// bof: multiple products
//-bof-products pagination
// echo zen_draw_form('multiple_products_cart_quantity', zen_href_link(FILENAME_DEFAULT, zen_get_all_get_params(array('action')) . 'action=multiple_products_add_product', $request_type), 'post', 'enctype="multipart/form-data"');
echo zen_draw_form('multiple_products_cart_quantity', zen_href_link($_GET['main_page'], zen_get_all_get_params(array('action')) . 'action=multiple_products_add_product', $request_type), 'post', 'enctype="multipart/form-data"');
//-eof-products pagination
}
Bookmarks