How to Turn off Custom Fields From Printing

General ShopSite user discussion

How to Turn off Custom Fields From Printing

Postby hykarma » Fri Jul 27, 2007 10:02 am

I have demographic questions set up as optional fields in check out.
The only output of demographics seems to be on the packing slip
(vs. sending to database or email). How do I turn off the printing of
this data on the packing slip and how do I direct the output to a dB or email?

Thanks in advance!
Hykarma
hykarma
 
Posts: 2
Joined: Fri Jul 27, 2007 9:49 am
Location: Georgia - USA

Postby Jim » Fri Jul 27, 2007 1:34 pm

Not sure which "packing slip" you are referring to. If you mean the one off of the View Packing Slip on the Orders screen I don't think you can remove them from that screen. For the shopping cart screens and email receipts you configure which ones have the custom fields from the Commerce Setup > Order System > Checkout > Custom Checkout Fields and check or uncheck the boxes Emails, Conf., Thank You.

As far as processing the information from those fields you could use an Order API script (Pro stores only) and have that script put the information in whatever database you choose. The information would also be in the orders download file so you could have a script to process it from there also.
Jim
Site Admin
 
Posts: 4953
Joined: Fri Aug 04, 2006 1:42 pm
Location: Utah

Custom Fields on Packing Slip

Postby hykarma » Sun Jul 29, 2007 11:55 am

Thanks for your reply Jim. Maybe I can clarify....

I'm assuming the only way to print the packing slip is to do so via
Orders/List All/View Packing Slip <Print>. When I do this on a site configured to collect additional demographic data (age, income, etc.) in Custom Fields (and Gift Message) .....the data shows up on the View Packing Slip screen and the printed packing slip. I don't want this displayed to the recipient of the package.

Help me understand how I can collect the data, but not have it displayed on packing slips etc.

Secondly, I have SS Pro and see the input area for a custom CGI script (Order API) any suggestions where I might find scripts to move this demographic data to a dB?

Thanks much,
Hykarma
hykarma
 
Posts: 2
Joined: Fri Jul 27, 2007 9:49 am
Location: Georgia - USA

Postby Jim » Sun Jul 29, 2007 4:11 pm

Help me understand how I can collect the data, but not have it displayed on packing slips etc.


There is no way that you can keep the data from displaying on the packing slip. The only information you can remove from the packing slip is the price. You could copy the output from the Packing slip screen and past it into an html editor and then remove the data you don't want and print the page.

Since the fields you created to collect the demographics are custom there probably isn't an existing OrderAPI application that would extract the information you want unless you create it yourself (or have someone do it for you). The data from the order is passed to the Order API script in a name-value pair association. Your application would need to parse the name-value information and save what you need to what ever database you are using.
Jim
Site Admin
 
Posts: 4953
Joined: Fri Aug 04, 2006 1:42 pm
Location: Utah


Return to User Forum

Who is online

Users browsing this forum: No registered users and 75 guests

cron