Jump to content

Buy Button dosent work


Turtleman

Recommended Posts

This is not a known bug. As a result I am sure it is due to custom skinning or coding. Think back as to what has been changed and how it has been changed and possibly undo any changes you might have made to the viewCat.tpl file.

Seeing as the product detail page works it seems to me like it is a skinning error in that file. Try comparing it to the original.

Link to comment
Share on other sites

This is what i found:

<input type="hidden" name="add2" value="82" />

<input type="hidden" name="quan2" value="1" />

Make sure there is an appropriate php code related to $_POST['add2'] & $_POST['quan2'] in includes/boxes/shoppingCart.inc.php. If not delete number 2 in template file from.

Standard cubecart knows $_POST['add'] & $_POST['quan'] only. Those form item names are used in product page.

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