Results 1 to 8 of 8
  1. #1
    Join Date
    Jun 2006
    Posts
    23
    Plugin Contributions
    0

    Default adding a message to check out page

    My client asked me if I could add a message to his checkout page at
    http://www.portlandwinegear.com

    "I need you to add something at the checkout that says "To place your order using payment other than Paypal, please contact us at 503-231-1121 or email [email protected]. Thank you. We have a way of taking credit cards over the phone now but we need people to know this before they go somewhere else.
    Thanks,
    Joe"

    Can this be done or do I have to add this to the front page?

  2. #2
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: adding a message to check out page

    You'll need to modify two files:

    First: includes/languages/english/checkout_payment.php

    create a new define statement

    Code:
    define ('TEXT_CUSTOMER_MESSAGE', 'To place your order using payment other than Paypal, please contact us at 503-231-1121 or email [email protected]. Thank you.');
    Save the file to includes/languages/english/YOUR_TEMPLATE/checkout_payment.php and upload to you server

    two: includes/templates/template_default/templates/tpl_checkout_payment_default.php

    find:
    Code:
    <h1 id="checkoutPaymentHeading"><?php echo HEADING_TITLE; ?></h1>
    below this line add the following:
    Code:
    <?php echo TEXT_CUSTOMER_MESSAGE; ?>
    Save the file to includes/templates/YOUR_TEMPLATE/templates/tpl_checkout_payment_default.php and upload to your server

  3. #3
    Join Date
    Jun 2006
    Posts
    23
    Plugin Contributions
    0

    Default Re: adding a message to check out page

    Quote Originally Posted by clydejones View Post
    You'll need to modify two files:

    First: includes/languages/english/checkout_payment.php

    create a new define statement

    Code:
    define ('TEXT_CUSTOMER_MESSAGE', 'To place your order using payment other than Paypal, please contact us at 503-231-1121 or email [email protected]. Thank you.');
    Save the file to includes/languages/english/YOUR_TEMPLATE/checkout_payment.php and upload to you server

    two: includes/templates/template_default/templates/tpl_checkout_payment_default.php

    find:
    Code:
    <h1 id="checkoutPaymentHeading"><?php echo HEADING_TITLE; ?></h1>
    below this line add the following:
    Code:
    <?php echo TEXT_CUSTOMER_MESSAGE; ?>
    Save the file to includes/templates/YOUR_TEMPLATE/templates/tpl_checkout_payment_default.php and upload to your server
    Thanks Clyde, I made the changes that you mentioned above, but where you mentioned:
    Save the file to includes/templates/YOUR_TEMPLATE/templates/tpl_checkout_payment_default.php and upload to your server

    my template name is not in that directory. Instead I added the line to
    /home/portlao0/public_html/shop/includes/languages/english/shopping_cart.php
    file and its is showing up where I want it. How can I bold the letters and make the email a link using html is a php file? All my editing is done on my webhost server so I don't need to upload.

    This is the locaton of my winegear template:
    / public_html / shop / includes / templates / winegear_template /

    Why is this different than your instructions? Thanks, Dave

  4. #4
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: adding a message to check out page

    YOUR_TEMPLATE is a generic term to indicate the any name you choose. You'll also see CUSTOM used and it serves the same purpose.

    When writing instructions and with literally thousands of carts out there one can't write the actual file structure used by each and every user.

  5. #5
    Join Date
    Jun 2006
    Posts
    23
    Plugin Contributions
    0

    Default Re: adding a message to check out page

    Thanks Clyde.

    Can I bold the statement in that file? and make the email address a link?

  6. #6
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: adding a message to check out page

    Of course you can style it any way you need.

    On linking to the e-mail address I wouldn't in order to prevent spam bots going through and "harvesting" the address. But if you think the risk is low then go ahead.

  7. #7
    Join Date
    Jun 2006
    Posts
    23
    Plugin Contributions
    0

    Default Re: adding a message to check out page

    You're maybe right about leaving the email the way it is. But if I want to add
    <h2> tags to make it bold will take the html tags?
    How would I write it?

  8. #8
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: adding a message to check out page

    Just rewrite the define statement as follows:

    define ('TEXT_CUSTOMER_MESSAGE', '<h2>To place your order using payment other than Paypal, please contact us at 503-231-1121 or <a href="' . zen_href_link(FILENAME_CONTACT_US, '', 'SSL') . '">E-Mail Us</a> Thank you.</h2>');

    This will also send them to the contact page where they can compose an e-mail message if the choose.

    You can see how it looks on the main page of my http://mysticmountainnaturals.com/testsite/

 

 

Similar Threads

  1. Customizing the check out page by adding a dropdown menu of delivery times
    By watzursn in forum Templates, Stylesheets, Page Layout
    Replies: 12
    Last Post: 20 Oct 2011, 09:49 PM
  2. Adding field to check-out/billing page?
    By stormysar in forum Managing Customers and Orders
    Replies: 1
    Last Post: 18 Jul 2009, 12:41 PM
  3. Adding Text on my one and only check out page
    By sandy2000ca in forum General Questions
    Replies: 1
    Last Post: 16 Sep 2008, 05:22 PM
  4. Adding text to check out page
    By LyndaRay in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 15 Sep 2008, 10:54 AM

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