2012-08-14 71 views
0

在我的收藏中鏈接有一些產品,但沒有圖像。產品圖片未顯示在我的magento願望清單中

That means i added products to my wishlist,but the products' images are not displaying in wishlists. 

什麼問題?

我該如何解決這個問題?

當我點擊添加到心願我有一些錯誤,所以我複製wishlist.xml和願望清單文件夾從基地/ defualt我的主題。 之後,當我最後添加到我的心願單中時,我無法看到願望清單中的圖像。 這是我得到的錯誤: `

There has been an error processing your request 

Invalid method Mage_Wishlist_Model_Item::isGrouped(Array 
(
) 
) 

Trace: 
#0 /hsphere/local/home/davidson/shop/app/design/frontend/base/default/template/catalog/product/price.phtml(52): Varien_Object->__call('isGrouped', Array) 
#1 /hsphere/local/home/davidson/shop/app/design/frontend/base/default/template/catalog/product/price.phtml(52): Mage_Wishlist_Model_Item->isGrouped() 
#2 /hsphere/local/home/davidson/shop/app/code/core/Mage/Core/Block/Template.php(241): include('/hsphere/local/...') 
#3 /hsphere/local/home/davidson/shop/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView('frontend/base/d...') 
#4 /hsphere/local/home/davidson/shop/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView() 
#5 /hsphere/local/home/davidson/shop/app/code/core/Mage/Catalog/Block/Product/Price.php(154): Mage_Core_Block_Template->_toHtml() 
#6 /hsphere/local/home/davidson/shop/app/code/core/Mage/Core/Block/Abstract.php(863): Mage_Catalog_Block_Product_Price->_toHtml() 
#7 /hsphere/local/home/davidson/shop/app/code/core/Mage/Wishlist/Block/Abstract.php(383): Mage_Core_Block_Abstract->toHtml() 
#8 /hsphere/local/home/davidson/shop/app/design/frontend/base/default/template/wishlist/view.phtml(61): Mage_Wishlist_Block_Abstract->getPriceHtml(Object(Mage_Wishlist_Model_Item)) 
#9 /hsphere/local/home/davidson/shop/app/code/core/Mage/Core/Block/Template.php(241): include('/hsphere/local/...') 
#10 /hsphere/local/home/davidson/shop/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView('frontend/base/d...') 
#11 /hsphere/local/home/davidson/shop/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView() 
#12 /hsphere/local/home/davidson/shop/app/code/core/Mage/Core/Block/Abstract.php(863): Mage_Core_Block_Template->_toHtml() 
#13 /hsphere/local/home/davidson/shop/app/code/core/Mage/Core/Block/Abstract.php(582): Mage_Core_Block_Abstract->toHtml() 
#14 /hsphere/local/home/davidson/shop/app/code/core/Mage/Core/Block/Abstract.php(522): Mage_Core_Block_Abstract->_getChildHtml('customer.wishli...', true) 
#15 /hsphere/local/home/davidson/shop/app/code/core/Mage/Page/Block/Html/Wrapper.php(52): Mage_Core_Block_Abstract->getChildHtml('', true, true) 
#16 /hsphere/local/home/davidson/shop/app/code/core/Mage/Core/Block/Abstract.php(863): Mage_Page_Block_Html_Wrapper->_toHtml() 
#17 /hsphere/local/home/davidson/shop/app/code/core/Mage/Core/Block/Text/List.php(43): Mage_Core_Block_Abstract->toHtml() 
#18 /hsphere/local/home/davidson/shop/app/code/core/Mage/Core/Block/Abstract.php(863): Mage_Core_Block_Text_List->_toHtml() 
#19 /hsphere/local/home/davidson/shop/app/code/core/Mage/Core/Block/Abstract.php(582): Mage_Core_Block_Abstract->toHtml() 
#20 /hsphere/local/home/davidson/shop/app/code/core/Mage/Core/Block/Abstract.php(526): Mage_Core_Block_Abstract->_getChildHtml('content', true) 
#21 /hsphere/local/home/davidson/shop/app/design/frontend/base/default/template/page/2columns-left.phtml(48): Mage_Core_Block_Abstract->getChildHtml('content') 
#22 /hsphere/local/home/davidson/shop/app/code/core/Mage/Core/Block/Template.php(241): include('/hsphere/local/...') 
#23 /hsphere/local/home/davidson/shop/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView('frontend/base/d...') 
#24 /hsphere/local/home/davidson/shop/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView() 
#25 /hsphere/local/home/davidson/shop/app/code/core/Mage/Core/Block/Abstract.php(863): Mage_Core_Block_Template->_toHtml() 
#26 /hsphere/local/home/davidson/shop/app/code/core/Mage/Core/Model/Layout.php(555): Mage_Core_Block_Abstract->toHtml() 
#27 /hsphere/local/home/davidson/shop/app/code/core/Mage/Core/Controller/Varien/Action.php(390): Mage_Core_Model_Layout->getOutput() 
#28 /hsphere/local/home/davidson/shop/app/code/core/Mage/Wishlist/controllers/IndexController.php(150): Mage_Core_Controller_Varien_Action->renderLayout() 
#29 /hsphere/local/home/davidson/shop/app/code/core/Mage/Core/Controller/Varien/Action.php(419): Mage_Wishlist_IndexController->indexAction() 
#30 /hsphere/local/home/davidson/shop/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(250): Mage_Core_Controller_Varien_Action->dispatch('index') 
#31 /hsphere/local/home/davidson/shop/app/code/core/Mage/Core/Controller/Varien/Front.php(176): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http)) 
#32 /hsphere/local/home/davidson/shop/app/code/core/Mage/Core/Model/App.php(354): Mage_Core_Controller_Varien_Front->dispatch() 
#33 /hsphere/local/home/davidson/shop/app/Mage.php(687): Mage_Core_Model_App->run(Array) 
#34 /hsphere/local/home/davidson/davidsonbros.com/index.php(81): Mage::run('davidsonbros', 'website') 
#35 {main}` 

回答

0

當我點擊加入收藏我得到了一些錯誤

什麼是錯誤?

每列顯示在我的收藏可以通過wishlist.xml

<wishlist_index_index translate="label"> 
[...] 
       <block type="wishlist/customer_wishlist_items" name="customer.wishlist.items" as="items" template="wishlist/item/list.phtml"> 
       <block type="wishlist/customer_wishlist_item_column_image" name="customer.wishlist.item.image" template="wishlist/item/column/image.phtml" /> 
[...]     
+0

@ Florinel,我得到了錯誤的編輯問題... – Kichu 2012-08-14 11:38:27

+0

@ Florinel進行配置,唯一的錯誤是現在圖像路徑是不正確的... – Kichu 2012-08-14 11:39:15

+0

檢查您的基本媒體網址(系統 - >配置 - > Web - >不安全/安全部分)。 (也是清除緩存) – FlorinelChis 2012-08-14 11:59:34

相關問題