Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F1034333
options_blocks.elm.tpl
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sat, Jun 21, 2:10 PM
Size
1 KB
Mime Type
text/plain
Expires
Mon, Jun 23, 2:10 PM (1 h, 27 m)
Engine
blob
Format
Raw Data
Handle
668484
Attached To
rTADV Themes.Advanced
options_blocks.elm.tpl
View Options
<!--## PRODUCT OPTIONS ELEMENTS ##-->
<
inp2:m_DefineElement
name
=
"option_value_element"
>
<
inp2:m_param
name
=
"value"
/>
<
inp2:m_if
check
=
"m_ParamEquals"
name
=
"price"
value
=
""
><
inp2:m_else
/>
(
<
inp2:m_param
name
=
"sign"
/><
inp2:m_param
name
=
"price"
/>
<
inp2:m_param
name
=
"price_type"
/>
)
</
inp2:m_if
>
<
inp2:m_if
check
=
"m_ParamEquals"
name
=
"is_last"
value
=
"1"
><
inp2:m_else
/>
,
</
inp2:m_if
>
</
inp2:m_DefineElement
>
<
inp2:m_DefineElement
name
=
"option_element"
>
<
inp2:m_if
check
=
"m_ParamEquals"
param
=
"type"
value
=
"6"
>
<!-- checkboxes - multiple -->
<
strong
><
inp2:m_param
name
=
"option"
/>
:
</
strong
>
<
inp2:PrintOptionValues
render_as
=
"option_value_element"
currency
=
"selected"
/>
<
inp2:m_else
/>
<
strong
><
inp2:m_param
name
=
"option"
/>
:
</
strong
>
<
inp2:m_param
name
=
"value"
/>
<
inp2:m_if
check
=
"m_ParamEquals"
name
=
"price"
value
=
""
><
inp2:m_else
/>
(
<
inp2:m_param
name
=
"sign"
/><
inp2:m_param
name
=
"price"
/>
<
inp2:m_param
name
=
"price_type"
/>
)
</
inp2:m_if
>
</
inp2:m_if
><
br
/>
</
inp2:m_DefineElement
>
<
inp2:m_DefineElement
name
=
"option_value_element_no_price"
>
<
inp2:m_param
name
=
"value"
/>
<
inp2:m_if
check
=
"m_ParamEquals"
name
=
"is_last"
value
=
"1"
><
inp2:m_else
/>
,
</
inp2:m_if
>
</
inp2:m_DefineElement
>
<
inp2:m_DefineElement
name
=
"option_element_no_price"
>
<
inp2:m_if
check
=
"m_ParamEquals"
param
=
"type"
value
=
"6"
>
<!-- checkboxes - multiple -->
<
strong
><
inp2:m_param
name
=
"option"
/>
:
</
strong
>
<
inp2:PrintOptionValues
render_as
=
"option_value_element_no_price"
/>
<
inp2:m_else
/>
<
strong
><
inp2:m_param
name
=
"option"
/>
:
</
strong
>
<
inp2:m_param
name
=
"value"
/>
</
inp2:m_if
><
br
/>
</
inp2:m_DefineElement
>
<!--## /PRODUCT OPTIONS ELEMENTS ##-->
Event Timeline
Log In to Comment