DarylGagg Posted May 5, 2011 Share Posted May 5, 2011 I have a little but annoying problem with my commerce. when ever i test the add to cart button, no matter what quantity, it always says in the header - (whatever the number) 0 ITEMS. eg. add 1 item to cart looks like - 1 0 ITEMS etc. etc. How do I get rid of the 0? because some people will think they have added a multiple of ten to the cart lol. take a look - www.madforwrestling.co.uk Thanks for any help. :) Link to comment Share on other sites More sharing options...
Guest Posted May 5, 2011 Share Posted May 5, 2011 Daryl, More importantly, your site has been hacked ! Follow these steps to clean and secure your website: 1) Lock down your site by using an .htaccess password so your customers are not attacked by the hackers code. 2) FTP all of the files to your local machine and use a program like WinGrep to identify and remove all malicious and anomalous files containing hacker code. Look for keywords such as 'base64','eval','decode'. 3) Delete the files on your hosting account before uploading the clean files. 4) FTP the clean files back to your hosting account and read and implement the security patches and contributions found in these two threads. Admin Security and Website Security. 5) Change all of your passwords: FTP, CPANEL, STORE ADMIN and DATABASE 6) Make sure File and Directory Permissions are set correctly. Directories no higher than 755, Files no higher than 644 and the TWO configure.php files no higher than 444 7) If your site has been 'black listed' as an attack site by Google, then log into Google Webmaster Tools and submit the site to be re-indexed and verified to be removed from the 'black list' 8) Remove the .htaccess password protection so your customers can resume making purchases from your website. 9) Monitor your website using the newly installed contributions to prevent future hacker attacks. 10) If you feel you can not perform any of the above steps, you should seek professional help to ensure all malware is removed. Once you get that done, post the contents of your header.php so we can see where the coding error is. Chris Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.