diff --git a/app/code/Magento/Bundle/view/adminhtml/templates/catalog/product/edit/tab/attributes/extend.phtml b/app/code/Magento/Bundle/view/adminhtml/templates/catalog/product/edit/tab/attributes/extend.phtml
index 224cd71538b7b..a770ae864a74c 100644
--- a/app/code/Magento/Bundle/view/adminhtml/templates/catalog/product/edit/tab/attributes/extend.phtml
+++ b/app/code/Magento/Bundle/view/adminhtml/templates/catalog/product/edit/tab/attributes/extend.phtml
@@ -20,9 +20,9 @@ $isElementReadonly = $block->getElement()
->getReadonly();
?>
-getCanReadPrice() === false)) { ?>
+getCanReadPrice() === false)): ?>
= /* @escapeNotVerified */ $elementHtml ?>
-
+
= $block->getExtendedElement($switchAttributeCode)->toHtml() ?>
@@ -43,13 +43,13 @@ $isElementReadonly = $block->getElement()
} else {
if ($attribute) {
getCanEditPrice() && $block->getCanReadPrice()
- && $block->getProduct()->isObjectNew()) { ?>
+ && $block->getProduct()->isObjectNew()): ?>
getDefaultProductPrice() ?: "''"; ?>
$attribute.value = = /* @escapeNotVerified */ $defaultProductPrice ?>;
-
+
$attribute.disabled = false;
$attribute.addClassName('required-entry');
-
+
}
if ($('dynamic-price-warning')) {
$('dynamic-price-warning').hide();
@@ -58,9 +58,9 @@ $isElementReadonly = $block->getElement()
}
getCanEditPrice()
- && !$block->getProduct()->isObjectNew())) { ?>
+ && !$block->getProduct()->isObjectNew())): ?>
$('= /* @escapeNotVerified */ $switchAttributeCode ?>').observe('change', = /* @escapeNotVerified */ $switchAttributeCode ?>_change);
-
+
Event.observe(window, 'load', function(){
= /* @escapeNotVerified */ $switchAttributeCode ?>_change();
});
diff --git a/app/code/Magento/Swatches/view/frontend/templates/product/layered/renderer.phtml b/app/code/Magento/Swatches/view/frontend/templates/product/layered/renderer.phtml
index 3492f83fd1828..d817000f7bc46 100644
--- a/app/code/Magento/Swatches/view/frontend/templates/product/layered/renderer.phtml
+++ b/app/code/Magento/Swatches/view/frontend/templates/product/layered/renderer.phtml
@@ -17,7 +17,7 @@
-
+
@@ -32,10 +32,8 @@
- getSwatchPath('swatch_thumb',
- $swatchData['swatches'][$option]['value']); ?>
- getSwatchPath('swatch_image',
- $swatchData['swatches'][$option]['value']); ?>
+ getSwatchPath('swatch_thumb', $swatchData['swatches'][$option]['value']); ?>
+ getSwatchPath('swatch_image', $swatchData['swatches'][$option]['value']); ?>
= /* @escapeNotVerified */ $swatchData['swatches'][$option]['value'] ?>
-
+
diff --git a/app/code/Magento/Ui/view/base/templates/stepswizard.phtml b/app/code/Magento/Ui/view/base/templates/stepswizard.phtml
index 05a537b9a6559..78e73e0cd9a69 100644
--- a/app/code/Magento/Ui/view/base/templates/stepswizard.phtml
+++ b/app/code/Magento/Ui/view/base/templates/stepswizard.phtml
@@ -13,14 +13,14 @@
- getSteps() as $step) { ?>
+ getSteps() as $step): ?>
= /* @escapeNotVerified */ $step->getContent() ?>
-
+