0
有人做了這個改變?如何更改BO產品清單以顯示批發價格Prestashop 1.6
今天BO產品清單顯示最終客戶價格不含稅和增值稅。 如果可能的話,我想要顯示我們的批發價格和最終消費者價格。這可能是AdminProductController的變化,但我不知道如何。我從你的PrestaShop根目錄下,並在__construct()函數運行PS 1.6.1.6
問候
安德斯蔚然
有人做了這個改變?如何更改BO產品清單以顯示批發價格Prestashop 1.6
今天BO產品清單顯示最終客戶價格不含稅和增值稅。 如果可能的話,我想要顯示我們的批發價格和最終消費者價格。這可能是AdminProductController的變化,但我不知道如何。我從你的PrestaShop根目錄下,並在__construct()函數運行PS 1.6.1.6
問候
安德斯蔚然
打開/controllers/admin/AdminProductsController.php,你會看到下面的代碼:
$this->fields_list['price'] = array(
'title' => $this->l('Base price'),
'type' => 'price',
'align' => 'text-right',
'filter_key' => 'a!price'
);
此代碼負責顯示產品列表價格,嘗試用以下替換代碼:
$this->fields_list['price'] = array(
'title' => $this->l('WholeSale price'),
'type' => 'price',
'align' => 'text-right',
'filter_key' => 'a!wholesale_price'
);
希望它有幫助。