Important Notice from AspDotNetStorefront
It is with dismay that we report that we have been forced, through the action of hackers, to shut off write-access to this forum. We are keen to leave the wealth of material available to you for research. We have opened a new forum from which our community of users can seek help, support and advice from us and from each other. To post a new question to our community, please visit: http://forums.vortx.com
Results 1 to 6 of 6

Thread: Checkout display change

  1. #1
    DotNetDevelopments is offline Senior Member
    Join Date
    Jul 2008
    Location
    Harlow / Essex / UK
    Posts
    619

    Default Checkout display change

    Currently on the checkout1.aspx under the credit card panel the card Expiration Date and Card Start Date are the wrong way around.

    We need the start date first then the expiration date, as it confuses some users.

    I figured this would be a quick easy fix (moving the code around on checkout1.aspx or checkout1.aspx.cs) however I could not find the code anywhere.

    Where is it held? Many thanks in advance.
    =====
    Version (Code/DB): AspDotNetStorefront MSx 9.1.0.1/9.1.0.0
    Execution Mode: 64 Bit
    Dot Net Developments - E-commerce By Experience

  2. #2
    ASPAlfred is offline Senior Member
    Join Date
    Nov 2007
    Posts
    2,244

    Default

    You should be able to switch those in checkout1.aspx.cs, find <div id="paymentPanes" runat="server"> and you should see ShowCCVerCd="True" ShowCCStartDtFields="<%$ Tokens:AppConfigBool, ShowCardStartDateFields %>", move it to where you want it to display.

  3. #3
    DotNetDevelopments is offline Senior Member
    Join Date
    Jul 2008
    Location
    Harlow / Essex / UK
    Posts
    619

    Default

    Cant find them

    snipplet of code from checkout1.aspx
    C#/VB.NET Code:
    <asp:Panel ID="pnlCreditCardPane" runat="server" Visible="false">
    <
    aspdnsf:Topic runat="server" ID="CheckoutCreditCardPageHeader" TopicName="CheckoutCreditCardPageHeader" />
    <
    asp:Literal ID="CCForm" runat="server" Mode="passThrough"></asp:Literal>
    </
    asp:Panel
    and checkout1.aspx.cs
    C#/VB.NET Code:
    CCForm.Text WriteCCPane(OrderFinalizationInstructionsBillingAddressRequireTermsPM); 
    which leads us too...
    C#/VB.NET Code:
    s.Append(OrderFinalizationInstructions);
    s.Append("<input type=\"hidden\" name=\"paymentmethod\" value=\"" AppLogic.ro_PMCreditCard "\">\n");
    s.Append("<p><b>" AppLogic.GetString("checkoutcard.aspx.6"SkinIDThisCustomer.LocaleSetting) + "</b></p>");
    s.Append(BillingAddress.InputCardHTML(ThisCustomertrueRequireTermstrue));
    s.Append("<br/>");
     
    s.Append("<p align=\"center\">");
                    
     
    s.Append("</p>"); 
    then nothing.

    I am really struggling to find where this code is been called from?
    Any ideas?
    =====
    Version (Code/DB): AspDotNetStorefront MSx 9.1.0.1/9.1.0.0
    Execution Mode: 64 Bit
    Dot Net Developments - E-commerce By Experience

  4. #4
    storedeveloper is offline Member
    Join Date
    May 2009
    Posts
    77

    Default hi

    The above anwser is for v9 and you are using version v8. for this you have to modify
    this function BillingAddress.InputCardHTML(ThisCustomer, true, RequireTerms, true) .

    This is in the address.cs file and if you have full source code then you are able to modify it.

    Thanks

  5. #5
    DotNetDevelopments is offline Senior Member
    Join Date
    Jul 2008
    Location
    Harlow / Essex / UK
    Posts
    619

    Default

    Thanks we found it (the one with 4 params not 3, almost got confused)

    I just spent the last 10 minutes commenting all the code so I can move it all about.

    Thanks for your help!
    =====
    Version (Code/DB): AspDotNetStorefront MSx 9.1.0.1/9.1.0.0
    Execution Mode: 64 Bit
    Dot Net Developments - E-commerce By Experience

  6. #6
    DotNetDevelopments is offline Senior Member
    Join Date
    Jul 2008
    Location
    Harlow / Essex / UK
    Posts
    619

    Default

    The only issue when ever I recompile my shipping options no longer work. You press the button and then nothing comes up. I am using weight based shipping so it is no issue with 3rd parties.
    =====
    Version (Code/DB): AspDotNetStorefront MSx 9.1.0.1/9.1.0.0
    Execution Mode: 64 Bit
    Dot Net Developments - E-commerce By Experience