Welcome, Guest ( Customer Panel | Login )




 All Forums
 VPCart Forum
 Customization
 Change "other" in business information
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

accetnsbeads
Starting Member

30 Posts

Posted - November 06 2012 :  15:16:53  Show Profile  Reply with Quote
Hi I would like to add my business hours on the contact us page under our business info but I don't want "other 1", "other 2" in the title. How can I change this title or erase it?

Thank you!!

rebecca osterman

carfin
VP-CART Expert

United Kingdom
948 Posts

Posted - November 07 2012 :  04:55:30  Show Profile  Reply with Quote
Hi Rebecca,

there doesn't seem to be a way of doing this through the Admin panel, but if you're ok adding code to pages then here's what you can do. In the Admin Panel go to edit tables and add your business hours info into the fields required (other fields 1, other fields 2 etc) Save the record
For each "other fields" header you need to create a new language record eg
keyword - LangCustHoursA Caption - Business Hours
keyword - LangCustHoursB etc..

Remember to reset your language after adding or editing records.
Open the file shopcustcontact.asp and save a copy.
Scroll down until you see the line Sub DisplayCompanyInfo
Then find the lines that display the fax no. After the </tr> tag for the fax message, add the following code:
' custom business hours fields
<tr>
<th><%=getlang("LangCustHours")%></th>
<td><%=rs("other1")%></font></td>
</tr>

Save, close and upload to server
Hope this helps

Regards,

Carrol
www.deanston-electrical.co.uk
Go to Top of Page

accetnsbeads
Starting Member

30 Posts

Posted - November 07 2012 :  09:20:35  Show Profile  Reply with Quote
Thank you so much Carrol for the indepth answer. I really appreciate it!!
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000
0 Item(s)
$0.00