Results 1 to 7 of 7
  1. #1
    Join Date
    Apr 2007
    Location
    Ontario, Canada
    Posts
    97
    Plugin Contributions
    0

    Default Check out process changes?

    Hi there,

    I'm trying to remove the following from my checkout page (step 2 of 3):

    PHP Code:
    "Customers billing address",
    Your billing address is shown to the leftThe billing address should match the address on your credit card 
    statement
    You can change the billing address by clicking the Change Address button
    I have found it in the following file
    includes/languages/english/checkout_payment.php
    and commented out the following

    PHP Code:
    define('TABLE_HEADING_BILLING_ADDRESS''Billing Address');
    define('TEXT_SELECTED_BILLING_DESTINATION''Your billing address is shown to the left. The billing address should match the address on your credit card statement. You can change the billing address by clicking the <em>Change Address</em> button.');
    define('TITLE_BILLING_ADDRESS''Billing Address:'); 
    but am still seeing this

    PHP Code:
    "customers address"
    TEXT_SELECTED_BILLING_DESTINATION 
    what am I missing? There is obviously something else I need to be fixing to stop the billing address section from coming up.

    Also trying for the same thing on page 3 of 3 but can likely figure that out from the above.

    Thanks so much
    Lisa

  2. #2
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: Check out process changes?

    You can't comment out a define.

    You would need to find the file (probably tpl_checkout_payment_default.php) and remove or comment out that section.
    You may also be able to turn it off in the stylesheet.

  3. #3
    Join Date
    Apr 2007
    Location
    Ontario, Canada
    Posts
    97
    Plugin Contributions
    0

    Default Re: Check out process changes?

    Ok thanks - I'll have a look around - I'm not so good at PHP but am learning by trial and error lol - if anyone else can directly point me to the place that would be great and save me some hairpulling.

    Thanks Stevesh - I didn't realize you couldn't comment out a define.

  4. #4
    Join Date
    Jun 2009
    Location
    Brisbane, QLD AUS
    Posts
    210
    Plugin Contributions
    0

    Default Re: Check out process changes?

    While you can't comment it out, you can define the text as a zero length string by removing the definitions content.

    To do this, change...

    PHP Code:
    define('TEXT_SELECTED_BILLING_DESTINATION''Your billing address is shown to the left. The billing address should match the address on your credit card statement. You can change the billing address by clicking the <em>Change Address</em> button.'); 
    ...to...

    PHP Code:
    define('TEXT_SELECTED_BILLING_DESTINATION'''); 
    you will still have the whitespace left behind, but it might suit your purpose if you have trouble with the other option?

    cheers
    andrejs

  5. #5
    Join Date
    Apr 2007
    Location
    Ontario, Canada
    Posts
    97
    Plugin Contributions
    0

    Default Re: Check out process changes?

    Thank you - now am going to try and find out how to get rid of the actual address and the address change button.

  6. #6
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: Check out process changes?

    You can add this to your stylesheet:

    #checkoutBillto {display:none;}

  7. #7
    Join Date
    Apr 2007
    Location
    Ontario, Canada
    Posts
    97
    Plugin Contributions
    0

    Default Re: Check out process changes?

    TY TY TY TY THANK YOU!!!!!!!!
    So simple - I can not thank you enough lol!

 

 

Similar Threads

  1. v150 Check Out Process - Two questions
    By redkathy in forum General Questions
    Replies: 2
    Last Post: 5 May 2012, 04:54 AM
  2. customizing check out process
    By procella in forum General Questions
    Replies: 0
    Last Post: 2 Dec 2008, 01:02 PM
  3. Problem with Text in Check Out Process
    By Sha in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 24 May 2008, 10:34 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg