PDA

View Full Version : Home.php and Merchant Email Spacing


Absath
March 11th, 2004, 03:28 PM
Two things I need to know, and both have to do with spacing.

First is on the front page (when it displays the home.php), I have the best seller box, then right below it, the new items box, and then there's a big gap and then it shows the product categories. Now, on the home.php, there is nothing different with the code between best seller/new items and new items/product categories. How can I get rid of this space?

Also, in the email that the system sends me to notify me of an order, when it comes to the shipping address, there is a big space between the name and street, and the state and zip code. is this due to the fact that it's looking for the second address field and not finding one, so it leaves a space? how can i get rid of the space?

-Tim

Jamie
March 11th, 2004, 04:57 PM
Hi Tim,

First is on the front page (when it displays the home.php), I have the best seller box, then right below it, the new items box, and then there's a big gap and then it shows the product categories. Now, on the home.php, there is nothing different with the code between best seller/new items and new items/product categories. How can I get rid of this space?


I don't see this in the demo store. What is the URL?


There is no easy way to get rid of the space, and yes, it is due to the second address field. If you really need to get rid of it, you could remove these lines in the order_notification_email template file:

<?=$Billing_Street_2?>
<?=$Shipping_Street_2?>

I wouldn't recommend that however, as you will not see the second street address for people that enter it.

Thanks,
Jamie

Absath
March 11th, 2004, 06:31 PM
http://www.gamerwarez.com/store.php is where I'm currently working on it.

-Tim

Rich
March 12th, 2004, 10:49 AM
http://www.gamerwarez.com/store.php is where I'm currently working on it.Hi Tim,

I receive a 404 wen I try to access that URL.

Absath
March 12th, 2004, 05:15 PM
Yeah sorry, the new site went live last nite. I changed it over to index.html. So just http://www.gamerwarez.com

-Tim

Rich
March 14th, 2004, 02:58 AM
I guess I'm not having much luck with your site.


Bandwidth Limit Exceeded
The server is temporarily unable to service your request due to the site owner reaching his/her bandwidth limit. Please try again later.
--------------------------------------------------------------------------------

Apache/1.3.29 Server at www.gamerwarez.com Port 80
HTTP/1.1 500 Internal Server Error Date: Sun, 14 Mar 2004 06:55:53 GMT Server: Apache/1.3.29 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 PHP/4.3.3 FrontPage/5.0.2.2634 mod_ssl/2.8.16 OpenSSL/0.9.7a