mhauri/mhauri_sample-order
Composer 安装命令:
composer require mhauri/mhauri_sample-order
包简介
Povides a solution to order a free sample of product through the normal checkout process, configured by a custom attribute.
README 文档
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
统计信息
- 总下载量: 16
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 5
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: OSL-3.0
- 更新时间: 2014-04-11