...
Once this is in place, you can use more of the 1.5 API's goodness, such as the Context. You can also prevent code from being used under PrestaShop 1.4 as long as the Backward Compatibility module is not available:
Code Block |
---|
/* If 1.4 and no backward, then leave */
if (!$this->backward)
return; |