Backward incompatible changes
In our latest release, Bagisto 1.0.0, we introduce many major changes that may affect the running functionality of external modules and packages. This topic will be highlighting about the compatibility changes from bagisto v0.2.2 to bagisto 1.0.0
As in the earlier version, there were only two types of products simple and configurable but now we have introduced more than two types i.e., virtual, downloadable, grouped, bundled. Also earlier, the product creation system was too rigid, to overcome this we have use the concept of the abstract class
abstractType.php file which needs to be extended and will contain all important basic methods related to product and their pricing. In this release, we have fetched all methods related to product and their pricing from abstract class
abstractType.php. In our previous version, there was the use of price helper now
$product->getTypeInstance() will be used appended with the method needed.
For example: to get the minimum price for a product, we can append
Below are some list of files, where changes are required to avoid compatibility issue