PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Hi i am new to this site,
I have been working on my e commerce site,
Been trying to remove a redeem gift button and section,
I have the code pin pointed just can't fine it in the php files,
Hope someone can help,
Thanks,
Here is a link to my site http://youniverseonline.com/
Here are 2 image examples showing what i wanna remove,
The file you want to edit is /includes/templates/template_default/templates/tpl_gv_faq_default.php
remove the form at the bottom of that page (just comment it out). that should do it for you.
remember to copy the file to /includes/templates/YOUR_TEMPLATE/templates/ before you edit it. you need to be sure you use the zen cart override system as much as possible.
What is so strange is i went to the templates folder and i found no tpl_gv_faq_default.php unless i am over looking it,
Let me post a couple images showing all the files in the folder and another showing some items i circled in the code,
I see the Gift Certificate lettering i need to remove in the code looks to be a easy fix if i could find it in the php files,
The only faq file i found was here Public_html/include/languages/English gv_faq.php and that is the file i used to make my faq questions,
when you say "Let me post a couple images showing all the files in the folder" what is the full path to that folder? sound like you are going into the templates folder for your theme... that is wrong.
the file is in Public_html/include/templates/template_default/templates/
HTML comment tags are used to add comments to you html code. You can add little notes or you can wrap actual code in comment tags so they arent processed.
the other option is to just delete what you dont want... I personally suggest commenting it out so if you ever want it back for some reason, you dont have to try recovering it... just remove the comment and you're all set.