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. 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? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.