flyclothing Posted September 26, 2013 Share Posted September 26, 2013 I am not sure if this is a bug or what, but we have certain products that are displaying improperly and we're not sure if it has to do the with friendly URL, import or Prestashop. I have a good feeling that it has to do with the "&" symbol. This product was imported using FastImport. We designated the subcategory as Necklaces & Pendants. It shows the correct category but is not displaying correctly. http://184.154.6.200/necklaces-pendants/644-cocktail-stax-cherry-sour-chain.html This is a category that didnt use the "&" symbol and works fine. http://184.154.6.200/earrings/452-athena-single-drop-earrings-.html Any thoughts on how to correct this and avoid it in future imports? Link to comment Share on other sites More sharing options...
vekia Posted September 26, 2013 Share Posted September 26, 2013 can you for test purposes change this category link rewrite (friendly url field) value ? catalog > categories > Necklaces & Pendants > edit try to use something different there Link to comment Share on other sites More sharing options...
flyclothing Posted September 26, 2013 Author Share Posted September 26, 2013 I just tried that I put necklaces-and-pendants and it didn't work. link and product page still bad. Link to comment Share on other sites More sharing options...
flyclothing Posted September 27, 2013 Author Share Posted September 27, 2013 I also turned off friendly urls and it still does it. I believe their is a bug or glitch. Either way, I just need to find a solution for it. All products in categories with the "&" symbol arent displaying properly. Link to comment Share on other sites More sharing options...
vekia Posted September 27, 2013 Share Posted September 27, 2013 im tryinf to reproduce it on localhost but i cant :| maybe try to change also category name, not only friendly url link have you tried? Link to comment Share on other sites More sharing options...
flyclothing Posted September 27, 2013 Author Share Posted September 27, 2013 We changed the category name as you first suggested. It didnt do anything. Before the import, we created the category names and then associated the product with it. Any category with the "&" symbol is displaying incorrectly. All categories with a single name are ok. When I go to the product association, it shows it is in the correct category, but the product display is the issue. Link to comment Share on other sites More sharing options...
benjamin utterback Posted September 27, 2013 Share Posted September 27, 2013 Hi, are you able to reimport your products after you made the changes in your other thread here? http://www.prestashop.com/forums/topic/275961-bug-the-friendly-url-field-english-united-states-is-invalid/ I think that may fix the problem. Link to comment Share on other sites More sharing options...
flyclothing Posted September 27, 2013 Author Share Posted September 27, 2013 Hey Ben, We are talking about re-importing 100s of products again. I would rather find a simpler fix and figure out the issue, which hasnt happened yet, rather than upload the products again. Unfortunately, that may be the only alternative. :/ Link to comment Share on other sites More sharing options...
benjamin utterback Posted September 27, 2013 Share Posted September 27, 2013 Hey Ben, We are talking about re-importing 100s of products again. I would rather find a simpler fix and figure out the issue, which hasnt happened yet, rather than upload the products again. Unfortunately, that may be the only alternative. :/ I completely understand. However, I think the problem occurred during the initial import process. The fix within the tools.php should be made before the import process. It seems that this bug will probably mean tat you need to upload the products again. You imported using csv? Link to comment Share on other sites More sharing options...
flyclothing Posted September 27, 2013 Author Share Posted September 27, 2013 We are using another tool to import products, FastImport. Will this modification of the code also control importing products through this method? Link to comment Share on other sites More sharing options...
benjamin utterback Posted September 27, 2013 Share Posted September 27, 2013 We are using another tool to import products, FastImport. Will this modification of the code also control importing products through this method? I am not familiar with that module. Can you show me a link? Link to comment Share on other sites More sharing options...
flyclothing Posted September 27, 2013 Author Share Posted September 27, 2013 It is actually called ImportFast: http://prestashop.dataco.dk/3-import-fast.html Link to comment Share on other sites More sharing options...
flyclothing Posted October 22, 2013 Author Share Posted October 22, 2013 This issue has come up again. We noticed some of our products were incorrect, so we updated the csv file and re-imported. Now the store is displaying incorrectly again. We followed the suggestion of the tools fix (above), but believe that issue was fixed in the updated version 1.5.6.0, right? It just seems to be anything with the "&" symbol is messing up our store on the import. http://184.154.6.200/ Link to comment Share on other sites More sharing options...
benjamin utterback Posted October 22, 2013 Share Posted October 22, 2013 Hello! Why don't you try this Github fix if its applicable. Make sure to always have a backup! https://github.com/PrestaShop/PrestaShop/commit/7d764c5ce8e0ccb58f6669804474397217f8eaae You can change the lines directly or copy the entire file contents (here https://github.com/PrestaShop/PrestaShop/blob/7d764c5ce8e0ccb58f6669804474397217f8eaae/controllers/admin/AdminImportController.php) into controllers / admin / AdminImportController.php Keep me posted. Thank you so much! Link to comment Share on other sites More sharing options...
flyclothing Posted October 22, 2013 Author Share Posted October 22, 2013 Ben, We were able to get the products imported again, but there were a couple of products in the admin that weren’t showing pictures for some reason. I figured if they didn’t import correctly, they might be the issue and I was right. I am not sure what in these specific products were causing issues, but once removed all is fine. It could be because we are using html in the descriptions. Jonathan Link to comment Share on other sites More sharing options...
Recommended Posts