Forums / General Questions / Remove Gift Certificate FAQ but keep GVs in the catalogue

Remove Gift Certificate FAQ but keep GVs in the catalogue

Started by kevin_a on 19 Sep 2014, 5:40 PM · Views: 1,113

Results 1 to 3 of 3
19 Sep 2014, 5:40 PM
#1
kevin_a avatar

kevin_a

Zen Follower

Join Date:
Mar 2007
Location:
Worcester UK
Posts:
147
Plugin Contributions:
0

Remove Gift Certificate FAQ but keep GVs in the catalogue

Hi
I want to remove the menu item Gift Certificate FAQ from the information SIDE box, but still want to offer gift certificates in the catalog.

I have done a search for this both in the Developers Tool Kit key words, and the forum, without success.
The name seems to be a compound string from various sources.
I found the 'FAQ' element in languages/mytemplate/english.php, but not the string "Gift Certificate"

I have seen solutions for removing both GVs and the links, but not just the menu item under information side box.

Any help would be much appreciated thanks.

http://romseybaitandtackle.co.uk/

kevin_a

19 Sep 2014, 8:14 PM
#2
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,129
Plugin Contributions:
56

Re: Remove Gift Certificate FAQ but keep GVs in the catalogue

First, copy the file /includes/modules/information.php to /includes/modules/clean_business/information.php (if it's not already there), then edit the template-specific file to comment-out the link:

  if (DEFINE_SITE_MAP_STATUS <= 1) {
    $information[] = '<a href="' . zen_href_link(FILENAME_SITE_MAP) . '">' . BOX_INFORMATION_SITE_MAP . '</a>';
  }

  // only show GV FAQ when installed
[B]/*[/B]
  if (MODULE_ORDER_TOTAL_GV_STATUS == 'true') {
    $information[] = '<a href="' . zen_href_link(FILENAME_GV_FAQ) . '">' . BOX_INFORMATION_GV . '</a>';
  }
[B]*/[/B]
  // only show Discount Coupon FAQ when installed
  if (DEFINE_DISCOUNT_COUPON_STATUS <= 1 && MODULE_ORDER_TOTAL_COUPON_STATUS == 'true') {
    $information[] = '<a href="' . zen_href_link(FILENAME_DISCOUNT_COUPON) . '">' . BOX_INFORMATION_DISCOUNT_COUPONS . '</a>';
  }
20 Sep 2014, 9:05 AM
#3
kevin_a avatar

kevin_a

Zen Follower

Join Date:
Mar 2007
Location:
Worcester UK
Posts:
147
Plugin Contributions:
0

Re: Remove Gift Certificate FAQ but keep GVs in the catalogue

That's great thanks lat9

The only qualification to your answer is that in my version of ZenCart (1.5.1), the information.php is in the modules/sideboxes/myTemplate/ override subfolder.

So the path for this file in my case (and maybe others who have same version) is

/includes/modules/sideboxes/myTemplate/information.php

Problem sorted though, and I am grateful for the prompt support.

kevin_a