跳至主要內容
  • Hostloc 空間訪問刷分
  • 售賣場
  • 廣告位
  • 賣站?

4563博客

全新的繁體中文 WordPress 網站
  • 首頁
  • 有人熟悉 opencart 吗?
未分類
14 11 月 2020

有人熟悉 opencart 吗?

有人熟悉 opencart 吗?

資深大佬 : laravel 3

oc_product_option 这张表有存在的意义吗?

为什么不合并到 oc_product_option_value 里?

还有 oc_product_option_value 为什么没有 image 字段,当用户选择不同的尺寸、颜色,可以展示不同的图片

大佬有話說 (1)

  • 主 資深大佬 : laravel

    CREATE TABLE `oc_product_option` (
    `product_option_id` int(11) NOT NULL AUTO_INCREMENT,
    `product_id` int(11) NOT NULL,
    `option_id` int(11) NOT NULL,
    `value` text NOT NULL,
    `required` tinyint(1) NOT NULL,
    PRIMARY KEY (`product_option_id`)
    ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

    CREATE TABLE `oc_product_option_value` (
    `product_option_value_id` int(11) NOT NULL AUTO_INCREMENT,
    `product_option_id` int(11) NOT NULL,
    `product_id` int(11) NOT NULL,
    `option_id` int(11) NOT NULL,
    `option_value_id` int(11) NOT NULL,
    `quantity` int(3) NOT NULL,
    `subtract` tinyint(1) NOT NULL,
    `price` decimal(15,4) NOT NULL,
    `price_prefix` varchar(1) NOT NULL,
    `points` int(8) NOT NULL,
    `points_prefix` varchar(1) NOT NULL,
    `weight` decimal(15,8) NOT NULL,
    `weight_prefix` varchar(1) NOT NULL,
    PRIMARY KEY (`product_option_value_id`)
    ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;

文章導覽

上一篇文章
下一篇文章

AD

其他操作

  • 登入
  • 訂閱網站內容的資訊提供
  • 訂閱留言的資訊提供
  • WordPress.org 台灣繁體中文

51la

4563博客

全新的繁體中文 WordPress 網站
返回頂端
本站採用 WordPress 建置 | 佈景主題採用 GretaThemes 所設計的 Memory
4563博客
  • Hostloc 空間訪問刷分
  • 售賣場
  • 廣告位
  • 賣站?
在這裡新增小工具