Need to collect Shipping Address for non-shippable items

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
cf_susan
Ensign (ENS)
Ensign (ENS)
Posts: 5
Joined: Wed Mar 12, 2008 9:36 am

Need to collect Shipping Address for non-shippable items

Post by cf_susan » Wed Nov 12, 2008 10:36 am

We sell digital goods which are marked nonshippable so they are available for download after purchase. We need to collect a shipping address for these items as our resellers (billing address) purchase the software then pass it on to their customer (shipping address). We have tried a few different tweeks to make this work.

First we modified the onepagecheckout.aspx and made it so it always requests a shipping address regardless of whether or not there is a shippable item on the order. However, after the purchase is made the shipping address no longer appears on the receipt or view order pages.

Secondly we have tried to mark our digital items as "shippable" which works except then the customer is not able to download the software aftter purchase. FYI, to avoid charging shipping on those items we set up a "free shipping" warehouse and moved the digital items to that warehouse.

Any suggestions would be greatly appreciated.

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: Need to collect Shipping Address for non-shippable items

Post by mazhar » Wed Nov 12, 2008 11:40 am

As you modified the OnPageCheckout to collect the shipping information from the customer for a digital good similarly you can modify the RecieptPage or ViewOrder page to show the collected shipping address such orders with digital goods.

cf_susan
Ensign (ENS)
Ensign (ENS)
Posts: 5
Joined: Wed Mar 12, 2008 9:36 am

Re: Need to collect Shipping Address for non-shippable items

Post by cf_susan » Wed Nov 12, 2008 11:51 am

I am unsure of how to do that, because ususally the shipping address displayed on the receipt and view order page is pulled from the ac_ordershipments table. Since the items are not shippable there is no record written to this table. The only place I can find the shipping address in the database is in the addresses table, however that does not tie to the order, but to the customer, so in future orders I would not know which address to display.

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: Need to collect Shipping Address for non-shippable items

Post by mazhar » Wed Nov 12, 2008 11:59 am

you can use the ac_CustomFields table to tie address with the order. Have a look at this post that how to use the custom fields
viewtopic.php?f=42&t=8684

Post Reply