auzStar Posted January 16, 2017 Author Share Posted January 16, 2017 (edited) @@Lioelx Hi @ auzStar, i dont know this, sorry for my ignorace, Can not be made to load the products and to go up?Regards Why do you want the page to go up? If you are referring to when using the page numbers at the bottom, can't the user scroll up to see the products at the top same as they would have to do if they used the page numbers at the top and then have to scroll down to see the products at the bottom? cheers Edited January 16, 2017 by auzStar Quote My Add-onsAdvanced Cache Control Tool for osCommerce 2.3.x (non-bootstrap) Download SupportAjax Product Listing for osC 2.3.4 (bootstrap) Download SupportCategory New Products Carousel for osC 2.3.4 (bootstrap) Download SupportCategory Popular Products Carousel for osC 2.3.4 (bootstrap) Download SupportCustomer Testimonials for osCommerce 2.3.4 (bootstrap and non-bootstrap) Download SupportFront Page New Products Carousel for osC 2.3.4 (bootstrap) Download SupportIndex Nested - Product Listing for osC 2.3.4 (bootstrap) Download SupportMatch Categories in Search Results for osCommerce versions 2.3.x (non-bootstrap) Download SupportModular Category Page for osC 2.3.4 (bootstrap) Download SupportNEW Australia Post Shipping Modules for osCommerce 2.3.x (non-bootstrap) Download SupportNEW Equal Height Module for osC 2.3.4 (bootstrap) Download SupportProducts Low Stock Report for osC 2.3.x (bootstrap and non-bootstrap) Download SupportTwitter Typeahead Autocomplete Search for osCommerce 2.3.4 (bootstrap and non-bootstrap) Download SupportUpcoming Products Modules for osC 2.3.4 (bootstrap) Download Support Assisted Add-onsScroll Boxes for osCommerce 2.3.x (bootstrap and non-bootstrap) Download Support Bootstrap Add-ons created by other membersosCommerce Bootstrap Addons and Code Link to comment Share on other sites More sharing options...
Lioelx Posted January 22, 2017 Share Posted January 22, 2017 Hi @@auzStar You're right in what you say, but I think the habit of users is to scroll down. Regards Smoky Barnable 1 Quote No external links here, thank you Link to comment Share on other sites More sharing options...
chef39 Posted February 21, 2017 Share Posted February 21, 2017 hi @@auzStar, great add-on, but can you help me to quickly add product on product_listing without reloading page, for fast checkout! sorry for my english, thanks for you work. Quote osc2.3.4BS localhost Link to comment Share on other sites More sharing options...
auzStar Posted February 23, 2017 Author Share Posted February 23, 2017 @@chef39 Sorry for late reply chef, I am currently travelling. If you're asking about adding products to cart using ajax (without reloading the whole page) then this module is not designed for that. This module is just about loading the product listing page via ajax when using page navigation, sort options and manufacture filter. There are a couple of areas of the web page and other background processing required (that have nothing to do with the product listing page) that would need to be updated on the fly when adding products to the cart, for example the navbar number of items in cart. I've not considered including this in to this module. You might want to look at this thread here http://www.oscommerce.com/forums/topic/410720-sessions-languages-and-ajax-loading/ that @@piernas is working on, this may be what you're after. cheers Quote My Add-onsAdvanced Cache Control Tool for osCommerce 2.3.x (non-bootstrap) Download SupportAjax Product Listing for osC 2.3.4 (bootstrap) Download SupportCategory New Products Carousel for osC 2.3.4 (bootstrap) Download SupportCategory Popular Products Carousel for osC 2.3.4 (bootstrap) Download SupportCustomer Testimonials for osCommerce 2.3.4 (bootstrap and non-bootstrap) Download SupportFront Page New Products Carousel for osC 2.3.4 (bootstrap) Download SupportIndex Nested - Product Listing for osC 2.3.4 (bootstrap) Download SupportMatch Categories in Search Results for osCommerce versions 2.3.x (non-bootstrap) Download SupportModular Category Page for osC 2.3.4 (bootstrap) Download SupportNEW Australia Post Shipping Modules for osCommerce 2.3.x (non-bootstrap) Download SupportNEW Equal Height Module for osC 2.3.4 (bootstrap) Download SupportProducts Low Stock Report for osC 2.3.x (bootstrap and non-bootstrap) Download SupportTwitter Typeahead Autocomplete Search for osCommerce 2.3.4 (bootstrap and non-bootstrap) Download SupportUpcoming Products Modules for osC 2.3.4 (bootstrap) Download Support Assisted Add-onsScroll Boxes for osCommerce 2.3.x (bootstrap and non-bootstrap) Download Support Bootstrap Add-ons created by other membersosCommerce Bootstrap Addons and Code Link to comment Share on other sites More sharing options...
CGhoST Posted August 25, 2017 Share Posted August 25, 2017 I have the following contribution installed: https://apps.oscommerce.com/Lia0H&shop-by-price-bs How can i enable ajax listing for this contribution. I put a tick on the file shop_by_price but nothing happens. Quote Link to comment Share on other sites More sharing options...
auzStar Posted August 25, 2017 Author Share Posted August 25, 2017 @CGhoST Hi there. The Ajax Product Listing module has been designed to work with the stock standard product listing pages. It most likely won't work with other add-ons without requiring extra coding (it's not possible to automatically accommodate all add-ons that are out there). Just because the "shop_by_price" option appears in admin doesn't mean it will automatically work (bit confusing I know). The Ajax Product Listing module only works with the default pages selected because these are related to the product listings. Sorry, but I have not looked at the shop-by-price add-on so I am unable to suggest what is required to get it to work. At the moment I don't have the time to look into this for you, but perhaps someone else in the forum can help. best regards Quote My Add-onsAdvanced Cache Control Tool for osCommerce 2.3.x (non-bootstrap) Download SupportAjax Product Listing for osC 2.3.4 (bootstrap) Download SupportCategory New Products Carousel for osC 2.3.4 (bootstrap) Download SupportCategory Popular Products Carousel for osC 2.3.4 (bootstrap) Download SupportCustomer Testimonials for osCommerce 2.3.4 (bootstrap and non-bootstrap) Download SupportFront Page New Products Carousel for osC 2.3.4 (bootstrap) Download SupportIndex Nested - Product Listing for osC 2.3.4 (bootstrap) Download SupportMatch Categories in Search Results for osCommerce versions 2.3.x (non-bootstrap) Download SupportModular Category Page for osC 2.3.4 (bootstrap) Download SupportNEW Australia Post Shipping Modules for osCommerce 2.3.x (non-bootstrap) Download SupportNEW Equal Height Module for osC 2.3.4 (bootstrap) Download SupportProducts Low Stock Report for osC 2.3.x (bootstrap and non-bootstrap) Download SupportTwitter Typeahead Autocomplete Search for osCommerce 2.3.4 (bootstrap and non-bootstrap) Download SupportUpcoming Products Modules for osC 2.3.4 (bootstrap) Download Support Assisted Add-onsScroll Boxes for osCommerce 2.3.x (bootstrap and non-bootstrap) Download Support Bootstrap Add-ons created by other membersosCommerce Bootstrap Addons and Code Link to comment Share on other sites More sharing options...
radhavallabh Posted July 13, 2018 Share Posted July 13, 2018 Hi I installed it on the latest EDGE CE version but it gives below error:- On clicking a category URL becomes- http://localhost/Responsive-osCommerce/FILENAME_DEFAULT?cPath=313 Object not found! The requested URL was not found on this server. The link on the referring page seems to be wrong or outdated. Please inform the author of that page about the error. If you think this is a server error, please contact the webmaster. Error 404 Help to fix it will be deeply appreciated Quote Link to comment Share on other sites More sharing options...
radhavallabh Posted July 14, 2018 Share Posted July 14, 2018 21 hours ago, radhavallabh said: Hi I installed it on the latest EDGE CE version but it gives below error:- On clicking a category URL becomes- http://localhost/Responsive-osCommerce/FILENAME_DEFAULT?cPath=313 Object not found! The requested URL was not found on this server. The link on the referring page seems to be wrong or outdated. Please inform the author of that page about the error. If you think this is a server error, please contact the webmaster. Error 404 Help to fix it will be deeply appreciated Fixed this already.. Quote Link to comment Share on other sites More sharing options...
radhavallabh Posted July 14, 2018 Share Posted July 14, 2018 I installed it now completely.. On latest Frozen CE version the Grid and List View stop functioning -and redirect to index page when clicked on after moving to the second page of a product listing. Please any help on fixing it would be appreciated. Quote Link to comment Share on other sites More sharing options...
radhavallabh Posted July 14, 2018 Share Posted July 14, 2018 1 hour ago, radhavallabh said: I installed it now completely.. On latest Frozen CE version the Grid and List View stop functioning -and redirect to index page when clicked on after moving to the second page of a product listing. Please any help on fixing it would be appreciated. The error it throws is TypeError: $.cookie is not a function Quote Link to comment Share on other sites More sharing options...
radhavallabh Posted July 14, 2018 Share Posted July 14, 2018 (edited) 38 minutes ago, radhavallabh said: The error it throws is TypeError: $.cookie is not a function FIXED ISSUE- IF ANYONE FACES THIS ISSUE IN LATEST OSCOMMERCE FROZEN EDGE CE VERSION- REPLACE BELOW CODE IN ht_ajax_product-listing.php if ( \'' . (defined('MODULE_HEADER_TAGS_GRID_LIST_VIEW_STATUS') && MODULE_HEADER_TAGS_GRID_LIST_VIEW_STATUS == 'True') . '\' && \'' . (strpos(MODULE_HEADER_TAGS_GRID_LIST_VIEW_PAGES, $page) !== false) . '\' ) { bodyContent_listing.append($("<script>$(function() { var cc = $.cookie(\'list_grid\'); if (cc == \'list\') { $(\'#products .item\').removeClass(\'grid-group-item\').addClass(\'list-group-item\'); } else { $(\'#products .item\').removeClass(\'list-group-item\').addClass(\'grid-group-item\'); } $(document).ready(function() { $(\'#list\').click(function(event){ event.preventDefault(); $(\'#products .item\').addClass(\'list-group-item\').removeClass(\'grid-group-item\'); $.cookie(\'list_grid\', \'list\'); }); $(\'#grid\').click(function(event){ event.preventDefault(); $(\'#products .item\').removeClass(\'list-group-item\').addClass(\'grid-group-item\'); $.cookie(\'list_grid\', \'grid\'); }); }); });<\/script>")[0]); } with if ( \'' . (defined('MODULE_HEADER_TAGS_GRID_LIST_VIEW_STATUS') && MODULE_HEADER_TAGS_GRID_LIST_VIEW_STATUS == 'True') . '\' && \'' . (strpos(MODULE_HEADER_TAGS_GRID_LIST_VIEW_PAGES, $page) !== false) . '\' ) { bodyContent_listing.append($("<script>$(function() { var cc = sessionStorage[\'list_grid\']; if (cc == \'list\') { $(\'#products .item\').removeClass(\'grid-group-item\').addClass(\'list-group-item\'); } else { $(\'#products .item\').removeClass(\'list-group-item\').addClass(\'grid-group-item\'); } $(document).ready(function() { $(\'#list\').click(function(event){ event.preventDefault(); $(\'#products .item\').addClass(\'list-group-item\').removeClass(\'grid-group-item\'); sessionStorage[setItem](\'list_grid\', \'list\'); }); $(\'#grid\').click(function(event){ event.preventDefault(); $(\'#products .item\').removeClass(\'list-group-item\').addClass(\'grid-group-item\'); sessionStorage[setItem](\'list_grid\', \'grid\'); }); }); });<\/script>")[0]); } VOILA.....MODULE WILL CONTINUE WORKING LIKE A CHARM..... REGARDS/ RADHAVALLABH Edited July 14, 2018 by radhavallabh Quote Link to comment Share on other sites More sharing options...
auzStar Posted July 15, 2018 Author Share Posted July 15, 2018 @radhavallabh Hi, sorry for late reply, currently travelling. Thanks for the fix. The cookie script file has been taken out of the latest osC BS/CE version. Another simple fix would be to put the cookie js file back. Will update in next release of this add-on. cheers radhavallabh 1 Quote My Add-onsAdvanced Cache Control Tool for osCommerce 2.3.x (non-bootstrap) Download SupportAjax Product Listing for osC 2.3.4 (bootstrap) Download SupportCategory New Products Carousel for osC 2.3.4 (bootstrap) Download SupportCategory Popular Products Carousel for osC 2.3.4 (bootstrap) Download SupportCustomer Testimonials for osCommerce 2.3.4 (bootstrap and non-bootstrap) Download SupportFront Page New Products Carousel for osC 2.3.4 (bootstrap) Download SupportIndex Nested - Product Listing for osC 2.3.4 (bootstrap) Download SupportMatch Categories in Search Results for osCommerce versions 2.3.x (non-bootstrap) Download SupportModular Category Page for osC 2.3.4 (bootstrap) Download SupportNEW Australia Post Shipping Modules for osCommerce 2.3.x (non-bootstrap) Download SupportNEW Equal Height Module for osC 2.3.4 (bootstrap) Download SupportProducts Low Stock Report for osC 2.3.x (bootstrap and non-bootstrap) Download SupportTwitter Typeahead Autocomplete Search for osCommerce 2.3.4 (bootstrap and non-bootstrap) Download SupportUpcoming Products Modules for osC 2.3.4 (bootstrap) Download Support Assisted Add-onsScroll Boxes for osCommerce 2.3.x (bootstrap and non-bootstrap) Download Support Bootstrap Add-ons created by other membersosCommerce Bootstrap Addons and Code Link to comment Share on other sites More sharing options...
radhavallabh Posted July 25, 2018 Share Posted July 25, 2018 Hi, I am facing a Unexpected token issue.. please help me solve it sessionStorage[setItem]('list_grid', 'grid'); }); }); });<\/script>")[0])}if(''&&''){});</script></body></html> The underlined area is where the error but I am not able to resolve it. Thanks in advance Warm Regds, radhavallabh Quote Link to comment Share on other sites More sharing options...
radhavallabh Posted May 17, 2020 Share Posted May 17, 2020 Hi, can this be used for Phoenix 1.0.6.0? Regds. Radhavallabh Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.