Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F823498
shipping_options.elm.tpl
No One
Temporary
Actions
Download 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
Sun, Mar 9, 7:30 PM
Size
9 KB
Mime Type
text/html
Expires
Tue, Mar 11, 7:30 PM (1 d, 5 h)
Engine
blob
Format
Raw Data
Handle
585711
Attached To
rTADV Themes.Advanced
shipping_options.elm.tpl
View Options
<
inp2:m_DefineElement
name
=
"order_shipping_type"
>
<
option
<
inp2:m_param
name
=
"selected"
/>
value="
<
inp2:m_param
name
=
"ShippingId"
/>
">
<
inp2:m_param
name
=
"ShippingName"
/>
(
<
inp2:m_if
check
=
"m_param"
name
=
"ShippingFree"
value
=
"1"
><
inp2:m_Phrase
label
=
"lu_comm_FreeShipping"
/><
inp2:m_else
/><
inp2:m_param
name
=
"TotalCost"
/></
inp2:m_if
>
)
</
option
>
</
inp2:m_DefineElement
>
<
inp2:m_include
template
=
"in-commerce/elements/options_blocks.elm"
/>
<
inp2:m_DefineElement
name
=
"shipping_group_item"
>
<
inp2:Field
name
=
"ProductName"
/><
inp2:m_if
check
=
"ord_BackorderFlag"
>
<
span
class
=
"backordered-product"
><
inp2:m_phrase
label
=
"lu_cart_BackorderFlag"
/></
span
></
inp2:m_if
><
br
/>
<
inp2:m_if
check
=
"HasOptions"
>
<
br
/>
<
span
style
=
"font-size: 8pt"
>
<
inp2:m_if
check
=
"DisplayOptionsPricing"
>
<!-- selectable options or overriding combination -->
<
inp2:PrintOptions
render_as
=
"option_element"
currency
=
"selected"
/>
<
inp2:m_else
/>
<!-- listed combinations -->
<
inp2:PrintOptions
render_as
=
"option_element_no_price"
/>
</
inp2:m_if
>
<
inp2:m_if
check
=
"FieldEquals"
field
=
"OptionsSelectionMode"
value
=
"0"
>
<!-- selectable options -->
<
a
href
=
"<inp2:m_link template="
__default__
"
pass
=
"m,p,orditems"
/>
">
<
inp2:m_Phrase
label
=
"lu_comm_edit_options"
/></
a
><
br
/>
</
inp2:m_if
>
</
span
>
</
inp2:m_if
>
</
inp2:m_DefineElement
>
<
inp2:m_DefineElement
name
=
"order_shipment"
>
<
tr
class
=
"cart-item"
>
<
td
class
=
"shopping-cart-cell-item-padding"
><
inp2:m_param
name
=
"shipment"
/><
br
/>
<
b
><
inp2:m_Phrase
label
=
"lu_Items"
/>
:
</
b
><
br
/>
<
inp2:ord_PrintCart
item_render_as
=
"shipping_group_item"
requery
=
"1"
package_num
=
"
$
package_num"
product_type
=
"1"
/>
</
td
>
<
td
class
=
"shopping-cart-cell-item-padding"
><
inp2:m_param
name
=
"items"
/></
td
>
<
td
class
=
"shopping-cart-cell-item-padding"
><
inp2:m_param
name
=
"weight"
/></
td
>
<
td
class
=
"shopping-cart-cell-item-padding"
>
<
select
class
=
"input-select"
name
=
"<inp2:m_param name="
field_name
"
/>
">
<
inp2:ord_PrintShippingTypes
render_as
=
"order_shipping_type"
currency
=
"selected"
/>
</
select
>
</
td
>
</
tr
>
<
tr
>
<
td
colspan
=
"4"
>
<
div
class
=
"horizontal-separator"
><
img
src
=
"<inp2:m_TemplatesBase module="
In-Portal
"
/>
img/s.gif" width="1" height="1" alt="" />
</
div
>
</
td
>
</
tr
>
</
inp2:m_DefineElement
>
<
inp2:m_DefineElement
name
=
"no_shipments"
>
<
div
class
=
"field-error"
><
inp2:m_Recall
name
=
"usps_errors"
/></
div
>
<
inp2:m_Phrase
label
=
"lu_comm_ErrorNoShippingTypes"
/>
(
<
a
href
=
"mailto:<inp2:conf_ConfigValue name="
Comm_Contacts_Email
"
/>
">
<
inp2:conf_ConfigValue
name
=
"Comm_Contacts_Email"
/></
a
>
).
</
inp2:m_DefineElement
>
<
inp2:m_DefineElement
name
=
"shippings_table_header"
>
<
table
width
=
"100%"
>
<
tr
>
<
td
colspan
=
"4"
>
<
div
class
=
"horizontal-separator"
><
img
src
=
"<inp2:m_TemplatesBase module="
In-Portal
"
/>
img/s.gif" width="1" height="1" alt="" />
</
div
>
</
td
>
</
tr
>
<
tr
class
=
"sub-section-header"
>
<
td
><
inp2:m_Phrase
label
=
"lu_ship_Shipment"
/></
td
>
<
td
><
inp2:m_Phrase
label
=
"lu_ship_ItemsNumber"
/></
td
>
<
td
><
inp2:m_Phrase
label
=
"lu_ship_ShippingWeight"
/></
td
>
<
td
><
inp2:m_Phrase
label
=
"lu_ship_ShippingType"
/></
td
>
</
tr
>
<
tr
>
<
td
colspan
=
"4"
>
<
div
class
=
"horizontal-separator"
><
img
src
=
"<inp2:m_TemplatesBase module="
In-Portal
"
/>
img/s.gif" width="1" height="1" alt="" />
</
div
>
</
td
>
</
tr
>
<
inp2:m_if
check
=
"ord_CartHasBackorders"
>
<
strong
><
inp2:m_Phrase
label
=
"lu_comm_Note"
/>
:
</
strong
>
<
inp2:m_Phrase
label
=
"lu_comm_YouHaveBackorderedItems"
/>
<
br
/>
<
inp2:m_DefineElement
name
=
"order_option"
>
<
input
onclick
=
"document.getElementById('events[ord][OnUpdate]').click();"
type
=
"radio"
<
inp2:m_param
name
=
"checked"
/>
name="
<
inp2:m_param
name
=
"field_name"
/>
"
id="
<
inp2:m_param
name
=
"field_name"
/>
_
<
inp2:m_param
name
=
"key"
/>
" value="
<
inp2:m_param
name
=
"key"
/>
">
<
label
for
=
"<inp2:m_param name="
field_name
"
/>
_
<
inp2:m_param
name
=
"key"
/>
">
<
inp2:m_phrase
label
=
"
$
option"
/>
</
label
>
<
br
/>
</
inp2:m_DefineElement
>
<
inp2:ord_PredefinedOptions
field
=
"ShippingOption"
render_as
=
"order_option"
selected_param
=
"checked"
selected
=
"checked=\"
checked
\""
/>
<
br
/>
</
inp2:m_if
>
<
inp2:m_if
check
=
"m_GetEquals"
var
=
"shipping_limitations_apply"
value
=
"0"
><
inp2:m_else
/>
<
strong
><
inp2:m_Phrase
label
=
"lu_comm_Note"
/>
:
</
strong
>
<
inp2:m_if
check
=
"m_GetEquals"
var
=
"shipping_limitations_apply"
value
=
"1"
>
<
inp2:m_Phrase
label
=
"lu_comm_ShippingTypesLimitationApply"
/><
br
/>
<
input
type
=
"hidden"
name
=
"<inp2:ord_InputName field="
ShippingGroupOption
"
/>
" id="
<
inp2:ord_InputName
field
=
"ShippingGroupOption"
/>
" value="
<
inp2:ord_Field
name
=
"ShippingGroupOption"
db
=
"1"
/>
" />
<
input
onclick
=
"document.getElementById('<inp2:ord_InputName field="
ShippingGroupOption
"
/>
').value = this.checked ? 1:0; document.getElementById('events[ord][OnUpdate]').click();" type="checkbox"
<
inp2:m_param
name
=
"checked"
/>
name="cb_
<
inp2:ord_InputName
field
=
"ShippingGroupOption"
/>
"
id="cb_
<
inp2:ord_InputName
field
=
"ShippingGroupOption"
/>
" value="1"
<
inp2:ord_Field
name
=
"ShippingGroupOption"
db
=
"1"
checked
=
"checked"
/>
/>
<
label
for
=
"cb_<inp2:ord_InputName field="
ShippingGroupOption
"
/>
">
<
inp2:m_phrase
label
=
"lu_AdjustShippingManually"
/>
</
label
>
<
br
/>
<
inp2:m_else
/>
<!-- Order canNOT be shipped with single shipping type -->
<
inp2:m_Phrase
label
=
"lu_comm_ShippingTypesLimitationApply_CantSingleShip"
/><
br
/>
<
input
type
=
"hidden"
name
=
"<inp2:ord_InputName field="
ShippingGroupOption
"
/>
" value="1" />
</
inp2:m_if
>
</
inp2:m_if
>
</
inp2:m_DefineElement
>
<
inp2:m_DefineElement
name
=
"products_total"
>
<
tr
class
=
"cart-subtotal"
>
<
td
>
</
td
>
<
td
>
</
td
>
<
td
style
=
"text-align: right"
>
<
strong
><
inp2:m_Phrase
label
=
"lu_comm_ProductsTotal"
/>
:
</
strong
>
</
td
>
<
td
>
<
inp2:ord_Field
name
=
"SubTotal"
currency
=
"selected"
/>
</
td
>
</
tr
>
</
inp2:m_DefineElement
>
<
inp2:m_DefineElement
name
=
"processing_total"
>
<
tr
class
=
"cart-subtotal"
>
<
td
>
</
td
>
<
td
>
</
td
>
<
td
style
=
"text-align: right"
>
<
strong
><
inp2:m_Phrase
label
=
"lu_comm_ProcessingFee"
/>
:
</
strong
>
</
td
>
<
td
>
<
inp2:ord_Field
name
=
"ProcessingFee"
currency
=
"selected"
/>
</
td
>
</
tr
>
</
inp2:m_DefineElement
>
<
inp2:m_DefineElement
name
=
"sub_total"
>
<
tr
>
<
td
>
</
td
>
<
td
>
</
td
>
<
td
align
=
"right"
class
=
"shopping-cart-cell-item-padding"
>
<
strong
><
inp2:m_Phrase
label
=
"lu_comm_SubTotal"
/>
:
</
strong
>
</
td
>
<
td
class
=
"shopping-cart-cell-item-padding"
>
<
span
class
=
"price1"
><
inp2:ord_Field
name
=
"AmountWithoutVAT"
currency
=
"selected"
/></
span
>
</
td
>
</
tr
>
</
inp2:m_DefineElement
>
<
inp2:m_DefineElement
name
=
"vat_total"
>
<
tr
>
<
td
>
</
td
>
<
td
>
</
td
>
<
td
class
=
"shopping-cart-cell-item-padding"
align
=
"right"
>
<
strong
><
inp2:m_Phrase
label
=
"lu_comm_VAT"
/>
<
inp2:ord_Field
name
=
"VATPercent"
/>
%:
</
strong
>
</
td
>
<
td
class
=
"shopping-cart-cell-item-padding"
>
<
span
class
=
"price1"
><
inp2:ord_Field
name
=
"VAT"
currency
=
"selected"
/></
span
>
</
td
>
</
tr
>
</
inp2:m_DefineElement
>
<
inp2:m_DefineElement
name
=
"shippings_table_footer"
>
<
tr
>
<
td
class
=
"shopping-cart-cell-item-padding"
>
<
input
class
=
"button"
type
=
"submit"
name
=
"events[ord][OnUpdate]"
value
=
"<inp2:m_Phrase label="
lu_comm_UpdateShipping
"
no_editing
=
"1"
/>
"/>
<
br
/>
</
td
>
<
td
>
</
td
>
<
td
class
=
"shopping-cart-cell-item-padding"
style
=
"text-align: right"
>
<
strong
><
inp2:m_Phrase
label
=
"lu_comm_ShippingTotal"
/>
:
</
strong
>
</
td
>
<
td
class
=
"shopping-cart-cell-item-padding"
>
<
inp2:ord_Field
name
=
"ShippingCost"
currency
=
"selected"
/>
</
td
>
</
tr
>
<
tr
class
=
"cart-subtotal"
>
<
td
>
</
td
>
<
td
>
</
td
>
<
td
style
=
"text-align: right"
>
<
strong
><
inp2:m_Phrase
label
=
"lu_comm_Insurance_Fee"
/>
:
</
strong
>
</
td
>
<
td
class
=
"shopping-cart-cell-item-padding"
>
<
inp2:ord_Field
name
=
"InsuranceFee"
currency
=
"selected"
/>
</
td
>
</
tr
>
<
inp2:ord_PrintTotals
products_render_as
=
"products_total"
processing_render_as
=
"processing_total"
sub_total_render_as
=
"sub_total"
vat_render_as
=
"vat_total"
/>
<
inp2:m_if
check
=
"ord_Field"
name
=
"GiftCertificateId"
>
<
tr
>
<
td
>
</
td
>
<
td
>
</
td
>
<
td
class
=
"shopping-cart-cell-item-padding"
align
=
"right"
>
<
strong
><
inp2:m_Phrase
label
=
"lu_comm_Gift_Certificate"
/>
:
</
strong
>
</
td
>
<
td
class
=
"shopping-cart-cell-item-padding"
>
<
span
class
=
"price1"
><
inp2:ord_Field
name
=
"GiftCertificateDiscount"
currency
=
"selected"
/></
span
>
</
td
>
</
tr
>
</
inp2:m_if
>
<
tr
class
=
"cart-subtotal order-grand-total"
>
<
td
>
</
td
>
<
td
>
</
td
>
<
td
class
=
"shopping-cart-cell-item-padding"
align
=
"right"
>
<
inp2:m_Phrase
label
=
"lu_comm_GrandTotal"
/>
:
</
td
>
<
td
class
=
"shopping-cart-cell-item-padding"
>
<
inp2:ord_Field
name
=
"TotalAmount"
currency
=
"selected"
/>
</
td
>
</
tr
>
<
tr
>
<
td
>
</
td
>
<
td
>
</
td
>
<
td
>
</
td
>
<
td
class
=
"shopping-cart-cell-item-padding"
>
<
input
type
=
"hidden"
name
=
"next_step_template"
value
=
"in-commerce/checkout/billing"
>
<
input
type
=
"submit"
name
=
"events[ord][OnProceedToBilling]"
value
=
"<inp2:m_Phrase label="
lu_comm_ProceedToBilling
"
no_editing
=
"1"
/>
" class="button">
</
td
>
</
tr
>
</
table
>
</
inp2:m_DefineElement
>
<
inp2:m_RenderElement
design
=
"content_box"
>
<
inp2:m_Capture
to_var
=
"header"
>
<
inp2:m_Phrase
label
=
"lu_title_ShippingOptions"
/>
</
inp2:m_Capture
>
<
inp2:m_if
check
=
"ord_AddressValid"
type
=
"shipping"
>
<
inp2:ord_PrintShippings
render_as
=
"order_shipment"
currency
=
"selected"
no_shipments_render_as
=
"no_shipments"
table_header_render_as
=
"shippings_table_header"
table_footer_render_as
=
"shippings_table_footer"
/>
<
inp2:m_else
/>
<
inp2:m_Phrase
label
=
"lu_comm_ErrorInvalidShippingAddress"
/>
.
</
inp2:m_if
>
</
inp2:m_RenderElement
>
Event Timeline
Log In to Comment