Page 1 of 1

Grid of Choice Details

Posted: Tue Jun 12, 2012 12:22 pm
by Caroline
Hi
Is it possible to include the 'Grid of Choice Details' in an additional tab? I've followed your instructions to move attributes and components, no problem, but in this case I just want to place the grid in a tab and keep the attribute and component drop down options on the main page.
Thanks in advance

Re: Grid of Choice Details

Posted: Tue Jun 12, 2012 11:01 pm
by norman
I don't know what you mean by "Grid of Choice Details". I searched the entire Library and there's nothing with that or a similar name there.

Re: Grid of Choice Details

Posted: Wed Jun 13, 2012 2:05 pm
by Caroline
It's a layout option when creating components, providing a cross-tabular table of, for example, prices and sizes
Product > Component > Layout

or can be found under 'Creating Product Options' in Actinic Help - tick box to 'Include a Grid of Choice Details'

Re: Grid of Choice Details

Posted: Wed Jun 13, 2012 7:09 pm
by norman
The layout you want to isolate is called "Permutation Grid". However it won't work alone so you'll need to put it inside a Component List.

Use the following code within a custom tab:

Code: Select all

<actinic:block type="ComponentList">
	<actinic:block if="%3cactinic%3avariable%20name%3d%22IsPriceGridShownForComponents%22%20%2f%3e" >
		<actinic:variable name="PermutationLayout" value="Permutation Grid" />
	</actinic:block>
</actinic:block>
And create a copy of Standard Component Layout (named "Standard Component Layout - Omit Grid") amended to remove the following code:

Code: Select all

<actinic:block if="%3cactinic%3avariable%20name%3d%22IsPriceGridShownForComponents%22%20%2f%3e" >
	<actinic:variable name="PermutationLayout" value="Permutation Grid" />
</actinic:block>
Use layout "Standard Component Layout - Omit Grid" for Components that you display the grid in a tab.