Download - OpenCart 產品設定
OpenCart 產品設定
編輯項目
後台
前台
貨幣設定
商店設定
基本資料後台 前台
要經過稅率換算
三個價格又與促銷活動有關
決定庫存狀態
使用優惠價格
庫存狀態設定
促銷活動
設定購買多少數量,促銷價格是多少,這也與稅率有關
稅率計算
設定稅率稅類指定給商品
稅率與國家及地區有關
基本資料
預設不顯示
顯示產品重量等資訊
catalog/view/theme/default/template/product/product.tpl
找到這段<span><?php echo $text_stock; ?></span> <?php echo $stock; ?><?php if ($weight) { ?>
在上面那段的後面加上<?php if ($weight) { ?> <span><?php echo $text_weight; ?></span> <?php echo $weight; ?><br /><?php } ?>
catalog/controller/product/product.php
找到$this->data['text_stock'] = $this->language->get('text_stock');
加上$this->data['text_weight'] = $this->language->get('text_weight');
找到$this->data['points'] = $product_info['points'];
加上$this->data['weight'] = $product_info['weight'];
catalog/language/english/product/product.php
加上$_['text_weight'] = 'weight';
catalog/language/zh-TW/product/product.php
加上$_['text_weight'] = ' 重量 ';
關聯前台
屬性
前台
選項設定前台
分期付款 ( 付款方式 )
前台
圖片設置
前台
運費管理
前台購物車
Google Map回傳圖片
只需要給緯度與精度• http://maps.google.com/maps/api/staticmap?
center= 緯度 , 經度 &zoom=16&markers= 緯度 ,經度 &size=300x300&sensor=false
• 使用方式• <img
src=“http://maps.google.com/maps/api/staticmap?center= 緯度 , 經度 &zoom=16&markers=緯度 , 經度 &size=300x300&sensor=false” width=“ 寬度” height=“ 高度” >