| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Extra Fields as Pop Ups | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
![]() I was working on this for a while and thought someone else might want to use it or improve it.
Instead of calling all the extra fields in the product details the customer wanted links to each extra field which, when clicked, opened in a popup box like the "ask a question about this product" link. here is what I did: 1. made a new file in the root called popup_ef.php Code:
2. in skin/common_files/modules/Extra_Fields made a new file called extra_fields_popup.tpl Code:
3. changed modules/Extra_Fields/product.tpl from Code:
to Code:
Any thoughts or ideas for improvement would be greatly appreciated. I am not sure I did this the best way, but it is working. I would also like the product title and extra field name at the top of the popup window, but haven't been able to figure it out. |
|||||||||
|
#2
|
|||||||||
|
|||||||||
![]() Installed the mod on my 4.4.4 test store with no problems. One thing I noticed is that if you put a long line of text into the extra field the pop up box extends past the top header of the box.
Is there anyway to implement a scroll bar or set the box dimensions to prevent this? Here's the link: http://eaglemtnoutfitters.com/test/product.php?productid=17753&cat=&page=1 Click on the Details button.
__________________
Gary M. Twing Eagle Mountain Outfitters eaglemtnoutfitters.com Version 4.3.0 Gold 4.4.4 in operibus |
|||||||||
#3
|
|||||||
|
|||||||
![]() Quote:
I noticed on your test product details popup that in IE 9, the text is displayed in a long vertical line, while in Firefox, it looks fine. Any idea on why that would be? Nice site, by the way. |
|||||||
|
#4
|
|||||||||
|
|||||||||
![]() Quote:
First of all you have something unclosed there or html not properly coded. In IE there is a table and the div title and text are in it, but no tr's or td's, in FF the divs are outside that table. Try applying width to the text div or p tag
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
|
|
|||
X-Cart forums © 2001-2020
|