If this is your first visit, check our documentation. To post, register or login.
Forums / Basic Configuration / Is it possible to change the sort order in the Information box

Is it possible to change the sort order in the Information box

Started by thegrimreaper on 23 Jan 2021, 1:27 AM · Views: 1,122

Results 1 to 3 of 3
23 Jan 2021, 1:27 AM
#1
thegrimreaper avatar

thegrimreaper

Zen Follower

Join Date:
Jan 2021
Location:
Arizona
Posts:
134
Plugin Contributions:
0

Is it possible to change the sort order in the Information box

1.57b -
The basic Responsive_Classic template

I'd like the "Privacy" link to be on the first line and the "Shipping & Info" on the second. Out-of-the box it has Shipping first, and privacy 2nd. I only found one question related to zc1.55 but could find an answer.

Any "hows"?

Thank you

Waiting to be Zenned - Over-thinking makes an easy task complicated.

23 Jan 2021, 1:36 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Re: Is it possible to change the sort order in the Information box

Copy /includes/modules/sideboxes/information.php to /includes/modules/sideboxes/NAME_OF_YOUR_TEMPLATE/information.php
and rearrange the items in there.
The Privacy link is this part:
https://github.com/zencart/zencart/blob/c5d46919cb0a9028d31b176c3e6715a1c0a62b3c/includes/modules/sideboxes/information.php#L17-L19

.
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.

23 Jan 2021, 1:46 AM
#3
thegrimreaper avatar

thegrimreaper

Zen Follower

Join Date:
Jan 2021
Location:
Arizona
Posts:
134
Plugin Contributions:
0

Re: Is it possible to change the sort order in the Information box

DrByte:

Copy /includes/modules/sideboxes/information.php to /includes/modules/sideboxes/NAME_OF_YOUR_TEMPLATE/information.php
and rearrange the items in there.
The Privacy link is this part:
https://github.com/zencart/zencart/blob/c5d46919cb0a9028d31b176c3e6715a1c0a62b3c/includes/modules/sideboxes/information.php#L17-L19

That sure did it!

Thank you very much!

Waiting to be Zenned - Over-thinking makes an easy task complicated.