
[英]How to add a custom empty cart button on configurable product page:Magento
[英]Magento 2 - How to show custom added attributes on product view page below "add to cart" Button?
我在 magento2 luma 主题中添加了 Closure 属性,并且能够在网格中看到,但是当点击产品时,属性没有显示,如默认属性颜色、大小等。
您需要在产品模板文件中调用您的属性以获取属性值
$product->getClosure();
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.