SHERWINCERIA123 Posted December 4, 2018 Share Posted December 4, 2018 global $dal; $record = $button->getCurrentRecord(); { $sql = "insert into `ItemUsershoppinglist1` (`UserMail`, `DTransaction`, `PkItemCode`, `Barcode`, `Qty`) values ('".$_SESSION['UserMail']."', now(), '".$record[PkItemCode]."', '".$record[Barcode]."', 1)" ; CustomQuery($sql); } $result["txt"] = "Product was added to Cart"; Can you correct this code. im using this for Button add cart. Quote Link to comment Share on other sites More sharing options...
Barand Posted December 4, 2018 Share Posted December 4, 2018 Why do you believe it needs correcting? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.