Jump to content

Where is addtobasket?


Guest Christine from gecko Gully

Recommended Posts

Guest Christine from gecko Gully

Where can I find what runs immediately after the Add To Basket button is clicked and the submitDoc(addtobasket) is called?

I have been looking high and low for the code, with no luck so far.

Thanks,

Christine.

Link to comment
Share on other sites

Guest estelle

Hi Christine.

This javascript code submits the form, so no code is loaded after it. When the page is reloaded the includes/boxes/shoppingCart.inc.php file is responsible for adding the product to the customer's cart.

BTW. The submitDoc javascript function is in js/jslibrary.js.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...