Jump to content

 

sefai

Member Since 26 May 2020
Offline Last Active Yesterday, 01:35 PM
-----

Posts I've Made

In Topic: Ajax Re-Render Block

05 July 2020 - 11:19 AM

Thanks a lot

 

Please take a look here

 

https://docs.cs-cart...ainers-via-ajax


In Topic: Ajax Re-Render Block

03 July 2020 - 07:19 AM

Where did you learn this tiny but very important thing? 

They use their own JS that expects to see the id being updated as a comment just before the closing tag of the updated html.  If it's not there, it won't be seen.  Take a look at templates for other ajax requests and you'll see how they use both 'result_ids' and the commented id values.  It's a bit hokey but it does make it simple to re-render existing pages that can use the new logic of assigned template variables.