BV Commerce Forum
»
BV Commerce Support
»
Development
»
Remove of Label ID="TotalWithoutDiscountsLabel
Rank: Member
Joined: 6/4/2004(UTC) Posts: 291
|
Hello Everyone,
I am looking to remove this line of code:
<asp:Label ID="TotalWithoutDiscountsLabel" CssClass="lineitemnodiscounts" runat="server" Text='' Visible="false"></asp:Label>
out of my cart.aspx. In our theme it sits way out of place and doesn't make any sense to the customer.
I am very famalier with all codes except asp. If I cut the line out - I get errored out.
Is there an easy way to hide this code?
It sits in a item templage like this:
<ItemTemplate> <asp:Label ID="TotalWithoutDiscountsLabel" CssClass="lineitemnodiscounts" runat="server" Text='' Visible="false"></asp:Label> <asp:Label ID="TotalLabel" runat="server" Text='' CssClass="totallabel"></asp:Label> </ItemTemplate>
Thanks in advance! |
Thanks,
Christopher |
|
|
|
Rank: Member
Joined: 3/8/2007(UTC) Posts: 139
|
Hi Christopher,
Would setting the CSS visibility attribute for "lineitemnodiscounts" work for you?
ie. - visibility:hidden;
Thanks, |
Everett Comstock
BV Software |
|
|
|
Rank: Member
Joined: 6/4/2004(UTC) Posts: 291
|
Originally Posted by: "Everett" Hi Christopher,
Would setting the CSS visibility attribute for "lineitemnodiscounts" work for you?
ie. - visibility:hidden;
Thanks,
I looked into my CSS. I am famlier with how to edit and modify - just not 'create.' I assume its somewhere in here: #carttotals {width:200px;float:right;margin-bottom:10px;text-align:right;} #carttotals table {float:right;} But that controls all the totals. Thanks for the help ! |
Thanks,
Christopher |
|
|
|
Rank: Member
Joined: 6/4/2004(UTC) Posts: 291
|
That is the problem I am having. |
Thanks,
Christopher |
|
|
|
Rank: Member
Joined: 5/24/2004(UTC) Posts: 4,147
|
If you're looking to style that section so they don't run together, you can do something like: Code:td.producttotalcolumn .lineitemnodiscounts { display: block; color: #999; text-decoration: line-through; } td.producttotalcolumn .totallabel { display: block; } To remove the discount on the screen, I'd just remove it from the code. But to do it with CSS, just do this: Code:td.producttotalcolumn .lineitemnodiscounts { display: none; } |
|
|
|
|
Rank: Member
Joined: 6/4/2004(UTC) Posts: 291
|
Originally Posted by: "Cliff" If you're looking to style that section so they don't run together, you can do something like: Code: td.producttotalcolumn .lineitemnodiscounts { display: block; color: #999; text-decoration: line-through; } td.producttotalcolumn .totallabel { display: block; }
To remove the discount on the screen, I'd just remove it from the code. But to do it with CSS, just do this: Code: td.producttotalcolumn .lineitemnodiscounts { display: none; }
Worked perfect! I knew it was a pretty easy fix. Just gotta learn from CSS. Thanks Everyone! |
Thanks,
Christopher |
|
|
|
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.