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

Go to the source code of this file.

Variables

foreach ($items as $_product) () ?>" title = $this->helper('Magento\Catalog\Helper\Output')->productAttribute($_product, $_product->getName(), 'name')
 
 $postData = $postDataHelper->getPostData($block->getAddToCartUrl($_product), ['product' => $_product->getEntityId()])
 
 endif = __('Add to Cart')
 
else __pad4__
 
 endforeach
 

Variable Documentation

◆ $postData

$postData = $postDataHelper->getPostData($block->getAddToCartUrl($_product), ['product' => $_product->getEntityId()])

Definition at line 76 of file viewed_default_list.phtml.

◆ ($items as $_product)

foreach ( $items as $_product)() ?>" title = $this->helper('Magento\Catalog\Helper\Output')->productAttribute($_product, $_product->getName(), 'name')

Definition at line 53 of file viewed_default_list.phtml.

◆ __pad4__

else __pad4__

Definition at line 88 of file viewed_default_list.phtml.

◆ endforeach

endforeach

Definition at line 94 of file viewed_default_list.phtml.

◆ endif

endif = __('Add to Cart')

Definition at line 79 of file viewed_default_list.phtml.