How to make a shop system similar to in-real life grocery shopping

I am a novice to Unreal Engine and I have been looking through tutorials and using some of it but it isn’t what I need as what I am trying to have is so rare.

I am trying to interact with groceries / items so I can add them into a cart which will check off the value of each item I add to the cart then once I am finished, the player goes or interact near the till to checkout the total price etc.

Here is an example of what functions I want my shop to have VShop - A Virtual Shopping World (Unreal Engine) - YouTube

Best if you split it into smaller problems. For this you might need:

  • inspect item: grab and drop.
  • player adds item to inventory (add struct to array or use a map container?)
  • widget to show current held items (struct with string, class reference?, price, etc)
  • checkout should just be add total prices and subtract from wallet, then clear the cart array / map.

Know all you need is to find those tutorials and combine them intro a shopping experience.

1 Like

Thanks for the reply, I kind of have some of this or have an idea on them now but this helps :pray: