Results 1 to 3 of 3
  1. #1
    Join Date
    Mar 2005
    Posts
    142
    Plugin Contributions
    0

    Default Moving item from Info Sidebox to More Info Sidebox

    Hi All,

    I'd like to move links from the Information Sidebox to the More Information Sidebox. Basically I would like to group About, Privacy, Terms of Use, and Contact in the Information Sidebox and then group Shipping/Returns, Gift Certificates, Discount Coupons and Site Map in the More Information Box. I would like a third sidebox for primarily external links but I think I can accomplish this via EZ Pages.

    How do I move the Shipping/Returns from the Information Sidebox to the More Info Sidebox?

    Thanks!

  2. #2
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Moving item from Info Sidebox to More Info Sidebox

    1. COPY these two files:
    includes/modules/sideboxes/information.php
    includes/modules/sideboxes/more_information.php
    TO a new folder:
    includes/modules/sideboxes/YOURTEMPLATE

    2. Edit:
    includes/modules/sideboxes/YOURTEMPLATE/information.php
    and COPY this line:
    PHP Code:
        $information[] = '<a href="' zen_href_link(FILENAME_SHIPPING) . '">' BOX_INFORMATION_SHIPPING '</a>'
    to your clipboard...
    and then put two slashes in front of it to disable it: //
    Save it and upload to your server.

    3. EDIT:
    includes/modules/sideboxes/YOURTEMPLATE/more_information.php
    under the line that says:
    unset($more_information);
    just paste from your clipboard:
    PHP Code:
        $information[] = '<a href="' zen_href_link(FILENAME_SHIPPING) . '">' BOX_INFORMATION_SHIPPING '</a>'
    and then edit the beginning of the line to say $more_information instead of just $information:
    PHP Code:
        $more_information[] = '<a href="' zen_href_link(FILENAME_SHIPPING) . '">' BOX_INFORMATION_SHIPPING '</a>'
    Save. Upload. Peek at your browser.
    .

    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
    Mar 2005
    Posts
    142
    Plugin Contributions
    0

    Default Re: Moving item from Info Sidebox to More Info Sidebox

    Hello,

    This worked perfectly. I had not looked in the modules folder so missed the sideboxes folder completely. I was looking at a different sideboxes folder but couldn't find anything to change.

    Thank you for taking the time to write up a very thorough example!

 

 

Similar Threads

  1. More Info sidebox changes
    By lavenderrose in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 7 Oct 2010, 04:14 AM
  2. Moving page 2 of more info into info?
    By photoseller in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 10 Jun 2010, 01:48 AM
  3. more info sidebox
    By jchump in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 11 Jul 2008, 08:20 AM
  4. Error in more info sidebox ?
    By pupsandpets in forum Basic Configuration
    Replies: 5
    Last Post: 25 Mar 2008, 11:04 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR