magento-module mbiz_optionsystemcode
Magento 1 module which adds a system code to every product option.
monsieurbiz/mbiz_optionsystemcode
Magento 1 module which adds a system code to every product option.
- Monday, April 10, 2017
- by jacquesbh
- Repository
- 1 Watchers
- 0 Stars
- 5 Installations
- HTML
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 5 Versions
- 0 % Grown
Mbiz_OptionSystemCode
This module allows you to add a "system code" to every option., (*1)
It is really useful if you want to display an option a different way., (*2)
Example:, (*3)
<?php if ($_option->getSystemCode() === 'my-code'): ?>
<p>This option is special.</p>
<?php endif; ?>
These "system codes" SHOULD be defined with your team., (*4)
It also can be used to identify an option with ease, to perform some operations by example:, (*5)
switch ($option->getSystemCode()) {
case 'my-code':
// TODO
break;
case 'my-other-code':
// TODO
break;
}
dev-master
9999999-dev
Magento 1 module which adds a system code to every product option.
Sources
Download
MIT
0.1.3
0.1.3.0
Magento 1 module which adds a system code to every product option.
Sources
Download
MIT
0.1.2
0.1.2.0
Magento 1 module which adds a system code to every product option.
Sources
Download
MIT
0.1.1
0.1.1.0
Magento 1 module which adds a system code to every product option.
Sources
Download
MIT
0.1.0
0.1.0.0
Magento 1 module which adds a system code to every product option.
Sources
Download
MIT