11 <div
id=
"packaging_window">
12 <div
class=
"message message-warning" style=
"display: none"></div>
13 <section
class=
"admin__page-section" id=
"package_template" style=
"display:none;">
14 <div
class=
"admin__page-section-title">
16 <?=
__(
'Package') ?> <span data-role=
"package-number"></span>
18 <div
class=
"actions _primary">
19 <button type=
"button" class=
"action-secondary" data-action=
"package-save-items" onclick=
"packaging.packItems(this);">
20 <span><?=
__(
'Add Selected Product(s) to Package') ?></span>
22 <button type=
"button" class=
"action-secondary" data-action=
"package-add-items" onclick=
"packaging.getItemsForPack(this);">
23 <span><?=
__(
'Add Products to Package') ?></span>
27 <div
class=
"admin__control-table-wrapper admin__page-subsection">
28 <table
class=
"data-table admin__control-table">
31 <th
class=
"col-type"><?=
__(
'Type') ?></th>
33 <th
class=
"col-size"><?=
__(
'Size') ?></th>
34 <th
class=
"col-girth"><?=
__(
'Girth') ?></th>
37 <th
class=
"col-custom" <?=
$block->displayCustomsValue() ?
'' :
'style="display: none;"' ?>>
38 <?=
__(
'Customs Value') ?>
40 <th
class=
"col-total-weight"><?=
__(
'Total Weight') ?></th>
41 <th
class=
"col-length"><?=
__(
'Length') ?></th>
42 <th
class=
"col-width"><?=
__(
'Width') ?></th>
43 <th
class=
"col-height"><?=
__(
'Height') ?></th>
45 <?php
if (
$block->getDeliveryConfirmationTypes()): ?>
46 <th
class=
"col-signature"><?=
__(
'Signature Confirmation') ?></th>
48 <th
class=
"col-actions">&
nbsp;</th>
55 <select
name=
"package_container" 56 onchange=
"packaging.changeContainerType(this);packaging.checkSizeAndGirthParameter(this, <?= /* @escapeNotVerified */ $girthEnabled ?>);" 58 title=
"<?= /* @escapeNotVerified */ __('USPS domestic shipments don\'t use package types.') ?>" 60 class=
"admin__control-select disabled" 62 class=
"admin__control-select" 64 <?php
foreach (
$block->getContainers() as $key =>
$value): ?>
65 <option
value=
"<?= /* @escapeNotVerified */ $key ?>" >
73 <select
name=
"package_size" 74 class=
"admin__control-select" 75 onchange=
"packaging.checkSizeAndGirthParameter(this, <?= /* @escapeNotVerified */ $girthEnabled ?>);">
77 <option
value=
"<?= /* @escapeNotVerified */ $sizeSource[$key]['value'] ?>">
85 class=
"input-text admin__control-text validate-greater-than-zero" 86 name=
"container_girth" />
89 <select
name=
"container_girth_dimension_units" 90 class=
"options-units-dimensions measures admin__control-select" 91 onchange=
"packaging.changeMeasures(this);">
92 <option
value=
"<?= /* @escapeNotVerified */ Zend_Measure_Length::INCH ?>" selected=
"selected" ><?=
__(
'in') ?></option>
93 <option
value=
"<?= /* @escapeNotVerified */ Zend_Measure_Length::CENTIMETER ?>" ><?=
__(
'cm') ?></option>
98 if (
$block->displayCustomsValue()) {
99 $customsValueDisplay =
'';
102 $customsValueDisplay =
' style="display: none;" ';
106 <td
class=
"col-custom" <?= $customsValueDisplay ?>>
107 <div
class=
"admin__control-addon">
109 class=
"customs-value input-text admin__control-text <?= /* @escapeNotVerified */ $customsValueValidation ?>" 110 name=
"package_customs_value" />
111 <span
class=
"admin__addon-suffix">
112 <span
class=
"customs-value-currency"><?=
$block->getCustomValueCurrencyCode() ?></span>
116 <td
class=
"col-total-weight">
117 <div
class=
"admin__control-addon">
119 class=
"options-weight input-text admin__control-text required-entry validate-greater-than-zero" 120 name=
"container_weight" />
121 <select
name=
"container_weight_units" 122 class=
"options-units-weight measures admin__control-select" 123 onchange=
"packaging.changeMeasures(this);">
124 <option
value=
"<?= /* @escapeNotVerified */ Zend_Measure_Weight::POUND ?>" selected=
"selected" ><?=
__(
'lb') ?></option>
125 <option
value=
"<?= /* @escapeNotVerified */ Zend_Measure_Weight::KILOGRAM ?>" ><?=
__(
'kg') ?></option>
127 <span
class=
"admin__addon-prefix"></span>
130 <td
class=
"col-length">
132 class=
"input-text admin__control-text validate-greater-than-zero" 133 name=
"container_length" />
135 <td
class=
"col-width">
137 class=
"input-text admin__control-text validate-greater-than-zero" 138 name=
"container_width" />
140 <td
class=
"col-height">
142 class=
"input-text admin__control-text validate-greater-than-zero" 143 name=
"container_height" />
145 <td
class=
"col-measure">
146 <select
name=
"container_dimension_units" 147 class=
"options-units-dimensions measures admin__control-select" 148 onchange=
"packaging.changeMeasures(this);">
149 <option
value=
"<?= /* @escapeNotVerified */ Zend_Measure_Length::INCH ?>" selected=
"selected" ><?=
__(
'in') ?></option>
150 <option
value=
"<?= /* @escapeNotVerified */ Zend_Measure_Length::CENTIMETER ?>" ><?=
__(
'cm') ?></option>
153 <?php
if (
$block->getDeliveryConfirmationTypes()): ?>
155 <select
name=
"delivery_confirmation_types" class=
"admin__control-select">
156 <?php
foreach (
$block->getDeliveryConfirmationTypes() as $key =>
$value): ?>
157 <option
value=
"<?= /* @escapeNotVerified */ $key ?>" >
164 <td
class=
"col-actions">
165 <button type=
"button" class=
"action-delete DeletePackageBtn" onclick=
"packaging.deletePackage(this);">
166 <span><?=
__(
'Delete Package') ?></span>
172 <?php
if (
$block->getContentTypes()): ?>
173 <table
class=
"data-table admin__control-table" cellspacing=
"0">
176 <th><?=
__(
'Contents') ?></th>
177 <th><?=
__(
'Explanation') ?></th>
183 <select
name=
"content_type" 184 class=
"admin__control-select" 185 onchange=
"packaging.changeContentTypes(this);">
186 <?php
foreach (
$block->getContentTypes() as $key =>
$value): ?>
187 <option
value=
"<?= /* @escapeNotVerified */ $key ?>" >
194 <input
name=
"content_type_other" 196 class=
"input-text admin__control-text options-content-type disabled" 197 disabled=
"disabled" />
204 <div
class=
"admin__page-subsection" data-role=
"package-items">
205 <div
class=
"grid_prepare admin__page-subsection"></div>
208 <div
id=
"packages_content"></div>
$block setTitle( 'CMS Block Title') -> setIdentifier('fixture_block') ->setContent('< h1 >Fixture Block Title</h1 >< a href=" store url</a><p> Config value
$_count $_index $_prevOptionId if($block->getOrderOptions()|| $_item->getDescription()) foreach( $items as $_item)( $_item) ?><?php $attributes if( $_item->getOrderItem() ->getParentItem())($_prevOptionId !=$attributes['option_id'])</td >< td > & nbsp