Hide fields in product details (more details)

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
aa@ilogon.com
Ensign (ENS)
Ensign (ENS)
Posts: 16
Joined: Fri Jan 16, 2009 11:20 pm

Hide fields in product details (more details)

Post by aa@ilogon.com » Fri Mar 06, 2009 11:55 pm

All of the products we offer are subscriptions, and therefore there are several fields that do not make sense for us to display in the product details screen. We want a user to click the product image or more details, then select the specific sku for the product that we achieve with a kit. The unneeded fields are making it confusing and the layout is too busy. Here are the fields we want to remove or hide on the product details screen.

Discount - We have a global discount that applies to the number of total unique products purchased, not the quantity of any one product. Therefore, we want the discount to apply but not show in the product details.

Our Price: Click to see price - The user will select the sku from a drop down which shows the price, so we don't want the Our Price field to show.

Quantity - Because we sell subscriptions, quantity does not apply so we want to hide this.

User avatar
jmestep
AbleCommerce Angel
Posts: 8164
Joined: Sun Feb 29, 2004 8:04 pm
Location: Dayton, OH
Contact:

Re: Hide fields in product details (more details)

Post by jmestep » Sat Mar 07, 2009 7:31 am

Discounts- You can take this section out of the Show Product scriplet:
[[ConLib:ProductDiscountsDialog]]
On the ConLib/BuyProductDialog you can add a Visible="false" to this
<uc:ProductPrice ID="OurPrice" runat="server" Visible="false" />
and take out the <th> tag just above. You can't just remove the <uc:Price unless you make some changes in the .ascx.cs file.

Quantity-- you can do similar to what you did for price
<cb:updowncontrol Visible="false" Width="30" id="Quantity" runat="server" DownImageUrl="~/images/down.gif" UpImageUrl="~/images/up.gif" Columns="2" MaxLength="5" Text='1' MaxValue="32767" onFocus="this.select()"></cb:updowncontrol>
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx

aa@ilogon.com
Ensign (ENS)
Ensign (ENS)
Posts: 16
Joined: Fri Jan 16, 2009 11:20 pm

Re: Hide fields in product details (more details)

Post by aa@ilogon.com » Sat Mar 07, 2009 5:34 pm

Thanks again! That worked. One more I want to hide. Where do I go to hide the Click to See Price in the search view?

Post Reply