Page 1 of 2 12 LastLast
Results 1 to 10 of 18
  1. #1
    Join Date
    Sep 2006
    Location
    Colorado Springs CO USA
    Posts
    516
    Plugin Contributions
    2

    Default Removing Gift Certificate FAQ from sidebox in V1.3.8a

    I just completed a v 1.3.8a clean install and want to remove "Gift Certificate FAQ" and "Discount Coupons" from the Information sidebox.

    Several previous forum posts related to earlier ZenCart versions say to go to Admin->Modules->Order Total and de-install the related modules. I have verified that neither module was installed, yet the sidebox still lists these two items.

    How do I remove these items from the Information sidebox in ZenCart 1.3.8a?

    Ron
    www.aspenshopsonline.com - ZenCart 1.3.9h
    www.wilkssupply.com - ZenCart 1.3.9h
    www.un-du.net - ZenCart 1.3.8a

  2. #2
    Join Date
    May 2005
    Location
    Bath, Somerset
    Posts
    1,053
    Plugin Contributions
    3

    Default Re: Removing Gift Certificate FAQ from sidebox in V1.3.8a

    WIth a standard Zen 138, and the standard template you need to remove both of these modules to remove the links. If you have another template installed over the top of your store, you may need to check these template files. The two files to check are includes/modules/sideboxes/YOUR_TEMPALTE/information.php and includes/tempaltes/YOUR_TEMPLATES/sideboxes/tpl_information.php. These are the files which determine and show the information links.

    Zen 138 performs the following checks as standard, to determine whether or not to display the links:
    // 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>';
    }

    Both of these constants: MODULE_ORDER_TOTAL_COUPON_STATUS and MODULE_ORDER_TOTAL_GV_STATUS only esist in the database if the modules are currently installed, and displaying in the admin under Modules >> Order Total with green dots.

    Absolute

  3. #3
    Join Date
    Sep 2006
    Location
    Colorado Springs CO USA
    Posts
    516
    Plugin Contributions
    2

    Default Re: Removing Gift Certificate FAQ from sidebox in V1.3.8a

    Absolute:

    Thanks for the very correct and concise response.

    I am using the iC_AcadameV1.2 template, so following your guidance I did the following:

    1. Created new directory: includes/modules/sideboxes/iC_AcadameV1.2/
    2. Copied /includes/modules/sideboxes/information.php to
      /includes/modules/sideboxes/iC_AcademeV1.2/information.php
    3. Created new directory: includes/templates/iC_AcadameV1.2/sideboxes/
    4. Copied /includes/templates/template_default/sideboxes/tpl_information.php to /includes/templates/iC_AcademeV1.2/sideboxes/tpl_information.php

    When done, my Information Sidebox now displays correctly.

    Ron
    www.aspenshopsonline.com - ZenCart 1.3.9h
    www.wilkssupply.com - ZenCart 1.3.9h
    www.un-du.net - ZenCart 1.3.8a

  4. #4
    Join Date
    May 2005
    Location
    Bath, Somerset
    Posts
    1,053
    Plugin Contributions
    3

    Default Re: Removing Gift Certificate FAQ from sidebox in V1.3.8a

    That is good news - thanks for the update.

    Absolute

  5. #5
    Join Date
    May 2006
    Posts
    76
    Plugin Contributions
    0

    Default Re: Removing Gift Certificate FAQ from sidebox in V1.3.8a

    Hi, I am after removing these to. I have v1.3.7 how do I go about it?

    Thanks in advance,

    Jason.

  6. #6
    Join Date
    May 2005
    Location
    Bath, Somerset
    Posts
    1,053
    Plugin Contributions
    3

    Default Re: Removing Gift Certificate FAQ from sidebox in V1.3.8a

    Under Modules >> Order Total, you will need to remove the coupon and gift cert modules.

    If you just want to remove the links, and leave the modules installed, you will need to edit includes/modules/sideboxes/YOUR_TEMPALTE/information.php and includes/tempaltes/YOUR_TEMPLATES/sideboxes/tpl_information.php accordingly.

    Absolute

  7. #7
    Join Date
    May 2006
    Posts
    76
    Plugin Contributions
    0

    Default Re: Removing Gift Certificate FAQ from sidebox in V1.3.8a

    Done that now and it works. Thanks for your help.

    Regards,

    Jason.

  8. #8
    Join Date
    Mar 2010
    Posts
    2
    Plugin Contributions
    0

    Default Re: Removing Gift Certificate FAQ from sidebox in V1.3.8a

    This is a more advanced solution. I dug through the php code behind the GV (gift voucher) module and found that there is a setting in the database that tells zen cart whether or not the gift voucher module is installed. If you have access to your database, (typically via phpMyAdmin or a similar tool) you can run the following SQL command to turn off the GV module.

    UPDATE zen_configuration SET configuration_value='false' WHERE configuration_key = 'MODULE_ORDER_TOTAL_GV_STATUS'

    Running this command will then turn it back on if you need it in the future:

    UPDATE zen_configuration SET configuration_value='true' WHERE configuration_key = 'MODULE_ORDER_TOTAL_GV_STATUS'

    Caution directly editing your database, if not done correctly can completely ruin your zen cart install. Make a backup first and don't use this method unless you are comfortable with making such direct database updates.

  9. #9
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Removing Gift Certificate FAQ from sidebox in V1.3.8a

    kbaltrinic,
    The MUCH SIMPLER way to do it is to just go to Admin->Modules->Order Total->Gift Certificates and click the Remove button.
    No need to muck about with raw database changes like you've suggested.
    And much less dangerous.
    .

    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.

  10. #10
    Join Date
    Dec 2008
    Posts
    2
    Plugin Contributions
    0

    Default Re: Removing Gift Certificate FAQ from sidebox in V1.3.8a

    I removing "Gift Certificate FAQ from sidebox in V1.3.8a"
    as DrByte, Absolute and ronlee67 said:Admin->Modules->Order Total and de-install the "Gift Certificates" modules.

    I removing "Discount Coupons" as below:Admin->Configuration->Define Page Status->Define Discount Coupon,and set "3= Link OFF, Define Text OFF"

    I like this way and hope removing "Gift Certificate FAQ from sidebox" in V1.3.8b by this way.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v150 Gift Certificate FAQ in sidebox
    By Mike_B1 in forum Basic Configuration
    Replies: 3
    Last Post: 7 May 2012, 01:14 AM
  2. Turn Off "Gift Certificate FAQ" & "Newsletter Unsubscribe" from Sidebox
    By DBB1 in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 16 Sep 2010, 04:23 AM
  3. Gift Certificate FAQ
    By kcb410 in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 5 Jul 2010, 11:38 AM
  4. Removing "Gift Certificate FAQ" from sidebar?
    By Dreameffects in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 4 May 2008, 03:58 AM

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