Results 1 to 3 of 3
  1. #1
    Join Date
    Mar 2007
    Location
    Worcester UK
    Posts
    138
    Plugin Contributions
    0

    Default 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

  2. #2
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,973
    Plugin Contributions
    96

    Default 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:
    Code:
      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
    /*
      if (MODULE_ORDER_TOTAL_GV_STATUS == 'true') {
        $information[] = '<a href="' . zen_href_link(FILENAME_GV_FAQ) . '">' . BOX_INFORMATION_GV . '</a>';
      }
    */
      // 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>';
      }

  3. #3
    Join Date
    Mar 2007
    Location
    Worcester UK
    Posts
    138
    Plugin Contributions
    0

    Default 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

 

 

Similar Threads

  1. v151 How to remove Gift Certificate FAQ page
    By stoneroses6300 in forum General Questions
    Replies: 0
    Last Post: 25 Nov 2014, 06:18 PM
  2. v150 Doesn't Uninstalling Gift Certificate & Coupons remove the FAQ's ?
    By ocmusic in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 7 Nov 2013, 08:30 PM
  3. Gift Certificate FAQ Remove Not working right
    By dutchy in forum General Questions
    Replies: 4
    Last Post: 8 Apr 2011, 10:46 PM
  4. Gift Certificate FAQ is wrong, but where is it ?
    By ggbarnum in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 3
    Last Post: 23 Oct 2010, 07:13 PM
  5. How do I remove Gift Certificate FAQ
    By jvalent in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 9 Aug 2008, 08:33 AM

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