Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

magento 2 block called as child pass product variable

<?php echo $block->getProduct()->getId(); ?>
Source by magento.stackexchange.com #
 
PREVIOUS NEXT
Tagged: #magento #block #called #child #pass #product #variable
ADD COMMENT
Topic
Name
3+2 =