Posted - 08/10/2021 : 16:40:51
in your query what I understand
cartCompleted=0 means not yet paid? getsessionsql() means only for the current session and it will not include previous purchased items?
but what I need is to list the "ALL" the items(including previous) in the cart table that belong to the CURRENT LOGIN customer
Example:
I purchase ItemA a month ago and I purchase again ItemB yesterday. So when I login now I will see 2 times in this url /my-items.php
Edited by - abbyeagle on 08/10/2021 16:44:09
|