diff --git a/etc/adminhtml/system.xml b/etc/adminhtml/system.xml
index 5a4d184..d294f57 100644
--- a/etc/adminhtml/system.xml
+++ b/etc/adminhtml/system.xml
@@ -20,6 +20,7 @@
+ required-entry validate-digits validate-zero-or-greater
@@ -54,6 +55,7 @@
+ required-entry validate-digits
diff --git a/etc/config.xml b/etc/config.xml
index a05ec4f..1b27beb 100644
--- a/etc/config.xml
+++ b/etc/config.xml
@@ -13,7 +13,7 @@
Loading - please wait...]]>
You've reached the end of the item.]]>
- 3
+ -1
Load more
diff --git a/view/frontend/templates/infinitescroll.phtml b/view/frontend/templates/infinitescroll.phtml
index f7a3f18..420cc99 100644
--- a/view/frontend/templates/infinitescroll.phtml
+++ b/view/frontend/templates/infinitescroll.phtml
@@ -50,7 +50,7 @@ if ($loadingImage) {
html: '',
textPrev: "= $loadMoreText ?>",
htmlPrev: '',
- offset: "= $loadMore ?>",
+ offset: 0) ? $loadMore: 'false' ?>,
}));
window.ias.on('rendered', function (items) {
$('body').trigger('contentUpdated');