<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                合規國際互聯網加速 OSASE為企業客戶提供高速穩定SD-WAN國際加速解決方案。 廣告
                ## Opencart的優點: 免費開源,精致小巧,但該有的功能都有,五臟俱全,適合產品數量少于5萬的電商網站。由英國人Daniel Kerr 個人開發,世界各地的愛好者在圍繞opencart開發出很多插件和模板。比如,語言類的,貨幣類的,模塊類的,支付類的,不一而足。 后臺也非常的簡潔明了,功能強大,對于初學者來說非常容易上手,對于大多數經驗豐富的網店經營者來說,OpenCart 的后臺管理功能也基本能滿足其需求。OpenCart可以說是最適合國內用戶建設外貿網店的程序! 從程序開發的角度來看,opencart就是完美!基于MVC+Language 結構,基本上和你用ThinkPhp開發沒有什么區別。而插件的開發,是類似php框架里面的Module模塊化開發,總之就是贊! 參考 《[用免費的OpenCart快速搭建符合亞馬遜品牌備案要求的獨立網站](https://www.chenfei.cn/opencart-for-amazon/)》 * * * * * ## 值得說的opencart: **數據結構** 1. attribute, attribute group 2. cart, option 3. option like attr 4. product + option = product_option_id 5. product_option_id => option value + 價格 + 庫存 **文件結構** system -> startup ->engine+helper ->framework ->Registry +(config+request+db+session+cache+url+language+event+Response) + library= $route->dispatch(ACTION), $response->output **catalog類別路由** http://www.liangopencart.net/index.php?route=product/category&path=59_107_120 * * * * * * * * * * ### **MVC-L結構** **Model層**: 單純sql,需要熟悉數據結構 **View層**: 基于swig模板引擎, ~~~ {{ column_left }} {% if column_left and column_right %} ~~~ **Controller層:** 舉例:product/category,先加載必要模型model,加載必要欄目controller,加載語言,然后把數據Data輸出到模板。 ~~~ $this->load->language('product/category'); $this->load->model('catalog/category'); $this->request->get['sort'] $html = $this->load->controller('common/column_left'); $this->response->setOutput($this->load->view('product/category', $data)); ~~~ **Language,語言層:** 可以網上下載各種語言包,也可以自己手動翻譯。 * * * * * * * * * * ### 基于 **extention** 的插件開發: 舉例:支付插件CpMy **catalog前臺開發:** $this->model_checkout_order->addOrderHistory get product,order, user info 做 支付參數 **admin后臺開發**: 同catalog, 增刪改查為主 * * * * * * * * * * ### **功能模塊理解**: 1. 商品模塊 2. 購物車模塊 3. cart 數據庫 4. 購物流程 5. 訂單模塊 6. 優惠活動 7. 用戶模塊 8. 支付模塊
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看