Duskfall Posted August 2, 2015 Share Posted August 2, 2015 (edited) Hello i am trying to implement ajax sorting paging and category filtering with AJAX and i use the Webservice and js templates to construct the html i want. But i have seen websites where when they use ajax to modules/blocklayered/blocklayered-ajax.php path they get the product list object with constructed html! I get half the variables and the others are displaying with the wrong way. Meaning some of my properties are : pagination: "↵ ↵" pagination_bottom: "↵ ↵" productList: "<div class="product_list">↵ <p class="alert alert-warning">Îεν ÏÏάÏÏοÏν ÏÏοÏÏνÏα.</p>↵</div>↵" Anyone knows how to get the rendered template to the variable? Also the pagination? My test call is the tutorial one: $.ajax({ type: 'POST', url: baseDir + 'modules/blocklayered/blocklayered-ajax.php', data: 'ajax=true', dataType: 'json', success: function(json) { // .... } });\ Prestashop version 1.6.1.0 Edited August 2, 2015 by Duskfall (see edit history) Link to comment Share on other sites More sharing options...
Edvinas Posted October 3, 2018 Share Posted October 3, 2018 DId you find an answer? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now