Filipkiewicz Posted May 1, 2011 Share Posted May 1, 2011 On my website when you press add to cart on homepage it puts the wrong image of game into the carthttp://cdkeysdiscount.com/anyone know how to fix that? Link to comment Share on other sites More sharing options...
Irfan Bahalwan Posted May 2, 2011 Share Posted May 2, 2011 I've seen your page, and it seems every add-to-cart animation picture use Crysis 2's image. Have u modified this file? modules/blockcart/ajax-cart.jsCoz it seems somehow the image source is fixed (always refers to Crysis 2)Btw, if u still confused, u could give us ajax-cart.js file. I'll take alook of it Link to comment Share on other sites More sharing options...
Filipkiewicz Posted May 2, 2011 Author Share Posted May 2, 2011 Thank you for your replyI have uploaded the file blockcart-ajax.php Link to comment Share on other sites More sharing options...
Irfan Bahalwan Posted May 2, 2011 Share Posted May 2, 2011 I'm afraid u've uploaded the wrong file Wait a minute, I guess u dont have to uploaded the file. I can access it directly. I'll take a look of it Link to comment Share on other sites More sharing options...
Filipkiewicz Posted May 2, 2011 Author Share Posted May 2, 2011 YesIm sorry I have no uploaded the correct one ajax-cart.js Link to comment Share on other sites More sharing options...
Irfan Bahalwan Posted May 2, 2011 Share Posted May 2, 2011 I've seen your file, and yes, there's some modification there.Ok, because I dont really good at JS, for start, change your ajax-cart.js with the default one (the one i attached)Delete your smarty's template (by deleting all files in tools/smarty/compile folder), and refresh the page. ajax-cart.js Link to comment Share on other sites More sharing options...
Filipkiewicz Posted May 2, 2011 Author Share Posted May 2, 2011 DoneAnd nothing changed Link to comment Share on other sites More sharing options...
Irfan Bahalwan Posted May 2, 2011 Share Posted May 2, 2011 Try open :modules/blokcart/ajax-cart.js find this line (by default line 195) var $element = $(callerElement).parent().parent().find('a.product_image img,a.product_img_link img'); and change it into this var $element = $(callerElement).parent().find('a.product_image img,a.product_img_link img'); Clear the smarty's cache again, and refresh the page Link to comment Share on other sites More sharing options...
Filipkiewicz Posted May 2, 2011 Author Share Posted May 2, 2011 Now when I press Add to cart it goes to order page Link to comment Share on other sites More sharing options...
Kanary Posted October 16, 2011 Share Posted October 16, 2011 dear Irfan, can you please check my website and let me know why my cart animation doesn't work: http://canariwatches.com/prestashop_1.4.4 Appreciate your help. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now