You don't have it as it's not shipped with Vendr, you are meant to implement this yourself based on your needs. It is used / is available in the demo store repo as that is an example of a Vendr integration and so that is how we chose to implement it for that site.
Yea, it's a tricky balance. We are looking at having out of the box add-ons for people who just want to tweak a basic setup which is why we have Vendr.Checkout, but we unfortunately haven't got around to the Vendr.Cart implementation yet or any helper macros for product list + product details pages.
Hopefully we can get onto those soon, but in the meantime, your only options are to start from the demo store or start from scratch I'm affraid.
Missing Controllers and files
Hi everyone,
By looking at the Vendr Demo store at https://github.com/vendrhub/vendr-demo-store/tree/main/src
I can see that I'm missing everything in the Vendr.DemoStore folder and I believe this is why the following code returns an error:
The ProductSurface controller is located in that folder which I don't have.
How come I don't have the needed files?
// Mike
Hi Mike,
You don't have it as it's not shipped with Vendr, you are meant to implement this yourself based on your needs. It is used / is available in the demo store repo as that is an example of a Vendr integration and so that is how we chose to implement it for that site.
If you want to implement your store in the same way we have the demo store you can either clone the demo store repo and use that as a starting point, or copy out any bits you want to use in your own implementation. The controller you are looking for is located here https://github.com/vendrhub/vendr-demo-store/blob/main/src/Vendr.DemoStore/Web/Controllers/ProductSurfaceController.cs
Matt
Thanks for the quick response Matt! I guess this becomes a big challenge since I'm more of a frontend developer.
I'll see if I can figure something out or perhaps sticking to TeaCommerce which already works.
Cheers!
Yea, it's a tricky balance. We are looking at having out of the box add-ons for people who just want to tweak a basic setup which is why we have Vendr.Checkout, but we unfortunately haven't got around to the Vendr.Cart implementation yet or any helper macros for product list + product details pages.
Hopefully we can get onto those soon, but in the meantime, your only options are to start from the demo store or start from scratch I'm affraid.
Matt
is working on a reply...