Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
$session= Mage::getSingleton('checkout/session'); foreach($session->getQuote()->getAllItems() as $item) { echo $item->getImageUrl(); }
のほかgetImageUrl()にgetSmallImageUrl、、、getThumbnailUrlどれも機能していません
getImageUrl()
getSmallImageUrl
getThumbnailUrl
私のコードの何が問題なのですか?
こんにちは、これを試すことができます
$ item-> getMediaConfig()-> getMediaUrl($ item-> getData('image'))