How to create new Product type ?
Is there any possibility to add new product type ? what is the best way to add bundle type for products?
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.
Has this custom product type feature been released?
I'm looking for a booking-based product but haven't found anything yet.
admin last edited by
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.
@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?
Hi @prateek-webkul, nevermind, I had a typo on the product type definition file. Thanks.
@Rogers can you show how did you do it please? the product type code