2017 © Pedro Peláez
 

magento-module mbiz_optionsystemcode

Magento 1 module which adds a system code to every product option.

image

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

The README.md

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;
}

The Versions

10/04 2017

dev-master

9999999-dev

Magento 1 module which adds a system code to every product option.

  Sources   Download

MIT

10/04 2017

0.1.3

0.1.3.0

Magento 1 module which adds a system code to every product option.

  Sources   Download

MIT

30/11 2016

0.1.2

0.1.2.0

Magento 1 module which adds a system code to every product option.

  Sources   Download

MIT

20/09 2016

0.1.1

0.1.1.0

Magento 1 module which adds a system code to every product option.

  Sources   Download

MIT

20/09 2016

0.1.0

0.1.0.0

Magento 1 module which adds a system code to every product option.

  Sources   Download

MIT