1
我是Opencart的初學者,我嘗試在我的主頁上添加一些產品。 我在商店前類別/ product.php檢查,每一個產品都按類別(linkweb /電腦/筆記本電腦/產品)鏈接如何在產品Opencart中添加鏈接href?
,當我從category.tpl這是檢查使用<a href="<?php echo $product['href']; ?>">
在控制器產品:
'href' => $this->url->link('product/product', 'path=' . $this->request->get['path'] . '&product_id=' . $result['product_id'])
但我不知道在哪裏的代碼if (isset($this->request->get['path'])) {
進來(鑑於已檢查&模型)
如何添加請求$this->request->get['path']
在我的代碼使HREF?
我會感謝任何答案或評論。
http://wiki.opencarthelp.com/doku.php?id=method_request_get – linktoahref