how can i add a "load more" button in the featured module which shows less products initially on homepage
Show more products
https://www.opencart.com/index.php?rout ... n_id=24585
---
DE Filter (ajax + show more) v3.0 [trial]
https://www.opencart.com/index.php?rout ... n_id=35413
---
DE Filter (ajax + show more) v3.0
https://www.opencart.com/index.php?rout ... n_id=33710
---
Ajax load (view , show) more button (work with megafilter)
https://www.opencart.com/index.php?rout ... n_id=30122
---
https://www.opencart.com/index.php?rout ... n_id=24585
---
DE Filter (ajax + show more) v3.0 [trial]
https://www.opencart.com/index.php?rout ... n_id=35413
---
DE Filter (ajax + show more) v3.0
https://www.opencart.com/index.php?rout ... n_id=33710
---
Ajax load (view , show) more button (work with megafilter)
https://www.opencart.com/index.php?rout ... n_id=30122
---
My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
how do you use the second one on featured module? and is it free?IP_CAM wrote: ↑Sat Apr 20, 2019 9:43 pmShow more products
https://www.opencart.com/index.php?rout ... n_id=24585
---
DE Filter (ajax + show more) v3.0 [trial]
https://www.opencart.com/index.php?rout ... n_id=35413
---
DE Filter (ajax + show more) v3.0
https://www.opencart.com/index.php?rout ... n_id=33710
---
Ajax load (view , show) more button (work with megafilter)
https://www.opencart.com/index.php?rout ... n_id=30122
---
Well, how should I know ? I don't use your Version.
But it's quoted as a 3 day free Test version, and that
should be sufficient time, to test it out. And then,
you'll have to pay for, if you want to further use it.
But better ask the Mod-Creator, if you have any
questions on such extensions, no-one else would
know, or then, probably not tell you, since it's not
a free Extension.
Good Luck!
Ernie
PS: Personally, I would not buy an Extension, possibly
containing backlinks or even 'coded' content, to unlock
certain functions, or even able to be 'traced' by a Mod Seller.
But I don't know, what that Extension has and uses, so, I
cannot judge on anything, just take it as 'global' warning.
But it's quoted as a 3 day free Test version, and that
should be sufficient time, to test it out. And then,
you'll have to pay for, if you want to further use it.
But better ask the Mod-Creator, if you have any
questions on such extensions, no-one else would
know, or then, probably not tell you, since it's not
a free Extension.
Good Luck!
Ernie
PS: Personally, I would not buy an Extension, possibly
containing backlinks or even 'coded' content, to unlock
certain functions, or even able to be 'traced' by a Mod Seller.
But I don't know, what that Extension has and uses, so, I
cannot judge on anything, just take it as 'global' warning.
My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
Hi
I have a paid extension that can do that:
https://www.opencart.com/index.php?rout ... n_id=33488
You can choose Loading method in module settings: with scroll or with button.
I have a paid extension that can do that:
https://www.opencart.com/index.php?rout ... n_id=33488
You can choose Loading method in module settings: with scroll or with button.
well i was looking for help in writing code for it instead of some paid extensions.IP_CAM wrote: ↑Sun Apr 21, 2019 12:29 pmWell, how should I know ? I don't use your Version.
But it's quoted as a 3 day free Test version, and that
should be sufficient time, to test it out. And then,
you'll have to pay for, if you want to further use it.
But better ask the Mod-Creator, if you have any
questions on such extensions, no-one else would
know, or then, probably not tell you, since it's not
a free Extension.
Good Luck!
Ernie
PS: Personally, I would not buy an Extension, possibly
containing backlinks or even 'coded' content, to unlock
certain functions, or even able to be 'traced' by a Mod Seller.
But I don't know, what that Extension has and uses, so, I
cannot judge on anything, just take it as 'global' warning.
Well, you're playing around with a Moneymaker Software,
so, better don't expect this to be a free heaven of wisdom,
despite of the fact, that some knowledge comes for free.
Good Luck!
Ernie
so, better don't expect this to be a free heaven of wisdom,
despite of the fact, that some knowledge comes for free.
Good Luck!
Ernie
My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.
You're asking for someone to do this work for you and then tell you how to do it for free.saffamansoor wrote: ↑Mon Apr 22, 2019 8:00 pmwell i was looking for help in writing code for it instead of some paid extensions.
You can ask in forums for help with small bits of code and small issues but this is a whole extension.
Why do you think someone will spend 1/2 day of their time for you for free?
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
not the whole code but at least some help to kick-start. I mean i am new to this platform, Don't know how to add jquery scripts?paulfeakins wrote: ↑Tue Apr 23, 2019 7:21 pmYou're asking for someone to do this work for you and then tell you how to do it for free.saffamansoor wrote: ↑Mon Apr 22, 2019 8:00 pmwell i was looking for help in writing code for it instead of some paid extensions.
You can ask in forums for help with small bits of code and small issues but this is a whole extension.
Why do you think someone will spend 1/2 day of their time for you for free?
You
take a look at other default modules to see how they work.
example:
File:
catalog\controller\extension\module\slideshow.php
Code:
$this->document->addStyle('catalog/view/javascript/jquery/swiper/css/opencart.css');
$this->document->addScript('catalog/view/javascript/jquery/swiper/js/swiper.jquery.js');
You can see how the css and javascript files are loaded.
take a look at other default modules to see how they work.
example:
File:
catalog\controller\extension\module\slideshow.php
Code:
$this->document->addStyle('catalog/view/javascript/jquery/swiper/css/opencart.css');
$this->document->addScript('catalog/view/javascript/jquery/swiper/js/swiper.jquery.js');
You can see how the css and javascript files are loaded.
so i want a load more button in the featured module
i have loaded my loadmore.jquery.js file in featured.php present in catalog\controller\extension\module
my loadmore.jquery.js file is:
and inside featured.twig i have added following things
given id "item" to the product
and added a loadmore link in the end
Code: Select all
this isn't working...what is wrong with this??
i have loaded my loadmore.jquery.js file in featured.php present in catalog\controller\extension\module
my loadmore.jquery.js file is:
Code: Select all
$(function () {
$("#item").slice(0, 4).show();
$("#loadmore").on('click', function (e) {
e.preventDefault();
$("#item:hidden").slice(0, 4).slideDown();
if ($("#item:hidden").length == 0) {
$("#loadmore").fadeOut('slow');
}
});
});
given id "item" to the product
Code: Select all
<div id = "item" class="product-layout col-lg-3 col-md-3 col-sm-6 col-xs-12">
Code: Select all
Code: Select all
<a href="#" id="loadmore">Load More</a>