将DemacMedia Magento-Multi-Location-Inventory扩展安装到1.9.2.4商店.良好的工作和大量库存上传工作
添加图片以显示模块并解释我想要做的事情。
https://github.com/DemacMedia/Magento-Multi-Location-Inventory
仅在编辑产品页面内显示多位置数量信息
我尝试了很多东西把位置+数量信息放到 Order view page (sales_order/view/order)
尝试将以下数据的变体添加到
app/design/adminhtml/default/default/template/sales/order/view/items/renderer/default.phtml
但没有改变.我想在查看订单页面看到下面的数据(位置+数量).
$this->getLocationsInventories() as $_location)
$_location['code'], $_location['qty']
下面的代码是模块的原始多位置文件.
app\design\adminhtml\default\default\template\demac\catalog_multilocationinventory.phtml
<?php foreach ($this->getLocationsInventories() as $_location): ?>
<tr>
<td>
<?php echo $_location['name'] ?>
</td>
<td>
<input type="text"
name="multilocationinventory[<?php echo $_location['id'] ?>][quantity]"
class="input-text validate-number"
<?php echo ($_location['manage_stock'] === "1") ? '' : 'style="visibility:hidden;"' ?>
value="<?php echo $_location['qty'] ?>"/>
</td>
最新回答
- 2019-12-51 #
在表格之前添加此内容< / p>