誰知道什麼文件控制購物車中加減按鈕的功能?我想在點擊任何按鈕後更改添加或減去的數量。Prestashop如何對購物車中的加減按鈕進行修改
這是對ADD按鈕
<a rel="nofollow" class="" id="" href="{$link->getPageLink('cart', true, NULL, "add=1&id_product={$product.id_product|intval}&ipa={$product.id_product_attribute|intval}&id_address_delivery={$product.id_address_delivery|intval}&token={$token_cart}")|escape:'html':'UTF-8'}" title="{l s='Add' mod='advancedcheckout'}"><span><i class="fa fa-plus"></i></span></a>
更改add=1
不作任何更改的代碼。所以在開始時我認爲它是一個JS或AJAX文件,但即使刪除了所有類和ID之後,該按鈕仍繼續工作。所以我認爲所有這一招都是由href=""
中的代碼產生的但我可以在哪裏添加數量的更改?誰知道?