【问题标题】:magento 1.9.x 'position' columnmagento 1.9.x“位置”列
【发布时间】:2018-09-14 08:46:03
【问题描述】:

我试图了解表“catalog_category_product”的“位置”列的目的是什么:

      +-------------+------------------+------+-----+---------+-------+
      | Field       | Type             | Null | Key | Default | Extra |
      +-------------+------------------+------+-----+---------+-------+
      | category_id | int(10) unsigned | NO   | PRI | 0       |       |
      | product_id  | int(10) unsigned | NO   | PRI | 0       |       |
      **| position    | int(11)          | NO   |     | 0       |       |**
      +-------------+------------------+------+-----+---------+-------+

表catalog_category_entity:

      | Field            | Type                 | Null | Key | Default |
      +----------------------+------+-----+---------+---+
      | entity_id        | int(10) unsigned     | NO   | PRI | NULL    | | 
      |entity_type_id   | smallint(5) unsigned | NO   |     | 0       |                
      | attribute_set_id | smallint(5) unsigned | NO   |     | 0       |                
      | parent_id        | int(10) unsigned     | NO   |     | 0       |                
      | created_at       | timestamp            | YES  |     | NULL    |                
      | updated_at       | timestamp            | YES  |     | NULL    |                
      | path             | varchar(255)         | NO   | MUL | NULL    |                
      **| position         | int(11)              | NO   |     | NULL    |**                
      | level            | int(11)              | NO   | MUL | 0       |                
      | children_count   | int(11)              | NO   |     | NULL    |                
      +----------------------+------+-----+---------+----------------+

【问题讨论】:

    标签: php mysql magento magento-1.9


    【解决方案1】:

    据我了解,品类中的定位有两种,一种属于品类相互对立的位置,一种是指定的产品以特定的顺序显示,这就是我认为拥有的目的位置列。

    希望我回答了你的问题。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2019-02-06
      • 1970-01-01
      • 2016-01-04
      • 2017-12-07
      • 1970-01-01
      • 1970-01-01
      • 2020-09-13
      • 1970-01-01
      相关资源
      最近更新 更多