F-ShipOn values, bill versus ship uniqueness from cgi

General ShopSite user discussion

F-ShipOn values, bill versus ship uniqueness from cgi

Postby synchrotech » Thu Nov 06, 2008 11:57 am

We have had a post order cgi utilizing the ShopSite API that is now broken because of the new feature that auto-populates the ship to fields with the bill to field values.

Reading through the API documentation we saw the F-ShipOn variable and figured this would solve our dilemma. What value should we see in a cgi for F-ShipOn if the check box is checked? Unchecked?

If F-ShipOn doesn't let us determine whether the end user has different or same billing/shipping addresses, is there any other variables passed that will? We'd rather not write an intolerably long set of conditional statements comparing every billing field to its shipping counterpart.
synchrotech
 
Posts: 3
Joined: Wed Nov 05, 2008 4:09 pm

Postby Jim » Fri Nov 07, 2008 4:36 pm

According to the help on page
http://shopsite.com/help/10.0/en-US/sc/ ... .spec.html

F-ShipOn "checked" if the shipping address and billing address were entered separately. If this field is empty, the customer selected to use the same address for billing and shipping.

So Checked indicates that the shopper enter each address. Blank would indicate the shopper checked the box.

You can test this by using the test application customdump.cgi or custom-dump.pl and see what happens when you check it and what you get when you don't.
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 26 guests