Best Answer Kess , 20 December 2013 - 07:23
First go to the item type editing screen and copy the id of an element which you want to use as a condition:
Then in the full.php you can do the following:
$osvalue = $item->getElement('487a4095-5e4f-4156-892e-ad77a6174d73')->getElementData()->get('option');
if (in_array("windows", $osvalue)) {
echo "It's here";
}
else {
echo "It's not here";
}
Of course, instead of echo you should put there something more useful. Like an output of a position from your item type, for example. Same as in the previous examples.
Go to the full post


This topic is locked







