我正在使用Magento 1.9.4.1,我需要获取客户的废弃购物车详细信息,例如产品名称,产品链接,产品图片以及可以直接将其发送到他们的链接或按钮的详细信息购物车。
我已经搜索过Google并获得以下查询,但是我需要的详细信息不完整,请让我知道所有要查找的表名,以便向客户发送一封电子邮件,提醒他们有关其废弃购物车的信息。
谢谢。
在使用getrespnse API的过程中,还有其他线索吗?
我正在使用postgresql和python。
SELECT "main_table"."customer_id" ,CONCAT_WS(' ',
cust_fname.value, cust_lname.value) AS "customer_name"
,"cust_fname"."value" AS "firstname","cust_lname"."value" AS
"lastname ,"cust_email"."email","main_table"."entity_id"
,"main_table"."store_id","main_table"."created_at",
"main_table"."updated_at" ,"main_table"."items_count",
"main_table"."grand_total"
FROM dl_magento.sales_flat_quote AS "main_table"
INNER JOIN dl_magento.customer_entity AS "cust_email" ON
cust_email.entity_id = main_table.customer_id
INNER JOIN dl_magento.customer_entity_varchar AS
"cust_fname" ON cust_fname.entity_id =
main_table.customer_id AND cust_fname.attribute_id = 5
INNER JOIN dl_magento.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 >= '2014-06-15 00:00:00') ORDER
BY updated_at DESC
通过以下链接获得潜在客户, https://magento.stackexchange.com/questions/60888/get-all-abandoned-carts-in-magento