有誰知道我可以從哪裏開始嘗試從未註冊的用戶那裏獲取購物車信息。我希望能夠從沒有登錄的人那裏看到放棄購物車的情況。這似乎不是magento的默認功能,但我有一種感覺,它在某處的數據庫中。在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
此查詢,找到一個或兩種情況下,一些成果中丟失了結果,但顯示了Magento的廢棄車的報告。這是我試過的。
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. 跟蹤客戶在Magento中將產品添加到購物車
- 2. 購物車遺棄
- 3. 被放棄的購物車報告位於Magento?
- 4. onbeforeunload觸發購物車放棄活動
- 5. 在我的購物車應用程序中跟蹤訪問者?
- 6. Magento:添加到購物車顯示空的購物車
- 7. Magento何時考慮放棄購物車?那個時間限制在哪裏?
- 8. Magento並在購物車中分解
- 9. Magento購物車:檢查商品清空購物車
- 10. magento 2添加到購物車1下方購物車
- 11. 加入購物車Magento中的API
- 12. 被遺棄的購物車檢測
- 13. Magento添加到購物車按鈕直接到magento/index.php /結帳/購物車/頁
- 14. 如何跟蹤任何給定網站的購物車ID?
- 15. 客戶註冊購物車軟件中的錯誤
- 16. HTML5/JavaScript拖放購物車
- 17. 添加購物車上的購物車
- 18. Magento的SSL Sagepay空購物車問題
- 19. 購物車上的屬性 - Magento
- 20. Magento Ajax購物車 - 正確的方式
- 21. Magento:購物車始終是空的
- 22. Magento,我的購物車,小計
- 23. Magento TopLink緩存我的購物車(#)
- 24. Magento - Internet Explorer的購物車問題
- 25. magento購物車的自定義網址
- 26. 附屬公司如何跟蹤購物車?
- 27. 轉換跟蹤添加到購物車按鈕woocommerce
- 28. Google跟蹤代碼管理器:購物車持久性
- 29. Shopify如何檢查客戶是否放棄了購物車
- 30. 您如何知道PayPal購物車何時放棄?