Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Variables
renderer.phtml File Reference

Go to the source code of this file.

Variables

 $swatchData = $block->getSwatchData()
 
foreach( $swatchData[ 'options'] as $option=> $label)(isset($swatchData['swatches'][$option]['type'])) endforeach = $swatchData['attribute_id']
 

Variable Documentation

◆ $swatchData

$swatchData = $block->getSwatchData()

Definition at line 11 of file renderer.phtml.

◆ endforeach

foreach ($swatchData['options'] as $option => $label) (isset( $swatchData[ 'swatches'][ $option][ 'type'])) endforeach = $swatchData['attribute_id']

Definition at line 16 of file renderer.phtml.