Hi, is it possible to create a module that extend another module?
I wanna extend ProductVariant model from ProductVariants module and i keep getting :
Class "XLite\Module\Grempels\Restfully\Model\ProductVari ant" sub class of "XLite\Module\XC\ProductVariants\Model\ProductVari antAbstract" is not a valid entity or mapped super class.
PHP Code:
namespace XLite\Module\Grempels\Restfully\Model;
class ProductVariant extends \XLite\Module\XC\ProductVariants\Model\ProductVariant implements \XLite\Base\IDecorator
{
public function getProductId()
{
return $this->getProduct()->getProductId();
}
}
And why
ProductVariantAbstract ? I extend ProductVariant.