Jump to content

Slow Performance Of Order Bulider Screen


Guest beautyie

Recommended Posts

Guest beautyie

I just upgraded to v 4 from 3 and I've noticed the performance of the Order screen is significantly slower than before. the rest of the pages seem fine but order builder is slow.

I've also had to turn off the feature " those who bought this have all purchased " as it was running like a dog.

Currently I have 2000 orders and 4000 order items inthe database.

Link to comment
Share on other sites

  • 1 month later...
  • 2 weeks later...

How can I make a text field from this :S ?

<select name="customer_id">

		<?php if($orderSum == false) { ?>

		<option value="0" <?php if(!$_POST['customer_id'] && $orderSum == false) { echo "selected='selected'"; } ?>>-- <?php echo $lang['admin_common']['na'];?> --</option>

		<?php

		}

		if ($customers == true) {

			for ($i=0; $i<count($customers); $i++) {

		?>

		<option value="<?php echo $customers[$i]['customer_id'];?>" 

		<?php if($customers[$i]['customer_id']==$_POST['customer_id'] || $customers[$i]['customer_id']==$orderSum[0]['customer_id']){ echo "selected='selected'"; } ?>

		onmouseover="$('name').value = '<?php echo $customers[$i]['title'];?> <?php echo $customers[$i]['firstName'];?> <?php echo $customers[$i]['lastName'];?>';findObj('companyName').value = '<?php echo $customers[$i]['companyName'];?>';findObj('add_1').value = '<?php echo $customers[$i]['add_1'];?>';findObj('add_2').value = '<?php echo $customers[$i]['add_2'];?>';findObj('town').value = '<?php echo $customers[$i]['town'];?>';findObj('country').value='<?php echo $countriesArray[$customers[$i]['country']];?>';findObj('postcode').value='<?php echo $customers[$i]['postcode'];?>';findObj('county').value='<?php echo $customers[$i]['county'];?>';findObj('phone').value='<?php echo $customers[$i]['phone'];?>';findObj('mobile').value='<?php echo $customers[$i]['mobile'];?>';findObj('email').value='<?php echo $customers[$i]['email'];?>';"> <?php echo $customers[$i]['lastName'];?>, <?php echo $customers[$i]['firstName'];?> (<?php echo $customers[$i]['customer_id'];?>)</option>

		<?php

			}

		}

		?>

		</select>

Link to comment
Share on other sites

  • 2 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...