2014-11-12 9 views
0

Magento 1.4.0.1을 사용하고 있으며 많은 시간이 소요되는 매우 큰 데이터베이스를 내보내려고합니다. Magento 데이터베이스 테이블의 모든 제품을 다음 형식으로 가져올 수 있습니까?Magento 1.4x 제품 표

+--------------+-------------+-------------------+-----------------+--------+--------+-------------+------------+ 
| MainCategory | SubCategory | Brand|ProductName | FullDescription | ProdID | Weight | RetailPrice | OfferPrice | 
+--------------+-------------+-------------------+-----------------+--------+--------+-------------+------------+ 

* ProdID는 제품 ID입니다.

친절히 알려주십시오.

답변

0

Magento가 현재 버전 1.9.x이므로 기능이 1.4와 동일하지 않은지 확실하지 않지만 이후 버전에서는 시스템> 가져 오기/내보내기> 내보내기 아래에있는 내보내기 섹션 진행 창에서 드롭 다운에서 Products를 선택한 다음 내보낼 특성을 선택할 수 있습니다. 이런 식으로 데이터를 내보내고 다시 가져 오는 혼합 된 결과가 있었으며 항상 이와 같은 작업을 수행하기 위해 데이터베이스 백업/복원을 선택했습니다.

0

감사하지만 올바른 표를 찾은 것 같습니다. 여기에 내 SQL이야 : -

select psku.sku,pname.value as name,pdesc.value as description,price.value as price, 
dprice.value as wholesale_price,w.value as weight, 
m.value as image_name 
from catalog_product_entity_varchar pname 
left join catalog_product_entity psku on pname.entity_id = psku.entity_id 
right join catalog_product_entity_text pdesc on psku.entity_id = pdesc.entity_id 
right join catalog_product_entity_decimal price on pdesc.entity_id = price.entity_id 
right join catalog_product_entity_decimal dprice on dprice.entity_id = price.entity_id 
right join catalog_product_entity_varchar w on w.entity_id = dprice.entity_id 
right join catalog_product_entity_media_gallery m on m.entity_id = dprice.entity_id 
where 
pname.attribute_id = 96 and 
psku.entity_type_id = 10 and 
pdesc.attribute_id = 97 and 
price.attribute_id = 99 and 
dprice.attribute_id = 567 and 
w.attribute_id = 964 
;