Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

What did I do?!

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 01-25-2011, 08:12 AM
 
ScrapOrchard ScrapOrchard is offline
 

eXpert
  
Join Date: Mar 2008
Posts: 243
 

Question What did I do?!

Ugh! I am working on a new install (our current/live version of x-Cart is 4.1.9); the new install is 4.3.2. I edited the skin1/customer/main/product_details.tpl and something went way wonky! When I click on the Add to Cart button, it does its ajax thing. updates the mini-cart in the side bar and then refreshes? With the original product_details.tpl, the refresh (if is even happens) is not noticeable; but with the modified product_details.tpl, once it refreshes, half of the properties (download info) completely disappear?!

Also, I am *not* loving the detailed images/pop-up. The mouseover image swap is very sluggish and I don't particularly like the pop-up/lightbox. On our current/live version of x-Cart we had installed a Dynamic Image Generator mod by telefirma, and the mouseover/shadowbox was way more responsive. With the functionality of v4.3.2, the cart makes thumbnails and we don't need a Dynamic Image mod.. but I sure would love to replace the detail image mouseover/shadowbox. Any suggestions?

Thank you in advance!!

New install product detail page example: https://scraporchard.com/market2/product.php?productid=17519


Current/Live product detail page: https://scraporchard.com/market/product.php?productid=21384
__________________
www.scraporchard.com
X-Cart Pro Version 4.5.5

Altered Cart: One Page Checkout, OnSale, Buy Together, Download Expander, Smart Search, Shop by Filters
Gahela: Gahela Support System
The xCart Store: xBanners, xAccess, xMenus
Reply With Quote
  #2  
Old 01-25-2011, 09:59 AM
 
ScrapOrchard ScrapOrchard is offline
 

eXpert
  
Join Date: Mar 2008
Posts: 243
 

Default Re: What did I do?!

Okay, and in IE everything beneath the product images complete disappears after you click on the Add to Cart button?!
__________________
www.scraporchard.com
X-Cart Pro Version 4.5.5

Altered Cart: One Page Checkout, OnSale, Buy Together, Download Expander, Smart Search, Shop by Filters
Gahela: Gahela Support System
The xCart Store: xBanners, xAccess, xMenus
Reply With Quote
  #3  
Old 01-26-2011, 07:10 AM
 
ScrapOrchard ScrapOrchard is offline
 

eXpert
  
Join Date: Mar 2008
Posts: 243
 

Default Re: What did I do?!

Anyone have any ideas? When I look at the source of the page, after the refresh... the code is correct and the missing properties (download info) are there, just not showing up in the browser?
__________________
www.scraporchard.com
X-Cart Pro Version 4.5.5

Altered Cart: One Page Checkout, OnSale, Buy Together, Download Expander, Smart Search, Shop by Filters
Gahela: Gahela Support System
The xCart Store: xBanners, xAccess, xMenus
Reply With Quote
  #4  
Old 01-26-2011, 07:38 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,191
 

Default Re: What did I do?!

Check the w3c validator - you have something unclosed
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #5  
Old 01-26-2011, 08:19 AM
 
ScrapOrchard ScrapOrchard is offline
 

eXpert
  
Join Date: Mar 2008
Posts: 243
 

Default Re: What did I do?!

Hello Steve!

Thank you so much; I am going to go thru the code and see what I missed!
__________________
www.scraporchard.com
X-Cart Pro Version 4.5.5

Altered Cart: One Page Checkout, OnSale, Buy Together, Download Expander, Smart Search, Shop by Filters
Gahela: Gahela Support System
The xCart Store: xBanners, xAccess, xMenus
Reply With Quote
  #6  
Old 01-26-2011, 10:57 AM
 
ScrapOrchard ScrapOrchard is offline
 

eXpert
  
Join Date: Mar 2008
Posts: 243
 

Default Re: What did I do?!

I looked through the code for the page prior to click the Add to Cart button and the code after clicking Add to Cart/refresh... they are exactly the same and I cannot find any tags that haven't been closed. Code properties that disappear *are* in the code, they just aren't showing? I validated the page and while there are errors, I don't think they are errors which would cause this issue.

Anymore thoughts or suggestions?
__________________
www.scraporchard.com
X-Cart Pro Version 4.5.5

Altered Cart: One Page Checkout, OnSale, Buy Together, Download Expander, Smart Search, Shop by Filters
Gahela: Gahela Support System
The xCart Store: xBanners, xAccess, xMenus
Reply With Quote
  #7  
Old 01-26-2011, 01:39 PM
 
ScrapOrchard ScrapOrchard is offline
 

eXpert
  
Join Date: Mar 2008
Posts: 243
 

Default Re: What did I do?!

This is just so weird... the initial load of the page is fine, it's just after the ajax mini-cart script runs that the problem occurs. So it would appear to me the ajax script is calling a div or something that doesn't exist anymore after I moved stuff around?
__________________
www.scraporchard.com
X-Cart Pro Version 4.5.5

Altered Cart: One Page Checkout, OnSale, Buy Together, Download Expander, Smart Search, Shop by Filters
Gahela: Gahela Support System
The xCart Store: xBanners, xAccess, xMenus
Reply With Quote
  #8  
Old 01-26-2011, 07:41 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,191
 

Default Re: What did I do?!

After page is screwed do "see source code" from the browser menu and copy/paste it in the validator
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #9  
Old 01-27-2011, 10:29 AM
 
ScrapOrchard ScrapOrchard is offline
 

eXpert
  
Join Date: Mar 2008
Posts: 243
 

Default Re: What did I do?!

I disabled some third-party mods, and while the details area still refreshes (is it suppose to?) none of the data disappears.. which leads me to think, there is something in the ajax script(s) that needs to be changed to include my third-party mods?

I validated the code, and there are no un-closed tags.
__________________
www.scraporchard.com
X-Cart Pro Version 4.5.5

Altered Cart: One Page Checkout, OnSale, Buy Together, Download Expander, Smart Search, Shop by Filters
Gahela: Gahela Support System
The xCart Store: xBanners, xAccess, xMenus
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 03:47 AM.

   

 
X-Cart forums © 2001-2020