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

Bagisto

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

How to create new Product type ?

General Discussion
7
9
827
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 16 Sept 2019, 12:25

    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 16 Sept 2019, 12:30

      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
      • 6 months later
      • H
        henriale last edited by 8 Mar 2020, 14:11

        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 9 Mar 2020, 08:10

          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 14 Mar 2020, 11:19 13 Mar 2020, 21:52

            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 16 Mar 2020, 04:24

              Hii @Rogers ,

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

              Thanks

              R 2 Replies Last reply 16 Mar 2020, 18:16 Reply Quote 0
              • R
                Rogers @prateek-webkul last edited by 16 Mar 2020, 13:27

                @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 16 Mar 2020, 18:16

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

                  Y 1 Reply Last reply 8 Jun 2021, 20:58 Reply Quote 0
                  • about a year later
                  • Y
                    yiara @Rogers last edited by 8 Jun 2021, 20:58

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

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