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

      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

        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

          @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

            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 Reply Quote 0
            • A
              alexVillalobos @Rishabh-Webkul last edited by

              @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
              • First post
                Last post