Zen Cart Logo
Forums / Managing Customers and Orders / Removing company name from packing slip

Removing company name from packing slip

Locked

Views: 1,535

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
26 Apr 2007, 9:59 PM
#1
hboospumpkin avatar

hboospumpkin

New Zenner

Join Date:
Apr 2007
Location:
Honolulu, HI
Posts:
3
Plugin Contributions:
0

Removing company name from packing slip

Hi,

We replaced the company name field with a field for the customer's occupation in our registration process. However, this makes the customer's occupation show up on the packing slip as the first line in both the ship to and bill to addresses, and it looks kind of silly. :smile:

I've been trying to figure out what I need to do to remove this line (company name) from the packing slip.

I've been looking at both the packingslip.php and the includes/functions/general.php files, but as a newbie, I'm still quite clueless.

Any help would be greatly appreciated.

Thanks!

26 Apr 2007, 10:23 PM
#2
birdoasis avatar

birdoasis

Inactive

Join Date:
Jun 2005
Location:
Cheney WA
Posts:
1,123
Plugin Contributions:
0

Re: Removing company name from packing slip

I was going to say to check the define pages in admin, but I have a feeling that it isn't in there.

You said you changed the name of the field. Try using the developers tookit in admin. It's under the tools menu. Search for the new field name.

28 Apr 2007, 6:10 PM
#3
hboospumpkin avatar

hboospumpkin

New Zenner

Join Date:
Apr 2007
Location:
Honolulu, HI
Posts:
3
Plugin Contributions:
0

Re: Removing company name from packing slip

Thanks for introducing me to the developer's toolkit. I can see how that can be very useful.

Unfortunately, I did a search as you suggested but still haven't figured it out yet. :dontgetit

28 Apr 2007, 7:09 PM
#4
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Removing company name from packing slip

Not having seem how you have changed your store it's difficult to be certain, but I would guess that removing line 50 of packingslip.php should solve this - i.e. the one that reads> <td class="pageHeading"><?php echo nl2br(STORE_NAME_ADDRESS); ?></td>