BV Commerce Forum
»
BV Commerce Support
»
General Support
»
Modifying Site Terms: Phone Number and Fax Number
Rank: Member
Joined: 3/25/2006(UTC) Posts: 111
|
How do I modify the site terms in the Adresses Options page
From: Phone Number to Phone Number (Day)
and
Fax Number to Phone Number (Evening)
They are not in the site terms list.
Thank you,
Bob
|
|
|
|
Rank: Member
Joined: 6/6/2005(UTC) Posts: 483
|
I'm interested in that as well. I couldn't find them anywhere.
Bob Noble
|
|
|
|
Rank: Member
Joined: 9/27/2004(UTC) Posts: 1,099
|
Hello Bob & Bob. This will give you a general example. It may vary depending on what page you’re talking about. 1. Under Options > Site Terms, add a term called “Fax” and whatever value you want. 2. Open BVModules > Controls > StoreAddressEditor.ascx.vb 3. Scroll down to about line “622”. Add the new code: Code: If _ShowFaxNumber = True Then Me.FaxRow.Visible = True Me.valFax.Enabled = _RequireFax 'Add the following line of new code: FaxNumberLabel.Text = Content.SiteTerms.GetTerm("Fax") 'End new code Else Me.valFax.Enabled = False Me.FaxRow.Visible = False End If
Repeat the same steps for the phone number field (almost directly above it). |
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.