close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

eCart Column Calamity

Thread began 11/12/2015 1:22 pm by ccooper309155 | Last modified 11/16/2015 12:07 pm by ccooper309155 | 1232 views | 5 replies

ccooper309155

eCart Column Calamity

Hi

I’m trying to add a new Column (called Stock) to eCart (using eCart 4.5.2 on an ASP VB web site).

Turns out it’s not as easy as adding a Column via the eCart Panel as all that does is update DMWCart_VB.asp and WA_eCart_Definition_VB.asp.

I had to go through every page with an Add to Cart button and update it with the new Column. (I couldn’t use the wizard because it would screw up the CSS styling I had on the buttons.)

So far, so good. I could now add items to the Cart using the updated Add to Cart buttons.

But I couldn’t then go from the Cart page to the CheckoutSSL page without getting a 500 server error. So I manually made some changes to the Cart page to so its form would also pass the new Stock Column info to the secure Checkout page, adding the line in the appropriate place:

<input type="hidden" name="Stock_<%=DMWCart_Index%>" id="Stock_<%=DMWCart_Index%>" value="<%=WA_eCart_DisplayInfo(DMWCart, "Stock")%>" />

That seemed to move the info properly to the CheckoutSSL page but I would then get a 500 internal server error when clicking Continue to the ConfirmSSL page.

I tried adding the following code to the CheckoutSSL page in the appropriate places:

ATC_Stock = "" & cStr(Request.Form("Stock_"&(displayIndex))) & ""

AND

, ATC_Stock

But still got a 500 error from the ConfirmSSL page.

Trouble is, I don’t know how to modify the ConfirmSSL page code to solve this problem (and I can’t tell what/where the code is causing the 500 error because this server won’t tell me the line).

So my question is: How do I manually modify my ConfirmSSL page to accept a new eCart Column called Stock … AND are the lines of code I’ve manually added to the Cart and CheckoutSSL pages the correct ones?

Please advise.

I’d like to add more columns to this eCart in the near future so it’s imperative I find out how this works.

Thanks,

Craig

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