| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Page Width Changes Using Product Variants Firefox to IE | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() I noticed that the page width expands about 30 pixels in Firefox 1.5.0.9 on the products.php page when a product with variants is dispayed. This page width expansion does not occur in IE 7.
You can see this difference on the following pages using Firefox: The link below is a product without variants: http://jimfrenchproductions.com/xcart413/product.php?productid=42&cat=2&page=1 The link below is a product with variants. You will see the option to select either CD or MP3: http://jimfrenchproductions.com/xcart413/product.php?productid=16&cat=2&page=1 The wider page width for the product with variants pushes the page into a column on the right that is set up as an absolutely positioned DIV. Also when the lower cost variant is selected (choose MP3 from the options) the discount graphic widens the page even further pushing the right column deeply into the absolutely positioned column. I see the variants code is written in javascript. Is there any way to fix this? Also is there a way to turn off the display of the discount "save_percent_box" box cell? While this is a nice feature, it doesn't fit well in my design with the absolutely positioned column. Thank you for your support, Harry
__________________
X Cart 4.1.6 X Survey X Affiliates Altered Cart-Product Page Download Manager Altered Cart-Download Expander |
|||||||
#2
|
|||||||
|
|||||||
![]() Harry,
The reason the page expands is because of the "discount save_percent_box" To kill it, in product.tpl, FIND: Code:
Hope this helps. Jeremy
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4 |
|||||||
#3
|
|||||||
|
|||||||
![]() Moving to Template Editing as this is not a bug. Please be sure to read the guidelines on posting in the bugs forum, thanks
![]()
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#4
|
|||||||
|
|||||||
![]() Thank you for the help.
I was mistaken.. ![]() Thank you for pointing me to the "save_percent_box" code block. I see it has changed a bit from 4.1.5 to 4.1.6 (assuming you pulled the code from 4.1.6). In 4.1.5 the "save_percent_box" is a TD id instead of a SPAN. Code:
I was wondering if there was a setting in the administration area to turn this on and off but apparently not. I may just wrap the entire HTML in another 2 column table and put the CafePress table inside the right column so it can move with the page flow and let the "save_percent_box" display. It is a nice feature. First I will see if I can CSS a float. Thank you for your support, Harry
__________________
X Cart 4.1.6 X Survey X Affiliates Altered Cart-Product Page Download Manager Altered Cart-Download Expander |
|||||||
#5
|
|||||||
|
|||||||
![]() Whoops... I may have edited this code at some point - which could explain some differences...
here is the virgin 4.1.6 block Code:
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4 |
|||||||
#6
|
|||||||
|
|||||||
![]() I found the best solution for me was to create another table column cell in the "Container" table, found in rectangle_bottom.tpl, and put the CafePress table in there.
Now it will expand and contract nicely with the "save_percent_box" and/or any other things that might stretch the page width. I may get the hang of this if I keep trying ![]() Thank you for your support, Harry
__________________
X Cart 4.1.6 X Survey X Affiliates Altered Cart-Product Page Download Manager Altered Cart-Download Expander |
|||||||
|
|||
X-Cart forums © 2001-2020
|