VP-ASP :: Shopping Cart Software

Shopping Cart Software Solutions for anywhere in the World

US/Canada(Toll Free): +1 888 587 2278
Europe/UK: +44 (020) 7193 9408
Australia/New Zealand: +61 3 9016 4497

VP-ASP Shopping Cart Customer Forum

Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

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