osCmax v2.5 User Manual
Results 1 to 2 of 2

my add to cart button is HIJACKED

This is a discussion on my add to cart button is HIJACKED within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; 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 ...

      
  1. #1
    Lurker
    Join Date
    Nov 2004
    Posts
    1
    Rep Power
    0


    Default my add to cart button is HIJACKED

    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/...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.

  2. #2
    Active Member
    Join Date
    May 2004
    Location
    worcester ma
    Posts
    162
    Rep Power
    0


    Default

    Is this happening from the product listing page or the product info page?

    If it is happening from the product info page look to make sure you have not added a form before the </form> tag on the page. The form on this page is opened at the very beginning of the page. And is closed near the bottom around the add to cart button.

    If you have added a new form within the already opened form then when you click add to cart it will use the form action of the second form. Which is what it sounds like is happening.

    *NOTE: When modding your site always remember the golden rule. BACKUP! BACKUP! BACKUP!

    Hope this helps

Similar Threads

  1. add to cart button and detail button show on main page
    By jikey in forum osCmax v2 Customization/Mods
    Replies: 1
    Last Post: 01-14-2007, 04:13 PM
  2. Automatic remove button in shopping cart
    By auntie22 in forum osCmax v1.7 Discussion
    Replies: 2
    Last Post: 10-25-2005, 07:03 PM
  3. adding a buy now button to the shopping cart
    By doumawis in forum osCMax v1.7 General Mods Discussion
    Replies: 0
    Last Post: 02-28-2005, 04:21 AM
  4. Add to Cart Button
    By ukgoods in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 02-25-2005, 08:53 PM
  5. Empty shopping cart after clicking Buy Now Button
    By Walter in forum osCommerce 2.2 Modification Help
    Replies: 0
    Last Post: 05-03-2004, 10:02 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •