Results 1 to 6 of 6
  1. #1
    Join Date
    Feb 2009
    Posts
    354
    Plugin Contributions
    0

    Default changing default page in my account

    In the 'my account' pages would anyone happen to know how to change which page is the default page?? - this is the first page displayed on linking to 'my account' and the page it goes to on submitting information, e.g. updating data in the 'profile'. Currently it is on the 'show orders' page - maybe there is something in the admin.. preferably so.. if not a re-coding.

    _thanks

  2. #2
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: changing default page in my account

    The default My Account page is main_page=account ... which is the page where you have a brief display of your last 3 orders, a link to your full order history, and links to change your account profile details.
    There is no admin-switch to change that behavior.
    .

    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.

  3. #3
    Join Date
    Feb 2009
    Posts
    354
    Plugin Contributions
    0

    Default Re: changing default page in my account

    thanks for the response Dr. Would you know the filename that should be edited in order to change the default to main_page=account_edit ??

    _thanks

  4. #4
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: changing default page in my account

    That depends what you mean by "default".
    When I said "default" earlier, I was referring to the fact that the "My Account" link in the header navigation menu points to main_page=account.
    If you want to change that, feel free to manually edit your template accordingly.

    If you have My Account links elsewhere on your site, you'll need to manually edit those similarly as well.
    .

    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
    Feb 2009
    Posts
    354
    Plugin Contributions
    0

    Default Re: changing default page in my account

    thanks again Dr.

    Yes - I've already changed the 'my account' link to the 'edit profile' page ... what I was meaning is the page that it is sent to when updating data in the 'profile' for example - it seems strange updating info on the 'edit profile' page and on submitting being sent to the 'view orders' page.

    _thanks sincerely for the push

  6. #6
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: changing default page in my account

    The "main_page=account" page DOES show the last 3 orders on-screen.

    Making edits to something like the email address will naturally return you to the main_page=account screen when you click Save. And, that screen will show the last 3 orders summary at the top. That's by design.
    .

    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.

 

 

Similar Threads

  1. v151 Update Account Information Page default for Newsletter incorrect.
    By jackolive in forum General Questions
    Replies: 0
    Last Post: 3 Jan 2013, 05:21 AM
  2. v150 Changing Main Page Default text
    By The Gift Fairy in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 15 Feb 2012, 12:20 PM
  3. Changing default text on a category page with no items
    By Otha in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 11 Aug 2010, 05:31 AM
  4. Changing Default Landing Page
    By dwessell in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 16 Feb 2007, 08:03 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