Gift wrap panel

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
User avatar
compunerdy
Admiral (ADM)
Admiral (ADM)
Posts: 1283
Joined: Sun Nov 18, 2007 3:55 pm

Gift wrap panel

Post by compunerdy » Fri Feb 15, 2008 8:04 pm

I cannot get rid of the "gift wrap options" on the checkout page. Everything says =false as far as showing it in the code but for some reason it always displays. has anyone removed this successfully?

rdevarona
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 41
Joined: Tue Jan 15, 2008 7:24 am

Post by rdevarona » Fri Feb 15, 2008 9:29 pm

Tim,

I asked AC to conditionalize this so that it's not so difficult to remove if not needed. You can sort of get rid of it in the One Page Checkout, but the multi-page is a little trickier. I went in there and added HTML comment tags around the entire Gift Wrap Panel in OnePageCheckout.aspx. Even if AC changed its visibility, it would be commented out. The panel ID is "GiftWrapPanel" (line 495-501ish in my file).

Regards,

rdv

User avatar
compunerdy
Admiral (ADM)
Admiral (ADM)
Posts: 1283
Joined: Sun Nov 18, 2007 3:55 pm

Post by compunerdy » Fri Feb 15, 2008 10:38 pm

when i removed the part that called for it in the .ascx file then i got errors about it pointing to the .ascx.cs file and then i would remove that and then another error etc..so i gave up and figured i would check for a easier path first.

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

Post by jmestep » Sat Feb 16, 2008 6:39 am

On the OnePageCheckout.ascx, I set it visible="false" and it didn't break the page:
<asp:Panel ID="GiftWrapPanel" runat="server" CssClass="section" EnableViewState="false" Visible="false">

I haven't experimented with the non-one page checkout- I don't even know where to start using that.
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

User avatar
compunerdy
Admiral (ADM)
Admiral (ADM)
Posts: 1283
Joined: Sun Nov 18, 2007 3:55 pm

Post by compunerdy » Sat Feb 16, 2008 10:18 am

setting Visible="false" worked great..thanks!!

User avatar
cerami2
Lieutenant Commander (LCDR)
Lieutenant Commander (LCDR)
Posts: 103
Joined: Thu Nov 08, 2007 5:29 am
Location: Plymouth MN
Contact:

Thanks for the info

Post by cerami2 » Sun Feb 17, 2008 11:44 am

I got this to work on my site

Post Reply