Page 1 of 1
Gift wrap panel
Posted: Fri Feb 15, 2008 8:04 pm
by compunerdy
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?
Posted: Fri Feb 15, 2008 9:29 pm
by rdevarona
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
Posted: Fri Feb 15, 2008 10:38 pm
by compunerdy
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.
Posted: Sat Feb 16, 2008 6:39 am
by jmestep
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.
Posted: Sat Feb 16, 2008 10:18 am
by compunerdy
setting Visible="false" worked great..thanks!!
Thanks for the info
Posted: Sun Feb 17, 2008 11:44 am
by cerami2
I got this to work on my site