icrosser Posted August 8, 2013 Share Posted August 8, 2013 (edited) My prestashop 1.3.7.0 ,using Swedish as language. Some of the products could not show any picture in the shopping cart thumbnails.I attatch the html resource and the missing thumbnails .Please anyone could help? Thank you a lot a lot! Here's the resource code: <a href="http://www.xn--michaelkorsvskor-6nb.se/michael-kors-jet-set-tote/13-michael-kors-dam-vaskor-transparent-farg-apelsin-kop-billigt-online-forsaljning-utlopp-vaskor.html"><img src="/13-1-small/michael-kors-dam-vaskor-transparent-farg-apelsin-kop-billigt-online-forsaljning-utlopp-vaskor.jpg" alt="Michael Kors Dam Väskor Transparent Färg Apelsin köp billigt online försäljning utlopp väskor" width="" height="" /></a> </td> <td class="cart_description"> <h5><a href="http://www.xn--michaelkorsvskor-6nb.se/michael-kors-jet-set-tote/13-michael-kors-dam-vaskor-transparent-farg-apelsin-kop-billigt-online-forsaljning-utlopp-vaskor.html">Michael Kors Dam Väskor Transparent Färg Apelsin köp billigt online försäljning utlopp väskor</a></h5> <a href="http://www.xn--michaelkorsvskor-6nb.se/michael-kors-jet-set-tote/13-michael-kors-dam-vaskor-transparent-farg-apelsin-kop-billigt-online-forsaljning-utlopp-vaskor.html">storlek : US7-UK6-EU40-25CM</a> </td> <td class="cart_ref">--</td> <td class="cart_availability"> <img src="http://www.xn--michaelkorsvskor-6nb.se/themes/prestashop/img/icon/available.gif" alt="Tillgänglig" width="14" height="14" /> </td> <td class="cart_unit"> <span class="price"> $192.23 </span> </td> <td class="cart_quantity"> <a class="cart_quantity_delete" href="http://www.xn--michaelkorsvskor-6nb.se/cart.php?delete&id_product=13&ipa=19&token=a6f49e87948e01c792edd945976876ed" title="Radera"><img src="http://www.xn--michaelkorsvskor-6nb.se/themes/prestashop/img/icon/delete.gif" alt="Radera" class="icon" width="11" height="13" /></a> <p>2</p> <a class="cart_quantity_up" href="http://www.xn--michaelkorsvskor-6nb.se/cart.php?add&id_product=13&ipa=19&token=a6f49e87948e01c792edd945976876ed" title="Lägg till"><img src="http://www.xn--michaelkorsvskor-6nb.se/themes/prestashop/img/icon/quantity_up.gif" alt="Lägg till" width="14" height="9" /></a><br /> <a class="cart_quantity_down" href="http://www.xn--michaelkorsvskor-6nb.se/cart.php?add&id_product=13&ipa=19&op=down&token=a6f49e87948e01c792edd945976876ed" title="Ta bort"><img src="http://www.xn--michaelkorsvskor-6nb.se/themes/prestashop/img/icon/quantity_down.gif" alt="Ta bort" width="14" height="9" /></a> </td> <td class="cart_total"> <span class="price"> $384.46 </span> </td> </tr> <tr class=" cart_item"> <td class="cart_product"> <a href="http://www.xn--michaelkorsvskor-6nb.se/michael-kors-jet-set-tote/15-michael-kors-dam-vaskor-transparent-farg-okade-kop-billigt-online-forsaljning-utlopp-vaska.html"><img src="/sv-default-small/michael-kors-dam-vaskor-transparent-farg-okade-kop-billigt-online-forsaljning-utlopp-vaska.jpg" alt="Michael Kors Dam Väskor Transparent Färg ökade köp billigt online försäljning utlopp väska" width="" height="" /></a> The difference between good ones and bad ones is: <img src="/13-1-small/michael-kors-dam-vaskor-transparent-farg-apelsin-kop-billigt-online-forsaljning-utlopp-vaskor.jpg" alt="Michael Kors Dam Väskor Transparent Färg Apelsin köp billigt online försäljning utlopp väskor" width="" height="" /> working well. While no image available: <img src="/sv-default-small/michael-kors-dam-vaskor-transparent-farg-okade-kop-billigt-online-forsaljning-utlopp-vaska.jpg" alt="Michael Kors Dam Väskor Transparent Färg ökade köp billigt online försäljning utlopp väska" width="" height="" /> Why they are in the different category? And how to fix it? Edited August 8, 2013 by icrosser (see edit history) Link to comment Share on other sites More sharing options...
icrosser Posted August 11, 2013 Author Share Posted August 11, 2013 is there anyone who could resolve thi issue? Free high pr backlinks would be offered.Thank you. Link to comment Share on other sites More sharing options...
vekia Posted August 11, 2013 Share Posted August 11, 2013 can you show the contents of the tpl file? it will be really helpful in this case Link to comment Share on other sites More sharing options...
PascalVG Posted August 11, 2013 Share Posted August 11, 2013 Hi icrosser, Try this: - Rename the .htaccess file in the shop root (rename to .htaccess_ORIG) - Create a new .htaccess by going to Preferences->SEO&URLs. Here turn OFF friendly URL's, Save, And turn Friendly URL's back ON. Save. This creates a new .htaccess and the images might magically appear again. We hope... My 2 cents, pascal Link to comment Share on other sites More sharing options...
vekia Posted August 11, 2013 Share Posted August 11, 2013 nice idea Pascal, i totally agree with you, regenerating the htaccess should do the trick. But the problem is in fact, that he use prestashop 1.3.7.0 there is no option to regenerate the htaccess, moreover - there is no "preferences > seo & urls" tab in the back office. option to turn on / off friendly urls are here: PREFERENCES Link to comment Share on other sites More sharing options...
PascalVG Posted August 11, 2013 Share Posted August 11, 2013 Another option is to re-generate the thumbnail pictures. Maybe somehow some are missing: First check in Preferences->Images. See in the matrix if you have a green check in the products column, crossing with - small_default -medium_default -large_default -home_default If so, press the re-generate button (if you want, you can select only images of Products) (Maybe AFTER this, if this doesn't solve the problem yet, follow my sugestion of regenerating the .htaccess once more Let us know, pascal Link to comment Share on other sites More sharing options...
PascalVG Posted August 11, 2013 Share Posted August 11, 2013 Vekia wrote: nice idea Pascal, i totally agree with you, regenerating the htaccess should do the trick. But the problem is in fact, that he use prestashop 1.3.7.0 Oops, my bad :[ Vekia, does turning off and on friendly URL's again in 1.3.7.0 regenerates the htaccess?? Or how should you do that? Link to comment Share on other sites More sharing options...
vekia Posted August 11, 2013 Share Posted August 11, 2013 you've got right in the ps 1.3.7.0 this is the only way to regenerate the htaccess file, but friendly urls option switcher is located in different tab: it is in PREFERENCES tab (there is no preferences > sero & urls) 1 Link to comment Share on other sites More sharing options...
PascalVG Posted August 11, 2013 Share Posted August 11, 2013 (edited) When using 1.3.7.0, this also may not apply. Sorry for confusion. First check in Preferences->Images. See in the matrix if you have a green check in the products column, crossing with - small_default -medium_default -large_default -home_default I hope you still can regenerate the images though :-) (Preferences->images menu?) Edited August 11, 2013 by PascalVG (see edit history) Link to comment Share on other sites More sharing options...
PascalVG Posted August 11, 2013 Share Posted August 11, 2013 you've got right in the ps 1.3.7.0 this is the only way to regenerate the htaccess file, but friendly urls option switcher is located in different tab: it is in PREFERENCES tab (there is no preferences > sero & urls) Yep, thanks for that! Link to comment Share on other sites More sharing options...
icrosser Posted August 11, 2013 Author Share Posted August 11, 2013 (edited) Thank you all for kindly help! I tried with 2 methods: 1,re-generate thumbnails . Result: False. 2,re-generate htaccess file. Result: It do helps with some products without any attribute.But it will not affect the ones with attribute like size.{there's ways to regenerate htaccess in 1.3.7.0. First ,Back Office >> Preferences >>friendly url :YES;Second, Back Office >> Tools >> Generators Generate your ".htaccess" file(before that you have to upload an empty .htaccess files in the prestashop root)} 3,Problem not resolved yet...So I attach the shopping-cart.tpl and shopping-cart-product-line.tpl ,please kinldy check it .Hope I didn't mess it up.I think it's something wrong caused by coding issue?Because it rarely happened with my Engilish sites. Thank you very much for help. After problem resolved,Anyone involved in this topic,please kindly PM me your site address that need high pr backlinks. shopping-cart.zip shopping-cart-product-line.zip Edited August 11, 2013 by icrosser (see edit history) Link to comment Share on other sites More sharing options...
icrosser Posted August 11, 2013 Author Share Posted August 11, 2013 Also I attached the screenshot how to regenerate htaccess . Link to comment Share on other sites More sharing options...
vekia Posted August 11, 2013 Share Posted August 11, 2013 can you for test purposes create new image type? go to the preferences > images create new image type named "newsmall" with configuration like this: then regenerate the thumbnails for new image type: last step: open the shopping cart product line tpl file and change: <img src="{$link->getImageLink($product.link_rewrite, $product.id_image, 'small')}" alt="{$product.name|escape:'htmlall':'UTF-8'}" width="{$smallSize.width}" height="{$smallSize.height}" /> to: <img src="{$link->getImageLink($product.link_rewrite, $product.id_image, 'newsmall')}" alt="{$product.name|escape:'htmlall':'UTF-8'}" width="{$smallSize.width}" height="{$smallSize.height}" /> Link to comment Share on other sites More sharing options...
vekia Posted August 11, 2013 Share Posted August 11, 2013 can you also try to change the product cover photo, ok? Link to comment Share on other sites More sharing options...
icrosser Posted August 11, 2013 Author Share Posted August 11, 2013 (edited) Thank you! I tried exactly as you told me , but it's still not working. For example: http://www.nordingra...ieker-skor.html please try to add it into cart. It shows 404 for the thumbnails now. I don't understand why there's different path generated from same tpl: <img src="/13-1-small/michael-kors-dam-vaskor-transparent-farg-apelsin-kop-billigt-online-forsaljning-utlopp-vaskor.jpg" alt="Michael Kors Dam Väskor Transparent Färg Apelsin köp billigt online försäljning utlopp väskor" width="" height="" /> working well. While no image available is: <img src="/sv-default-small/michael-kors-dam-vaskor-transparent-farg-okade-kop-billigt-online-forsaljning-utlopp-vaska.jpg" alt="Michael Kors Dam Väskor Transparent Färg ökade köp billigt online försäljning utlopp väska" width="" height="" /> can you for test purposes create new image type? go to the preferences > images create new image type named "newsmall" with configuration like this: then regenerate the thumbnails for new image type: last step: open the shopping cart product line tpl file and change: <img src="{$link->getImageLink($product.link_rewrite, $product.id_image, 'small')}" alt="{$product.name|escape:'htmlall':'UTF-8'}" width="{$smallSize.width}" height="{$smallSize.height}" /> to: <img src="{$link->getImageLink($product.link_rewrite, $product.id_image, 'newsmall')}" alt="{$product.name|escape:'htmlall':'UTF-8'}" width="{$smallSize.width}" height="{$smallSize.height}" /> Edited August 11, 2013 by icrosser (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts