zencart:注文管理に商品リンク

Posted on 月曜日, 11 月 2nd, 2009 at 2:27 PM

にて 注文管理画面に商品リンクを

/admin/includes/classes/order.

      $orders_products = $db->Execute("select orders_products_id, products_name, products_model,

products_id,

------

        $this->products[$index] = array('qty' => $new_qty,
                                        'name' => $orders_products->fields['products_name'],
                                        'pid' => $orders_products->fields['products_id'],
                                        'model' => $orders_products->fields['products_model'],
                                        'tax' => $orders_products->fields['products_tax'],
                                        'price' => $orders_products->fields['products_price'],

------------

/admin/orders.

           '            <td class="dataTableContent" valign="top">' . zen_get_products_manufacturers_name($order->products[$i]['products_id']).'<br />'.'<a href="' . zen_catalog_href_link('product_info', 'products_id=' . $order->products[$i]['pid']) . '" target="_blank">' . $order->products[$i]['name'] . '</a>';

---
参考URL

http://zen-cart.jp/bbs/viewtopic.php?f=5&t=3517&hilit=%E6%B3%A8%E6%96%87%E7%AE%A1%E7%90%86%E3%80%80%E3%83%AA%E3%83%B3%E3%82%AF

関連記事

You can leave a response, or trackback from your own site.

Leave a reply

Name (*)
Mail (will not be published) (*)
URI
Comment