Hi, i have wix store in my website and i made a button in product page that when user click it, it insert the user’s id and the productid into database named :“Purchases”.
Now i made it successfully and it does really insert it.
My question is : i created purchases database with columns : ProductID , CustomerID.
this is the insert code:
but when it insert to the database, Which i check from the dashboard, it inserts it to new columns which is : {ProductID} and {CustomerID}
This is what i mean:
the ProductID is empty, it inserts it to new column {ProductID}.
i might be doing something wrong because im not pointing to the existing productid and customerid columns, im pointing to a new columns instead.
so how would i change it ?
Regards