Forums / Templates, Stylesheets, Page Layout / Remove email address from gift certificate faq?

Remove email address from gift certificate faq?

Views: 685

Results 1 to 4 of 4
20 Dec 2020, 6:01 PM
#1
fuzztrip avatar

fuzztrip

New Zenner

Join Date:
Jul 2020
Location:
USA
Posts:
88
Plugin Contributions:
0

Remove email address from gift certificate faq?

I would like to remove the email address from the gift certificate faq under "when problems occur".

I would then like there to be a link in its place going to the contact us page.

I believe the correct file to edit is gv_faq.php, around line 75. But I am a novice and don't how to make it happen.

Thanks

1.5.7.
fuzztrip.com

Attachment 19331

20 Dec 2020, 7:46 PM
#2
drbyte avatar

drbyte

Sensei

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

Re: Remove email address from gift certificate faq?

/includes/languages/english/gv_faq.php

Change

  define('SUB_HEADING_TEXT_5','For any queries regarding the ' . TEXT_GV_NAME . ' System, please contact the store
  by email at '. STORE_OWNER_EMAIL_ADDRESS . '. Please make sure you give
  as much information as possible regarding the issue so that we can fully address the problem.');

to

  define('SUB_HEADING_TEXT_5','For any queries regarding the ' . TEXT_GV_NAME . ' System, please contact the store
  using our <a href="index.php?main_page=contact_us">Contact Us</a> page. Please make sure you give
  as much information as possible regarding the issue so that we can fully address the problem.');

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

20 Dec 2020, 8:19 PM
#3
fuzztrip avatar

fuzztrip

New Zenner

Join Date:
Jul 2020
Location:
USA
Posts:
88
Plugin Contributions:
0

Re: Remove email address from gift certificate faq?

Perfect. Thank you!

21 Dec 2020, 1:37 PM
#4
lat9 avatar

lat9

Administrator

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

Re: Remove email address from gift certificate faq?

Please note that if you're using a URL rewriter (e.g. USU or Ceon URI Mapping), you'll likely want to make that update using the zen_href_link function:

define('SUB_HEADING_TEXT_5','For any queries regarding the ' . TEXT_GV_NAME . ' System, please contact the store
  using our <a href="[B]' . zen_href_link(FILENAME_CONTACT_US, '', 'SSL') . '[/B]">Contact Us</a> page. Please make sure you give
  as much information as possible regarding the issue so that we can fully address the problem.');