Skip to main content
6 events
when toggle format what by license comment
Sep 1, 2022 at 12:39 comment added MagePal Extensions Try $block->getProduct()
Sep 1, 2022 at 5:12 comment added Afzel Arshad print_r($product) see, is there sku in it or not?
Aug 31, 2022 at 19:22 comment added Isabel Chua I used the same code with my custom attribute "brand" and it's working fine
Aug 31, 2022 at 18:02 comment added Afzel Arshad $product = $block->getData('product'); this $product doesnt have anything, means its an empty object, thats wht its saying call to a member function on null
Aug 31, 2022 at 17:15 answer added Aaron Wang timeline score: 0
Aug 31, 2022 at 17:12 history asked Isabel Chua CC BY-SA 4.0