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

Holy Code Batman!

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 12-26-2004, 05:49 PM
 
myvv myvv is offline
 

Newbie
  
Join Date: Oct 2004
Location: Vancouver, Canada
Posts: 4
 

Default Holy Code Batman!

On this page; http://www.hookahhub.com/product.php?productid=4487&cat=8&page=1 X-Cart has produced 7600+ lines of code to render the page.

This seems extremely excessive to me and makes the site extremely slow! I've hired http://worldwebsoftware.com/ to add all the product options and I think their poor programming/work may have caused this excessive code.

Is this a normal amount of code for X-Cart or is this caused by poor programming/work?
__________________
Hookah
Hooka
Shisha
X-Cart 4.0.6
Reply With Quote
  #2  
Old 12-27-2004, 03:16 AM
  groovico's Avatar 
groovico groovico is offline
 

X-Man
  
Join Date: Apr 2003
Location: Firetanksoftware.com
Posts: 2,326
 

Default

For whatever reason the page is carrying thousands of "variant" line code array entries

modifiers[796][8158] = new Array(0.00, '$');
modifiers[796][8158][2] = new Array();
modifiers[796][8159] = new Array(1.50, '$');
modifiers[796][8159][2] = new Array();
modifiers[796][8160] = new Array(2.75, '$');
modifiers[796][8160][2] = new Array();
modifiers[796][8161] = new Array(6.00, '$');
modifiers[796][8161][2] = new Array();
modifiers[796][8162] = new Array(11.00, '$');
modifiers[796][8162][2] = new Array();


It's tied into your product option drop downs. It does seem extremely excesive for what the page is showing :/
__________________
Groovico

Used by X-carters the world over:
Marketing Manager Pro Bundle For X-cart
Featured Product Manager for X-cart
Feed manager pro for X-cart

http://www.firetanksoftware.com

Celebrating 7 Years of providing quality X-cart Add ons and X-cart Mods for x-cart 3.X to X-cart 4.4.X
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 11:32 AM.

   

 
X-Cart forums © 2001-2020