liip / liip-magento-shared
Shared Magento Extension
Installs: 9
Dependents: 0
Suggesters: 0
Security: 0
Stars: 4
Watchers: 60
Forks: 0
Type:magento-module
Requires
This package is auto-updated.
Last update: 2024-12-12 20:21:06 UTC
README
A Magento module containing recurring methods we have been using in most projects.
Features
- Extended set of attribute manipulation methods for the installer (sql setup)
- Connection class to download files
- Adds a
reference
field to attribute options for improved linking of imported values - Many methods to handle attributes and their options
- Full page caching container classes (EE only) for: disabling / cookie-based / per-customer / per-session
- Proper URL umlaut replacements (รค: ae)
- Rounding of price to 0.05 (hardcoded)
- Various helpers
Installation
Add repository to composer.json
{
"repositories": [
{
"type": "composer",
"url": "http://packages.firegento.com"
}
],
"require": {
"liip/liip-magento-shared": "1.*",
},
"extra":{
"magento-root-dir": "./"
}
}
Install package through composer
$ ./composer.phar install
Usage
The module renames its Magento namespace as liip
. Therefore, you access models and helpers
as Mage::getModel('liip/connection_curl')
or Mage::helper('liip')
.
Use the Setup class in your module
In your module's config.xml
, specify the new setup class
<global>
<resources>
<mymodule_setup>
<setup>
<module>Liip_Shared</module>
<class>Liip_Shared_Model_Resource_Setup</class>
</setup>
</mymodule_setup>
</resources>
</global>