我正在与Prestashop 1.6合作,我想知道如何在Ajax Cart弹出窗口中检索当前产品的制造商ID。谢谢
产品项目中存在生产者的ID。致电您喜欢的地方用途:
{$product.id_manufacturer}
文件是:
/主题/[name-your-themes]/modules/blockcart/blockcart.tpl
in
themesYOUR_THEMEmodulesblockcartblockcart-json.tpl
添加
"id_manufacturer": {$product.id_manufacturer},