search next or previous page of products if asked

This commit is contained in:
Christophe Battarel 2022-04-29 09:49:10 +02:00
parent accb900d4f
commit 78f46bb98b

View File

@ -372,6 +372,9 @@ function LoadProducts(position, issubcat) {
function MoreProducts(moreorless) {
console.log("MoreProducts");
if ($('#search_pagination').val() != '') return Search2('<?php echo $keyCodeForEnter; ?>', moreorless);
var maxproduct = <?php echo ($MAXPRODUCT - 2); ?>;
if (moreorless=="more"){