Results 1 to 7 of 7
  1. #1
    Join Date
    Mar 2008
    Location
    Kelowna, BC
    Posts
    32
    Plugin Contributions
    0

    red flag I want to remove the LOGOFF button

    Please see attachment - I've managed to edit all text the way I want on the checkout success page, but I can't get rid of the LOGOFF button.

    If someone could let me know how that would be great, even if it means just replacing that button with a white one to make it "disappear". Not sure where to start.

    I tried removing the following code from checkout_success.php but it accomplished nothing.

    define('TEXT_CHECKOUT_LOGOFF_GUEST', '');
    define('TEXT_CHECKOUT_LOGOFF_CUSTOMER', '');

    Thanks!

    Name:  logoffbuttonproblem.jpg
Views: 407
Size:  27.7 KB

  2. #2
    Join Date
    Nov 2007
    Posts
    11
    Plugin Contributions
    0

    Default Re: Remove LOGOFF button

    There are two checkout_success.php files

    1)includes/languages/english/checkout_success.php
    2)includes/languages/english/html_includes/CUSTOM/define_checkout_success.php

    -->Avoid modifying checkout_success.php as this may break the modular structure of your code.
    -->You could modify the define_checkout_success.php through the admin control page as follow:

    1) Login to admin
    2) Select tools
    3) Select Define Page editor
    4) From the pulldown select define_checkout_success and edit the provided area with whatever you need.

    Note: make sure you have the right permissions to edit and save to the file.

    I hope this would help.

    Take care

  3. #3
    Join Date
    Mar 2008
    Location
    Kelowna, BC
    Posts
    32
    Plugin Contributions
    0

    Default Re: I want to remove the LOGOFF button

    Thanks for replying, but define_checkout_success.php only allows for simple text edits, that's why I've looked for other options.

    I've accomplished a lot so far that can't be done in the Define Page Editor, but yes I know that backing up files is important.

    If anyone else knows how to hide that logoff button please let me know.

  4. #4
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: I want to remove the LOGOFF button

    Why are you wanting to remove the button? It's there to remind customers to log out when they're finished shopping, rather than possibly leaving themselves logged in so someone can snoop in their personal data.



    As to "where", it's in the template file for the checkout success page: tpl_checkout_success_default.php
    OR, you could just hide it by adding the following in your stylesheet:
    Code:
    #checkoutSuccessLogoff {display: none;}
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #5
    Join Date
    Mar 2008
    Location
    Kelowna, BC
    Posts
    32
    Plugin Contributions
    0

    Idea or Suggestion Re: I want to remove the LOGOFF button

    First off, thanks for letting me know where to find the logoff button code. Removing some code in that template file worked fine.

    My users don't login at all with Zencart. I wanted to avoid all of that and just have them pay through PayPal - so I removed any options after the add to cart page except for PayPal Express.

    That being said, will I run into problems having taxes and shipping show up correctly since users only ever login to PayPal and not to Zencart? Should the proper information transfer over correctly?

    I'll post my tax issues elsewhere...

    Thanks again

  6. #6
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: I want to remove the LOGOFF button

    Of course you'll have problems with shipping and taxes ... Zen Cart uses the customer details to calculate those.
    You're using it in a way it was not designed to operate.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  7. #7
    Join Date
    Mar 2008
    Location
    Kelowna, BC
    Posts
    32
    Plugin Contributions
    0

    Default Re: I want to remove the LOGOFF button

    OK. I've just found that they are filling out so much information when all they need to do is pay and download.

    I'll have to revert back and try to tweak how much info they need to provide. From what I read it's difficult to make certain fields not mandatory?

    Thanks

 

 

Similar Threads

  1. Logoff Button scrolls to the row below top navbar
    By zc_fan in forum General Questions
    Replies: 4
    Last Post: 14 May 2011, 12:39 AM
  2. I want to remove/disable Add to Cart button
    By keyelement66 in forum Setting Up Categories, Products, Attributes
    Replies: 7
    Last Post: 13 May 2011, 08:30 AM
  3. Checkout Success No Logoff button
    By crazycucumber in forum Upgrading from 1.3.x to 1.3.9
    Replies: 7
    Last Post: 7 Sep 2009, 12:31 AM
  4. No LOGOFF button
    By onemorekat in forum General Questions
    Replies: 3
    Last Post: 13 Aug 2009, 03:06 PM
  5. want to place a logoff button in my account page..need help
    By lastpirate007 in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 16 Jul 2008, 03:16 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