• Toll-free  888-665-8637
  • International  +1 717-220-0012
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

globalweb9
#1 Posted : Friday, March 15, 2019 6:02:51 PM(UTC)
globalweb9

Rank: Member

Joined: 7/26/2004(UTC)
Posts: 154
United States

I know this is probably a rookie question for many of you. I have a customer that hosts their BVC store with us, and they want to change the column header for the Volume Discount table shown on a product page from PRICE to PRICE EACH

I looked in the Adsmin site terms, and didn't see anything there
looked in the BVModules//Controls/volumediscounts.ascx file thinking I could add/edit it here , but no luck with those attempts

I know it must be something simple. I'm just not a programmer
---
Randy Armbrecht
RichWeb, Inc.
Global Web Solutions
http://richweb.com
http://globalweb.net
Aaron
#2 Posted : Friday, March 15, 2019 8:49:06 PM(UTC)
Aaron

Rank: Administration

Joined: 4/2/2004(UTC)
Posts: 2,243
United States
Location: Hummelstown, PA

Thanks: 6 times
Was thanked: 138 time(s) in 133 post(s)
Randy,

Do you know which theme was used to create your client's site? If their theme was created using one of the newer responsive themes (i.e. Foundation4 Responsive or Bootstrap3 Responsive) then the control is likely being overridden by the theme. You can learn more about the new theme architecture that was introduced in BVC 2015 at the link below:

https://www.bvcommerce.com/blog/...Architecture-in-BVC-2015
Aaron Sherrick
BV Commerce
Toll-free 888-665-8637 - Int'l +1 717-220-0012
globalweb9
#3 Posted : Monday, March 18, 2019 1:47:09 PM(UTC)
globalweb9

Rank: Member

Joined: 7/26/2004(UTC)
Posts: 154
United States

Thanks for the response Aaron!

their current live site is running off of the old Tekgear theme I believe, from a BV5.x setup originally. They are running BVC2018, but theme has never been changed out to be responsive. They are in the midst of getting a new site design with current responsive theme, so I'll just wait until then and get it changed for them when that goes live
---
Randy Armbrecht
RichWeb, Inc.
Global Web Solutions
http://richweb.com
http://globalweb.net
Aaron
#4 Posted : Monday, March 18, 2019 3:12:05 PM(UTC)
Aaron

Rank: Administration

Joined: 4/2/2004(UTC)
Posts: 2,243
United States
Location: Hummelstown, PA

Thanks: 6 times
Was thanked: 138 time(s) in 133 post(s)
OK, so they're not using a responsive theme open the /BVModules/Controls/VolumeDiscounts.ascx control (the one you opened previously) and change the HeaderText attribute shown below:

Code:
<asp:BoundColumn DataField="Amount" HeaderText="Price" DataFormatString="{0:c}"></asp:BoundColumn>


Aaron Sherrick
BV Commerce
Toll-free 888-665-8637 - Int'l +1 717-220-0012
globalweb9
#5 Posted : Monday, March 18, 2019 3:42:25 PM(UTC)
globalweb9

Rank: Member

Joined: 7/26/2004(UTC)
Posts: 154
United States

Hi Aaron,

that is exactly what I tried to change originally in this element - tried changing:
HeaderText="Price"
to
HeaderText="Price Each"

I knew it had to be simple.....

But when I did this on Friday it generated a page error. So I went back in and did the change again just now and it still threw an error. But when I did a page refresh, it worked. go figure.....

error was:
\BVModules\ProductTemplates\Bvc5\Product.aspx.vb(3): error ASPNET: Make sure that the class defined in this code file matches the 'inherits' attribute, and that it extends the correct base class (e.g. Page or UserControl)

I'm not touching it anymore! and I'll threaten the page code that you know it is mis-behaving, so I'm sure there will be no more issues with it
---
Randy Armbrecht
RichWeb, Inc.
Global Web Solutions
http://richweb.com
http://globalweb.net
Aaron
#6 Posted : Tuesday, March 19, 2019 1:17:12 PM(UTC)
Aaron

Rank: Administration

Joined: 4/2/2004(UTC)
Posts: 2,243
United States
Location: Hummelstown, PA

Thanks: 6 times
Was thanked: 138 time(s) in 133 post(s)
BVC uses a website project where the source code is dynamically compiled (unlike the Core and other portions of the code that are precompiled assemblies/DLLs in the /bin folder). ASP.NET 'watches' for changes to these source files and then recompiles as it sees the changes. This process can cause transient errors like you saw. The error will often go away after a few refreshes as ASP.NET has had enough time to see the change and recompile the code.
Aaron Sherrick
BV Commerce
Toll-free 888-665-8637 - Int'l +1 717-220-0012
globalweb9
#7 Posted : Tuesday, March 19, 2019 1:31:54 PM(UTC)
globalweb9

Rank: Member

Joined: 7/26/2004(UTC)
Posts: 154
United States

I am aware that the code will re-compile after a source file change. Always expect that. I normally do not see an error like this on .NET apps on our server, especially BVC. That is what was puzzling. But it is all good now

As always - thanks for the quick and excellent support!
---
Randy Armbrecht
RichWeb, Inc.
Global Web Solutions
http://richweb.com
http://globalweb.net
Aaron
#8 Posted : Tuesday, March 19, 2019 4:05:09 PM(UTC)
Aaron

Rank: Administration

Joined: 4/2/2004(UTC)
Posts: 2,243
United States
Location: Hummelstown, PA

Thanks: 6 times
Was thanked: 138 time(s) in 133 post(s)
It happens often with controls (.ascx), presumably because they are used/referenced across many places. A single page (.aspx) generally does not experience this.
Aaron Sherrick
BV Commerce
Toll-free 888-665-8637 - Int'l +1 717-220-0012
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.

©2019 Develisys. All rights reserved.
  • Toll-free  888-665-8637
  • International  +1 717-220-0012