Bagisto Forum

    Bagisto

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

    How to create new Product type ?

    General Discussion
    7
    9
    776
    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.
    • L
      latifiyll last edited by

      Is there any possibility to add new product type ? what is the best way to add bundle type for products?

      1 Reply Last reply Reply Quote 0
      • R
        rahul last edited by

        Hi @latifiyll

        Yes, you can create new product type.
        We are going to release our latest version soon. In this version, you can create bundle type of products & many more.

        Thanks

        1 Reply Last reply Reply Quote 0
        • H
          henriale last edited by

          Hi @rahul,

          Has this custom product type feature been released?
          I'm looking for a booking-based product but haven't found anything yet.

          Thanks!

          1 Reply Last reply Reply Quote 0
          • admin
            admin last edited by

            Hello @henriale

            We have been working on booking type of product and it's almost completed. The update will come soon in the upcoming version of bagisto.

            Do follow our social channels for more update Facebook, Twitter, Group

            1 Reply Last reply Reply Quote 0
            • R
              Rogers last edited by Rogers

              Hi @admin

              Can we create a new product type now? I noticed a config file "product-types.php" and there is an empty array, can I add my custom type class there? Do I need to extend the "AbstractType" Class?

              Please send some guidance.

              Thank you!

              1 Reply Last reply Reply Quote 0
              • P
                prateek-webkul last edited by

                Hii @Rogers ,

                Yes, you may create new product types, refer Create new product type.

                Thanks

                R 2 Replies Last reply Reply Quote 0
                • R
                  Rogers @prateek-webkul last edited by

                  @prateek-webkul thanks, I found it. Already have everything set. Migrations, Model (With the Proxy and Repository), but when I try to create a product it gives me an error:

                  Call to undefined method Illuminate\Foundation\Application::hasVariants()
                  

                  My product type extends AbstractType and my model implements the contract correctly. I am not sure why is giving the error. Any hint?

                  Thanks!

                  1 Reply Last reply Reply Quote 0
                  • R
                    Rogers @prateek-webkul last edited by

                    Hi @prateek-webkul, nevermind, I had a typo on the product type definition file. Thanks.

                    Y 1 Reply Last reply Reply Quote 0
                    • Y
                      yiara @Rogers last edited by

                      @Rogers can you show how did you do it please? the product type code

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post