Home > Database > Mysql Tutorial > yii2 Ecommerce

yii2 Ecommerce

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-07 15:17:39
Original
1224 people have browsed it

1. magento数据迁移过来 sh syncCategoryAndProduct.sh 执行前 1.去吧远程主机的iptables关掉 2.把图片拷贝到本地(在线加载太慢) 执行后: 所有的分类,产品数据都保存了,然后需要到后台分类那里新建一个id为1的root分类 Update | Delete | New Field | D


1. magento数据迁移过来

sh  syncCategoryAndProduct.sh  
Copy after login

执行前

        1.去吧远程主机的iptables关掉

        2.把图片拷贝到本地(在线加载太慢)

执行后:

       所有的分类,产品数据都保存了,然后需要到后台分类那里新建一个id为1的root分类

 	
Update | Delete | New Field | Duplicate | Refresh | Text | Collapse	
{
   "_id": 1,
   "name": {
     "en_name": "root",
     "fr_name": "root",
     "de_name": "root",
     "it_name": "root",
     "es_name": "root"
  },
   "parent_id": NumberLong(0),
   "status": NumberLong(1)
}	
Copy after login


2.迁移完成后需要跑索引

sh  processCategory.sh    #执行  分类的级别,分类中产品的个数,以及分类对应的相关分类等

sh  processFullTextProductSearch.sh    # 这个是根据不同的语言,跑出来对应的  全文检索表

sh processProductFilter.sh   # 这个是产品属性过滤索引

sh processProductStock.sh  #这个是产品库存索引

sh processUrlRewrite.sh    # 这个是所有的url重写索引
Copy after login

































Related labels:
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Issues
yii2 error connecting to mongodb3.2.4
From 1970-01-01 08:00:00
0
0
0
How to use mongodb to do rbac in yii2
From 1970-01-01 08:00:00
0
0
0
php - yii2-ueditor-widget
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template