미등록 사용자가 장바구니 정보를 얻을 수있는 곳을 아는 사람이 있습니까? 로그인하지 않은 사람들로부터 포기한 수레를 볼 수 있기를 원합니다. 이것은 magento의 기본 기능인 것 같지 않지만 어딘가에있는 DB에있는 느낌이 들었습니다.Magento의 미등록 포기 카트 추적
0
A
답변
0
에 저장되며,이 내가 데이터베이스에서 직접 카트 항목을 포기 얻기를위한 해낸 SQL 쿼리입니다. 당신은 내가 체크 한 날짜
SELECT quote_id, sku, qty, price, custom_price, row_total, created_at, product_id, store_id
FROM mage_sales_flat_quote_item
WHERE created_at > "2011-04-01"
AND quote_id NOT IN (SELECT quote_item_id AS quote_id FROM mage_sales_flat_order_item)
AND store_id IS NOT NULL
1
모든 따옴표가 sales_flat_quote 테이블 아무도 관심이 경우
0
이 쿼리를 변경하고 어떤 결과가 결과에서 누락하지만 젠토 포기 카트 보고서에 표시되는 하나 또는 두 개의 사례를 발견해야합니다. 여기 내가 시도한 것이있다.
SELECT entity_id, customer_firstname, customer_email, items_count, grand_total, created_at
FROM sales_flat_quote
WHERE entity_id NOT IN (SELECT quote_item_id AS quote_id FROM sales_flat_order_item)
AND items_count >0
AND customer_email IS NOT NULL
ORDER BY `sales_flat_quote`.`created_at` DESC
0
이것은 더 비슷합니다.
SELECT `main_table`.*, GROUP_CONCAT(item.sku) AS `skus`, (main_table.base_subtotal_with_discount*main_table.base_to_global_rate) AS `subtotal`, `cust_email`.`email`, `cust_fname`.`value` AS `firstname`, `cust_lname`.`value` AS `lastname`, CONCAT_WS(' ', cust_fname.value, cust_lname.value) AS `customer_name` FROM `sales_flat_quote` AS `main_table`
INNER JOIN `sales_flat_quote_item` AS `item` ON item.quote_id = main_table.entity_id
INNER JOIN `customer_entity` AS `cust_email` ON cust_email.entity_id = main_table.customer_id
INNER JOIN `customer_entity_varchar` AS `cust_fname` ON cust_fname.entity_id = main_table.customer_id AND cust_fname.attribute_id = 5
INNER JOIN `customer_entity_varchar` AS `cust_lname` ON cust_lname.entity_id = main_table.customer_id AND cust_lname.attribute_id = 7 WHERE (items_count != '0') AND (main_table.is_active = '1') AND (main_table.created_at >= '2013-02-04 00:00:00' AND main_table.created_at <= '2013-02-04 24:00:00') AND (main_table.updated_at >= '2013-02-04 00:00:00' AND main_table.updated_at <= '2013-02-04 24:00:00') GROUP BY `item`.`quote_id` ORDER BY updated_at DESC
관련 문제
- 1. 쇼핑 카트 포기
- 2. Magento의 사이드 바에 카트 링크 (항목 수가 포함) 추가
- 3. Magento의 맞춤 이벤트
- 4. 루트 권한을 포기 하시겠습니까?
- 5. 젠토 카트
- 6. 선택한 제품을 보내는 방법 사용자 지정 옵션 SKU 필드를 Magento의 카트 페이지로
- 7. 몇 분 후에 GPS를 '포기'- 안드로이드
- 8. getProductAdditionalInformationBlock for magento의 사용 사례
- 9. 빠르고 쉬운 쇼핑 카트
- 10. CodeIgniter 카트 ID + 옵션
- 11. Cakephp 쇼핑 카트
- 12. Ubercart에서 열린 카트 퍼지
- 13. 쇼핑 카트 iphone 앱
- 14. ASP.NET 쇼핑 카트
- 15. 젠 카트 색상 선택기
- 16. Ubercart 카트 레이아웃
- 17. 가상 마스터 카트 타이머
- 18. 쇼핑 카트 문제
- 19. cs 카트 파일 구조
- 20. jQuery 쇼핑 카트
- 21. 쇼핑 카트 $ _SESSION 문제
- 22. cs 카트 파일 경로
- 23. 웹 상점 (쇼핑 카트)
- 24. 젠토 카트 체크 아웃 (주문 검토) 우리는 화면의 오른쪽 중간을 향해 다음 합계 상자를 볼 수있는 Magento의 기본 테마의 <em>카트</em> 페이지에서
- 25. 질문 magento의 관련 카테고리
- 26. Magento의 맞춤형 제품 사례?
- 27. Magento의 Cufon 관련 문제
- 28. Magento의 카테고리로 필터링하기 1.4
- 29. Magento의 스토어마다 다른 SKU
- 30. 배열을 Magento의 컬렉션으로 변환