C
C#2y ago
Stf

❔ ASP.net Web shop , cart . customers

I am developing shop ASP.net CORE but i am not sure how to make the buttons and "cart " , and customers
8 Replies
Kouhai
Kouhai2y ago
What do you mean fake buttons? Okay so you want to make a cart button that doesn't do anything? Well, if you just want a cart button without any cart view. Then just add the needed html/css and don't make it do anything Do you already have the functionality of adding items to a cart? Okay, then you'd need to add that first. You have to keep track of the items users add and t's quantity. Then you can easily create a cart view, and query the items in the user's cart from your database or session. I'm not sure what exactly do you mean by saw other shop with CART. Please don't send random zipped files in dms 😄 I'm still not sure what the question is 😅 The error you're showing is for Microsoft's sql server Not MySql Also, I checked the DMs, I don't know how the program is structured to tell whether that would work or not
Angius
Angius2y ago
Don't DM code, just post it here $paste
MODiX
MODiX2y ago
If your code is too long, you can post to https://paste.mod.gg/ and copy the link into chat for others to see your shared code!
Angius
Angius2y ago
Or post a link to your Github repo Also, "not sure how to make buttons and CART and customers" is exactly zero information Is the issue with structuring the database? Adding items to the cart? Retrieving them? How to style a button? How to make a button do something? How to give people ability to register? How to assign each user their cart? How to assign a user multiple carts? How to add items to a cart?
Kouhai
Kouhai2y ago
$paste
MODiX
MODiX2y ago
If your code is too long, you can post to https://paste.mod.gg/ and copy the link into chat for others to see your shared code!
Kouhai
Kouhai2y ago
It's hard to read the cod
Accord
Accord2y ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity. Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server