I am trying to achieve a feature where clicking a 'View all' button under the product sheets will display all the products in alphabetical order by adding clones at the bottom of the page to fill all available spaces. Can you assist me with this? https://jsfiddle.net/oj20rwk3/
ABC.plp = {
_autoload: [
"viewAll"
],
viewAll: function() {
$(".plp-products-container").ready(function() {
$(".button-row [name=viewALL]").click(function() {
$(".product-item").show();
});
$(".button-row [name=viewALL]").click(function() {
$(".product-item").hide();
});
});
},
Thank you