Roshan Bhavsar Posted October 15, 2022 Share Posted October 15, 2022 Hello Team, I'm newbie in Prestashop and using a prestashop 1.7. I need a query which will gives only Abandoned Cart details. I'm trying to get the query for Abandoned cart, So printed the query available in the AdminCartsController.php. I've tried a bunch of different options but nothing seems to work. Every help will be appreciated. Thanks Link to comment Share on other sites More sharing options...
ps8modules Posted October 30, 2022 Share Posted October 30, 2022 Hi. Abandoned cart SQL sample: SELECT t1.*, t3.* FROM ps_cart t1 LEFT JOIN ps_orders t2 ON (t2.id_cart = t1.id_cart) LEFT JOIN ps_cart_product t3 ON (t3.id_cart = t1.id_cart) WHERE t2.id_cart IS NULL 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now