Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Problem with removing links from information box

Problem with removing links from information box

Locked

Views: 1,090

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
27 Nov 2009, 4:53 PM
#1
destroyx avatar

destroyx

New Zenner

Join Date:
Nov 2009
Posts:
2
Plugin Contributions:
0

Problem with removing links from information box

Hello there!

In my fresh install of zencart, I would like to remove some links from the information sidebox, particularly "Gift Certificate FAQ, Discount Coupons, Newsletter Unsubscribe"

I can't find where to turn them off in the Admin > Configuration > Define Page Status area. Is there anywhere else I can be looking?

Thanks for your help!

27 Nov 2009, 5:32 PM
#2
charmedbytina2 avatar

charmedbytina2

Totally Zenned

Join Date:
Mar 2007
Location:
AZ
Posts:
1,890
Plugin Contributions:
0

Re: Problem with removing links from information box

The Tutorials/FAQ tab above provides lot of guidance. :smile:

Turn off gift certificates:

Admin> Modules> Order Totals> Gift Certificates> uninstall

Turn off gift certificates:
Admin> Modules> Order Totals> Discount Coupons> unistall

Remove Newsletter Unsubscribe:

Go to Configuration > Email Options > Display 'Newsletter Unsubscribe' Link

Then go to **Configuration > Customer Details > Show Newsletter Checkbox -- **This will remove the subscription checkbox on the new account signup page (although the title still says 'Newsletter and Email Details', you will have to change the code to remove that)

Tina

27 Nov 2009, 10:17 PM
#3
zjoel712x avatar

zjoel712x

New Zenner

Join Date:
Oct 2009
Posts:
5
Plugin Contributions:
0

Re: Problem with removing links from information box

Now I have another question.
What if I don't want to uninstall the Gift Certificate Module but I just don't want the Link in the information box?

My guess is that I'll have to modify the code in the sidebox.
In modules/sideboxes/information.php:

  // only show GV FAQ when installed
  if (MODULE_ORDER_TOTAL_GV_STATUS == 'true') {
    $information[] = '<a href="' . zen_href_link(FILENAME_GV_FAQ) . '">' . BOX_INFORMATION_GV . '</a>';
  }

So if GV FAQ is installed but I don't want the link thenI have to comment that code out.

  // only show GV FAQ when installed
//  if (MODULE_ORDER_TOTAL_GV_STATUS == 'true') {
//    $information[] = '<a href="' . zen_href_link(FILENAME_GV_FAQ) . '">' . BOX_INFORMATION_GV . '</a>';
//  }
30 Nov 2009, 5:36 PM
#4
destroyx avatar

destroyx

New Zenner

Join Date:
Nov 2009
Posts:
2
Plugin Contributions:
0

Re: Problem with removing links from information box

charmedbytina2:

The Tutorials/FAQ tab above provides lot of guidance. :smile:

Turn off gift certificates:

Admin> Modules> Order Totals> Gift Certificates> uninstall

Turn off gift certificates:
Admin> Modules> Order Totals> Discount Coupons> unistall

Remove Newsletter Unsubscribe:

Go to Configuration > Email Options > Display 'Newsletter Unsubscribe' Link

Then go to **Configuration > Customer Details > Show Newsletter Checkbox -- **This will remove the subscription checkbox on the new account signup page (although the title still says 'Newsletter and Email Details', you will have to change the code to remove that)

Tina

YAY! It worked! Thanks so much Tina for your help. I really appreciate it. I must have overlooked it in the FAQ section when I was looking for the answer.