Skip to Content
author's profile photo Former Member
Former Member

Additional funfionality on shipping page

Hi,

We need to add two new fields to store additional information in own user table, but I have a problem to add my code do continue button to save this information. Do you have any idea how to do this in WT 6.0 ?

Thanks for help

Greg.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jun 15, 2008 at 10:35 AM

    Hi Shane thanks for help.

    we try to add notes field on Shipping.aspx page. We want to give opportunity to put some additional information about delivery. I added notes (aspx:text field). ?But now i have problem to catch event that button has been pressed. Please advice how i can do this.

    My idea was create new button and hide yours, next create onClick function which will do my part of code and next call your onclick function but please advice how.

    And second question, we have made a lot of customization on our page. Now I would like to update to latest path, where i can find list of files which has been change. It's quite difficult to analyze changes in all.

    Greg.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Bummer.

      Replace the save() with this:

      if (txtDayPhone.Text == "")
                  {
                      imgPhoneWarning.Visible = true;
                      return;
                  }
                  if (dtRequestedShipDate.SelectedDate != DateTime.MinValue && dtRequestedShipDate.SelectedDate <= DateTime.Now)
                  {
                      imgRequestedShipDate.Visible = true;
                      return;
                  }
                  else
                  {
                      imgRequestedShipDate.Visible = false;
                      _order.RequestedShipDate = dtRequestedShipDate.SelectedDate;
                  }
                  _order.Calculate();
      
      if (addid > 0){
        Response.Redirect("billing.aspx", true);
      }
      

      As long as you are not using webflow on this page, this should be all you need.

  • author's profile photo Former Member
    Former Member
    Posted on Jun 13, 2008 at 07:35 PM

    Hi Greg,

    First, when adding custom data to Webtools, I would suggest always using a table that joins to the pertinent WT table. We do not do anything to make sure your schema stays in tact during upgrades, so it is best not to modify the distributed tables.

    If the data you need to add is system data and does not require user input, you can use a webflow to redirect to a page to do your processing.

    If you are adding controls for user input, you will need to make the current continue button invisible and add your own continue to the shipping page. You will need to make sure you handle all of the current processing if you do this. I can give you more information on this if this is your problem.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.