close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Cannot Update / Remove Cart Items

Thread began 5/16/2011 8:19 am by elewis93815 | Last modified 5/16/2011 10:29 am by Jason Byrnes | 971 views | 3 replies |

elewis93815

Cannot Update / Remove Cart Items

Hello,

I have created a shopping page for Gift Cards (giftcards-hold.php). Page works fine with respect to submitting the correct data to the cart, however, once you have added your gift card to the cart, you cannot select the "remove" check box and hit update to remove the item. We have a few other shopping pages that work fine if you need to remove a single item, it is just this particular page.

I have attached the pages associated with this, any help would be appreciated.

Thanks,

Jackie
952.583.5616

Attached Files
WA Gift Cards.zip
Sign in to reply to this post

Jason ByrnesWebAssist

the id being assigned to the item when adding it to the cart must be a whole number grater than 0:

change:
<input type="hidden" name="cupcake1_2_ID_Add2" value="0" />

to:
<input type="hidden" name="cupcake1_2_ID_Add2" value="10" />

Sign in to reply to this post

elewis93815

Originally Said By: Jason Byrnes
  the id being assigned to the item when adding it to the cart must be a whole number grater than 0:

change:
<input type="hidden" name="cupcake1_2_ID_Add2" value="0" />

to:
<input type="hidden" name="cupcake1_2_ID_Add2" value="10" />  




Hi Jason,

I made the above listed change and we are still not able to update or remove the selection from the cart, please advise.

Jackie

Sign in to reply to this post

Jason ByrnesWebAssist

on the cart display page, change:
<td class="eC_FormItem"><input type="checkbox" value="<?php echo $cupcake1->DisplayInfo("ID"); ?>" name="cupcake1_Delete_<?php echo $cupcake1->DisplayIndex; ?>" /></td>

to:
<td class="eC_FormItem"><input type="checkbox" value="0" name="cupcake1_Delete_<?php echo $cupcake1->DisplayIndex; ?>" /></td>

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...