close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

recoding from a premier ticket

Thread began 3/18/2016 10:31 am by Christopher West | Last modified 3/24/2016 1:43 pm by Ray Borduin | 186 views | 7 replies |

Christopher WestCommunity Expert

recoding from a premier ticket

Hi Ray, a while back you helped me with custom shipping rules based on weight and also product options (it was quite technical the product options) in a premier ticket (back when I was using MySQL) Soon I will be recoding Dinky Fingerprint websie with a fresh design and using up to date MySQLi server extensions) My question to you is, if we do another premier ticket. is it possible to incorporate somehow the custom shipping rules and the product options in eCart control panel within Dreamweaver. Even though it was all custom code, Im am wondering if somehow eCart is able to do? I would like this very much as it keeps my code cleaner and easier to adapt in the future?

Sign in to reply to this post

Ray BorduinWebAssist

Yes, I believe that would be possible to do in a premier ticket.

Sign in to reply to this post

Christopher WestCommunity Expert

So to confirm, the premier ticket you did with me a long time ago where we added custom custom on various checkout pages, we could completely remove all that and add it inside the webassist ecart object (where the shipping and other rules are)? How come we didn't do this approach originally as it seems like a much for efficient and cleaner approach?

Chris

Sign in to reply to this post

Ray BorduinWebAssist

No I doubt we could completely remove it. I think we would probably need custom code to store a session variable and then use the session variable in the eCart code.

The truth is that I don't remember the code you are referring to, but my guess is that if we could have done it all in the cart we would have.

Sign in to reply to this post

Christopher WestCommunity Expert

I assumed that we stayed away from using the ecart object approach as it was easier for you to hand code since you didnt know the ins and outs of my coding structure etc or some of the things I wanted to do. Would it help if I shared some of the files that you did for me? If you had time to have a look and to recap what you did, it could give you an idea how much we can do in the ecart object? Let me attach some of the files that you did.

Chris

Sign in to reply to this post

Ray BorduinWebAssist

Since we are looking up values from the Database, it requires creating recordsets outside of the eCart object to get the proper rates. We could not do it entirely in the cart.

Sign in to reply to this post

Christopher WestCommunity Expert

Ok so we ended up doing all the calculations outside of the ecart object and dos everything on the various php pages, so would it then be possible if we did all the recordsets and they were held as session variables then I could move all the calculations inside the ecart object. To keep things clean in terms of code. I guess there were a few IF statements though that were used that couldn't get moved into the ecart object. I like the idea of doing all my calculations in the ecart object as it helps with making modifications quickly in the future plus it helps revisiting the code if I left it for many months and need to revisit it for what ever reason. So the more I can do in the ecart object the better :)

Sign in to reply to this post

Ray BorduinWebAssist

That makes sense. We should be able to do the calculations from the session values in the cart once they are all stored.

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