close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 or 2018 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Modding a Very Old Version of eCart

Thread began 8/17/2012 7:07 am by contact433031 | Last modified 9/11/2012 11:39 am by contact433031 | 1818 views | 3 replies

contact433031

Modding a Very Old Version of eCart

Hi,

I currently have a client that's using a very old version of eCart and is unwilling to upgrade to a proper database-based shopping cart, so I am stuck with figuring out how to modify the code to fit within their design constraints.

I'm a graphics -- print production -- person who has moved into the web space, so my knowledge of code -- specifically javascript -- is mediocre, at best.

Here are my questions:
1. how do I find out what version of eCart we are using?
- This is not a Dreamweaver plugin or GUI-attached version of the software, like your current product offerings that incorporate MySQL and PHP. It's all javascript that's modified one file at a time that uses browser cookies to store order information. As far as I can see it's been used as early as late 2007 or early 2008.

2. What are the limitations of the cookie-based javascript version of this software that might hinder or invalidate attempts to use eCart? Specifically, is there a limit to the number of items that can be added to the cart with a single form action?

Using PHP I've been able to alter the code to the extent that products from a MySQL database will populate the javascript fields, but I have run up against a limit of 24 items that can be recognized by the cookie. Specifically, I am using a PHP loop to display items from the database and then loop the eCart JS code so that there are 32 _quantity_ input fields on a single page (representing 32 different colors) with a single "add to cart" JS function.

It works splendidly unless I want any of the items beyond the first 24, which do not show up at all, even if they are the only items selected.

If you need files to explain I can provide them, and I'd greatly appreciate ay help you can offer.

Thanks in advance.

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