Make Terms and Conditions popup resizeable

Post feature requests to this forum and a pre-configured poll will automatically be created for you.
Post Reply
User avatar
RichWendrock
Commander (CMDR)
Commander (CMDR)
Posts: 134
Joined: Sat Apr 05, 2008 12:55 am
Location: Austin Texas
Contact:

Make Terms and Conditions popup resizeable

Post by RichWendrock » Fri Jul 06, 2012 10:08 am

Please make the popup layer for Terms and Conditions resizable. The wording in our Term and Conditions is long, it would be more user friendly for the shopper to be able to resize the popup window for easier viewing.
Regards,
Richard

http://www.TheHomePageStore.com

AbleCommerce
VERSION: 7.0.7.14588
MSSQL v2005
AC SCHEMA v2005
.NET CLR v2.0.50727.3634

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

Re: Make Terms and Conditions popup resizeable

Post by jmestep » Mon Jul 09, 2012 7:03 am

I have done that in the past, but can't remember the site- they had a really, really long TOC. I believe I just used css to do it.
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
RichWendrock
Commander (CMDR)
Commander (CMDR)
Posts: 134
Joined: Sat Apr 05, 2008 12:55 am
Location: Austin Texas
Contact:

Re: Make Terms and Conditions popup resizeable

Post by RichWendrock » Mon Jul 09, 2012 8:05 am

Another problem I ran into is trying to use the same formatting in the popup agreement as that used in the confirmation email. It did not work because the popup window is too narrow. The order confirmation email sizes the sections at 640px. Trying to display the same code in the popup makes the text exceed the width of the popup. That is what prompted my feature request. A better enhancement is to also add a width and height field to the Configure Store / Order Settings section so the popup window can be sized to display the width of the document. If we can control the size of the popup window for the terms and conditions, then the code to display the terms and conditions would work for the popup and the confirmation email. Thus eliminating the need to keep the terms in two places.
Regards,
Richard

http://www.TheHomePageStore.com

AbleCommerce
VERSION: 7.0.7.14588
MSSQL v2005
AC SCHEMA v2005
.NET CLR v2.0.50727.3634

User avatar
david-ebt
Captain (CAPT)
Captain (CAPT)
Posts: 253
Joined: Fri Dec 31, 2010 10:12 am

Re: Make Terms and Conditions popup resizeable

Post by david-ebt » Mon Jul 09, 2012 9:23 am

You should be able to control both the width and the height of the popup using CSS. The default CSS also sets up scrolling if the terms are too large.

Take a look at these CSS tags in your theme:

.modalPopup (should set the width of the terms popup)

.modalPopupText .modalPopupScroller (should set the height and the turns on scrolling)
David
http://www.ecombuildertoday.com
Enhanced Reporting for AbleCommerce
Image

User avatar
RichWendrock
Commander (CMDR)
Commander (CMDR)
Posts: 134
Joined: Sat Apr 05, 2008 12:55 am
Location: Austin Texas
Contact:

Re: Make Terms and Conditions popup resizeable

Post by RichWendrock » Mon Jul 09, 2012 10:09 am

That is a workaround but it forces all popups to the same dimension. Each popup should be sized individually through the control panel. Or at least use a different CSS class name for each popup so a webmaster can manage the popup dimentions through the theme, as you suggest. We need to simplify the upgrade process. It is getting to the point that I must keep a log of all the modifications we have made to the shopping cart. It makes the upgrade process more reliable.
Regards,
Richard

http://www.TheHomePageStore.com

AbleCommerce
VERSION: 7.0.7.14588
MSSQL v2005
AC SCHEMA v2005
.NET CLR v2.0.50727.3634

Post Reply