Forums / Discounts/Coupons, Gift Certificates, Newsletters, Ads / Removing Gift Certificate FAQ from sidebox in V1.3.8a

Removing Gift Certificate FAQ from sidebox in V1.3.8a

Views: 22,077

Results 1 to 18 of 18
2 Jan 2008, 7:12 AM
#1
ronlee67 avatar

ronlee67

Totally Zenned

Join Date:
Sep 2006
Location:
Colorado Springs CO USA
Posts:
519
Plugin Contributions:
0

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 Jan 2008, 3:49 PM
#2
absolute avatar

absolute

Totally Zenned

Join Date:
May 2005
Location:
Bath, Somerset
Posts:
1,054
Plugin Contributions:
2

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

Back, after a 4 year absence! Did you miss me?
Absolute Web Solutions Ltd
Interested in our work? Take a look at one of our sites - The Tech Store

2 Jan 2008, 6:08 PM
#3
ronlee67 avatar

ronlee67

Totally Zenned

Join Date:
Sep 2006
Location:
Colorado Springs CO USA
Posts:
519
Plugin Contributions:
0

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

2 Jan 2008, 6:22 PM
#4
absolute avatar

absolute

Totally Zenned

Join Date:
May 2005
Location:
Bath, Somerset
Posts:
1,054
Plugin Contributions:
2

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

That is good news - thanks for the update.

Absolute

Back, after a 4 year absence! Did you miss me?
Absolute Web Solutions Ltd
Interested in our work? Take a look at one of our sites - The Tech Store

15 Jan 2008, 12:28 PM
#5
jas99villa avatar

jas99villa

New Zenner

Join Date:
May 2006
Posts:
76
Plugin Contributions:
0

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.

15 Jan 2008, 1:05 PM
#6
absolute avatar

absolute

Totally Zenned

Join Date:
May 2005
Location:
Bath, Somerset
Posts:
1,054
Plugin Contributions:
2

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

Back, after a 4 year absence! Did you miss me?
Absolute Web Solutions Ltd
Interested in our work? Take a look at one of our sites - The Tech Store

15 Jan 2008, 2:22 PM
#7
jas99villa avatar

jas99villa

New Zenner

Join Date:
May 2006
Posts:
76
Plugin Contributions:
0

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

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

Regards,

Jason.

2 Apr 2010, 3:19 PM
#8
kbaltrinic avatar

kbaltrinic

New Zenner

Join Date:
Mar 2010
Posts:
2
Plugin Contributions:
0

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.

3 Apr 2010, 4:07 AM
#9
drbyte avatar

drbyte

Sensei

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

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 Apr 2010, 8:14 AM
#10
lps_01 avatar

lps_01

New Zenner

Join Date:
Dec 2008
Posts:
2
Plugin Contributions:
0

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.

16 Apr 2010, 10:40 PM
#11
miha25 avatar

miha25

New Zenner

Join Date:
Oct 2008
Posts:
83
Plugin Contributions:
0

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

My English is bad ... This can repeat it again even though I read a great topic!

**1 = I would like to remove the bottom right where it says instructions:::: discount coupons
(Installed but I would like to leave ...)

2 = I want to change the text in step 2 (when ordering) is in the right language ...**

will probably be stylesheet.css ... but where? Thank you very much!

18 Apr 2010, 5:31 PM
#12
miha25 avatar

miha25

New Zenner

Join Date:
Oct 2008
Posts:
83
Plugin Contributions:
0

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

:(:(:( pleas help

24 Nov 2010, 4:21 PM
#13
dubnium avatar

dubnium

New Zenner

Join Date:
Jun 2010
Posts:
9
Plugin Contributions:
0

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

comment out the code in information.php and leave it installed:

/*
  // 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>';
  }
*/
2 Nov 2011, 7:56 PM
#14
ecreech avatar

ecreech

New Zenner

Join Date:
Dec 2010
Location:
Texas
Posts:
2
Plugin Contributions:
0

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

THANK YOU DrByte! :hug: That's the beauty of a configurable system! While I know how to update my SQL database and edit code, why expend all that effort when someone has designed the On/Off switch. We just sometimes need help finding the switch when the interface is is not very intuitive.

DrByte:

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.

21 Nov 2011, 9:52 PM
#15
rinboonies avatar

rinboonies

New Zenner

Join Date:
Sep 2011
Location:
Florida
Posts:
18
Plugin Contributions:
0

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

i am using v1.3.9h... i have looked in both of these places and do not see where to disable the Gift certifitcate FAQ. I do not wish to disable it as may want to use it at a later time. Any help will be great.

21 Nov 2011, 10:05 PM
#16
drbyte avatar

drbyte

Sensei

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

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

If you follow my instruction earlier, then you can turn off the Gift Certificate functionality until you need it. Later, when you choose to use it "at a later time", you can easily flip the same switch to enable it, at which time the FAQ link will be more meaningful to you and your customers.

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

26 Nov 2011, 12:31 AM
#17
rinboonies avatar

rinboonies

New Zenner

Join Date:
Sep 2011
Location:
Florida
Posts:
18
Plugin Contributions:
0

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

Thanks. I wasn't sure if the newer version was different.

16 Aug 2012, 12:46 PM
#18
ryly avatar

ryly

New Zenner

Join Date:
Mar 2009
Posts:
1
Plugin Contributions:
0

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

DrByte:

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.
Just great thanks