STORES / Attributes / Product
And then: Create new Attributes.
At here you config example:
Ok you was create Attribules product.
Continue if you want show Variable product everywhere in frontend.
Use code:
1 2 3 | <?php echo $this->helper('Magento\Catalog\Helper\Output')->productAttribute($block->getProduct(), $block->getProduct()->getshow_price(), 'show_price'); ?> |


Không có nhận xét nào:
Đăng nhận xét