I’m new to the EcommerceFrameworkBundle and currently trying to install it and creating a product index with one attribute productName. I added a config for the bundle like in the demo-ecommerce project and tried to adapt it to my installation/needs.
My Product class does not have the id Product but MyCompanyProduct and I would like to map it so the EcommerceFrameworkBundle can work with it.
In the class editor in pimcore backend I set parent class of MyCompanyProduct to \Pimcore\Bundle\EcommerceFrameworkBundle\Model\AbstractProduct.
When I try to create the product index via command line the IndexUpdater throws an exception (line 47) Attempted to load class “Listing” from namespace “\Pimcore\Model\DataObject\Product”. Did you forget a use statement …
So my question is: How do I configure the EcommerceFrameworkBundle to work with my own product class? Did I miss something?
Thank you in advance