Как связать Products и Ajax
Как связать Products и Ajax
Здравствуйте, хотел бы подгружать определенные товары без перезагрузки страницы, при нажатии на кнопку. Но я не понял как связать модуль Products и Ajax Made Simple или Ajax Tools. Если у кого есть примеры такого функционала, то покажите наглядно пожалуйста.
Re: Как связать Products и Ajax
If you have knowledge of how Ajax works you might have a look here:
http://tinyurl.com/mphmqrb
Much of the content is loaded using ajax: clicking on a product (Foundation's built-in reveal thing). Filter and pagination are ajax too.
Use a browser's developer tool to see the 'source'.
Important:
?showtemplate=false in some urls.
The cms_action_url tag: https://docs.cmsmadesimple.org/tags/cms ... action_url
http://tinyurl.com/mphmqrb
Much of the content is loaded using ajax: clicking on a product (Foundation's built-in reveal thing). Filter and pagination are ajax too.
Use a browser's developer tool to see the 'source'.
Important:
?showtemplate=false in some urls.
The cms_action_url tag: https://docs.cmsmadesimple.org/tags/cms ... action_url