close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Order ID

Thread began 4/18/2015 3:11 am by NWak04030229 | Last modified 4/22/2015 10:56 am by Ray Borduin | 1757 views | 5 replies |

NWak04030229

Order ID

Thank you for all your help so far with bits and pieces - am almost there!
One final (I think) question:
How do I change the Order ID? It is set to use the sessionID at the minute and that is much too long a number if anyone has a query. I have looked on the forums and tried to follow some of the answers but I keep getting lost somewhere along the line.
Thanks
Nick

Sign in to reply to this post

Ray BorduinWebAssist

If you are storing the order in the database then the "Store Cart Summary in Database" server behavior has a "Save As" value that specifies the Session variable name that stores the OrderID from the database. This will be a much smaller number and can be replaced in the receipt pages and email.

Sign in to reply to this post
Did this help? Tips are appreciated...

NWak04030229

Ray, thanks for the reply. Sorry, I should have mentioned I am not using a database. Is there a way to change it when not using the database?

Sign in to reply to this post

Ray BorduinWebAssist

What do you want to change it to? You can change it, but I'm not sure what you would use.

Sign in to reply to this post
Did this help? Tips are appreciated...

NWak04030229

Ray - thanks for getting back.

I really just want to make it a bit simpler - at the minute it's about 13 digits/letters long and wanted to simplify it down to maybe 7 or 8

Sign in to reply to this post

Ray BorduinWebAssist

You could pair it down to just the last 7 characters of the same number. Instead of

php:
<?php echo(session_id()); ?>

you could use:

php:
<?php echo(substr(session_id(),-7)); ?>



That would get you just the last 7 characters of that same string. It wouldn't be guaranteed unique, but probably close enough.

Sign in to reply to this post
Did this help? Tips are appreciated...

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