• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Register
  • Login
Bagisto Forum

Bagisto

  • Register
  • Login
  • Search
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups

how cant show stock on view product

General Discussion
2
5
248
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A
    alexVillalobos last edited by 1 Aug 2024, 14:11

    Hello, how can I show the quantity I have available in stock in this section?
    Screenshot 2024-08-01 101052.png

    1 Reply Last reply Reply Quote 0
    • Rishabh-Webkul
      Rishabh-Webkul last edited by Rishabh-Webkul 2 Aug 2024, 03:25 1 Aug 2024, 14:39

      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

      sdcsas.png

      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.

      1 Reply Last reply Reply Quote 0
      • A
        alexVillalobos last edited by alexVillalobos 3 Aug 2024, 17:33 3 Aug 2024, 17:18

        @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 edit ProductResources not take effect
        Screenshot 2024-08-03 131706.png

        1 Reply Last reply Reply Quote 0
        • Rishabh-Webkul
          Rishabh-Webkul last edited by 5 Aug 2024, 04:09

          Hello @alexVillalobos

          Can you please share a reference video for the same this will help to resolve your query.

          Thanks & Regards

          A 1 Reply Last reply 5 Aug 2024, 17:28 Reply Quote 0
          • A
            alexVillalobos @Rishabh-Webkul last edited by 5 Aug 2024, 17:28

            @Rishabh-Webkul i found how put stock_available
            go to ProductResources then go and find model Product 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

            1 Reply Last reply Reply Quote 0
            5 out of 5
            • First post
              5/5
              Last post