mhauri / mhauri_sample-order
Povides a solution to order a free sample of product through the normal checkout process, configured by a custom attribute.
Installs: 15
Dependents: 0
Suggesters: 0
Security: 0
Stars: 5
Watchers: 3
Forks: 1
Open Issues: 0
Type:magento-module
Requires
This package is auto-updated.
Last update: 2024-11-16 03:21:01 UTC
README
This is my first free Magento extension who provides a solution to order a free sample through the normal checkout pro,,cess of any product in the catalog, configured by a custom attribute.
It doesn’t provide frontend adaptions. To make it work just add a link like /sampleorder/add/product/id/{product_id} in your template file or use the following example instead:
<?php if ($this->helper('sampleorder')->isSampleOrderAllowed($_product)) : ?> <?php $_sampleorderUrl = $this->helper('sampleorder')->getAddUrl($_product); ?> <a href="<?php echo $_sampleorderUrl ?>" class="link-sampleorder"><?php echo $this->helper('sampleorder')->__('Sample Order') ?></a> <?php endif; ?>
Donation
This extension is absolutely free to use, but if you like it I would appreciate a small donation.
Changelog
-
1.0.5
- Several bugfixes
- CE 1.9 compatible
- Fix controller filename
-
1.0.4
- Add german translations
- update attribute from type select to type boolean
- PHP Coding Standards