0
cms.tpl에서 데이터 아약스를 보내야하지만 URL은 작동하지 않습니다. 디스플레이 (404)CMS 페이지의 Prestashop Ajax
var formData = {
'referencia_producto': $('input[name=reference_product]').val(),
'tipo_form': $('input[name=tipo_form]').val()
};
$.ajax({
type: 'POST',
headers: {"cache-control": "no-cache"},
url:baseUri+'index.php?id_cms=18&controller=cms',
data: formData,
async: true,
cache: false,
dataType: 'json',
success: function (data) {
}
});
CMS에서 AJAX를 구현하기위한 방법은 무엇입니까?
내 마음에 당신에게
감사합니다. 나는 시도 할 것이다. –