Search code examples
c#aspdotnetstorefront

Customize product page in ASPDNSF


I am new to aspdotnetstorefront. I just installed a vanila website and connected with my database.

How to customize it or where can I learn how to customize it.

Ex:

enter image description here

Here I want that If there is 0 Inventory , change 'InStock' to 'OutOfStock' and hide AddToCart Button.

Can anyone give an example how to do it? I am a c# programmer.


Solution

  • If this is a vanilla site its not that difficult to do.

    Within your admin portal go to Configuration>Inventory Control

    Change Out of stock threshold to a value of 0

    and "Out of stock" message on product pages: to Out of Stock

    You can hide products that have a quantity of 0 buy using the Hide products with less than this inventory level