File tree Expand file tree Collapse file tree 1 file changed +13
-2
lines changed
app/code/Magento/Swatches/Block/Product/Renderer Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -365,18 +365,29 @@ protected function getConfigurableOptionsIds(array $attributeData)
365
365
}
366
366
367
367
/**
368
- * Return HTML code
368
+ * Produce and return block's html output
369
369
*
370
370
* @codeCoverageIgnore
371
371
* @return string
372
372
*/
373
- protected function _toHtml ()
373
+ public function toHtml ()
374
374
{
375
375
$ this ->initIsProductHasSwatchAttribute ();
376
376
$ this ->setTemplate (
377
377
$ this ->getRendererTemplate ()
378
378
);
379
379
380
+ return parent ::toHtml ();
381
+ }
382
+
383
+ /**
384
+ * Return HTML code
385
+ *
386
+ * @codeCoverageIgnore
387
+ * @return string
388
+ */
389
+ protected function _toHtml ()
390
+ {
380
391
return $ this ->getHtmlOutput ();
381
392
}
382
393
You can’t perform that action at this time.
0 commit comments