Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

hijacked add to cart button


Guest

Recommended Posts

Im new to oscommerce and php. Ive been using the http://www.oscommerce.com/community/contributions site and have added alot of features to my site, and ive now noticed the only glitch in the store now is a big one, when i go to click my "Add to Cart" button it takes the whole site to http://gethits2000.com/butikksenter/module...?name=Top_Sites . I dont remember changing the "Add to Cart" properties besides the image. Please help me ASAP. Im not sure where to look to find where my buttons been hijacked. And even if I find it how to fix it.

Link to comment
Share on other sites

Also, if you use Dreamweaver or similiar IDE do a sitewide code search for the domain ("gethits2000"). I would love to help you find the source of the problem and expose the person responsible...

Link to comment
Share on other sites

Have you noticed that your information box is missing?

 

Here is the related HTML output of your page:

<!-- information //-->
         <tr>
           <td>
<form action="http://gethits2000.com/butikksenter/modules.php?name=Top_Sites" method="post"><input type="hidden" name="osCsid" value="fcb66edbd284187d6cba9c4abb1185ab" />
 <input type="hidden" name="lid" value="3">
 <input type="hidden" name="op" value="ratelink">

<head>
<title></title>
</head>

<body topmargin="0" leftmargin="0">

<p align="center"><img border="0" src="http://www.ashla.us/store/includes/boxes/XMas-Thank-You.gif" width="100" height="150"></p>
           </td>
         </tr>
<!-- information_eof //-->

Notice that the form is not closed and also there are extra tags in there. Clean up the includes/boxes/information.php file...

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...