how cant show stock on view product
-
Hello, how can I show the quantity I have available in stock in this section?
-
Hello @alexVillalobos
If you want to show the quantity in the product information you can customize the code from the below file.
This is for the latest version
packages >> Webkul >> Shop >> src >> Resources >> views >> components >> products >> card.blade.php
This file is responsible where you can get the remaining quantity and applying the code in the file of the product in the card layout section.
Thanks & Regards.
-
@Rishabh-Webkul thanks but objecto
product
not contain stock available how cant add this.
next img show object product and not contain this data
i try editProductResources
not take effect
-
Hello @alexVillalobos
Can you please share a reference video for the same this will help to resolve your query.
Thanks & Regards
-
@Rishabh-Webkul i found how put stock_available
go toProductResources
then go and find modelProduct
have one relation take id and quantity this you cant get stock for next forum need to implement, another tip if have custom theme apply this change on custom theme backend