-
AJAX Frontend на примере доков Есть решение
4 ответа 3 июля 20201) plugin.php: ... 'frontend' => true, ...2) routing.php: <?php return [ 'myplugin/ajax' => 'frontend/ajax' ];3) shopMypluginPluginFrontendAjax.controller.php <?php class shopMypluginPluginFrontendAjaxController extends waJsonController { public function execute() { $this->response = 'It\'s alive!'; } }4) js + Smarty $.get("{$wa->getUrl('shop/frontend/ajax', ['plugin' =>...Eugen Nichikov