I have done this for my own store, and I didn't find it as easy as I had hoped.

Ideally, you would just be able to delete this from the template shop/checkout/form.html:

    {% block billing-info %}{% include 
"contact/_contact_info_form_billing.html" %}{% endblock %}

But this leaves values like the billing country undefined, and other logic requires the billing country to be present.

I found that I needed to modify some Python code, particularly in class ContactInfoForm in the file satchmo_store/contact/forms.py . There, the modification (in several places) was to use the default country if the the billing country is missing.

I don't need to collect billing information because I use only PayPal for payment. Now that this is a viable option, I suspect that more people will want to adopt it.

May I request of the developers that, when you have some spare time :-) to do some refactoring, you look at making the billing-address logic and the shipping-address logic more easily separable from each other and from the rest of the Satchmo logic, so that either address component could more easily be included or omitted separately?

Thanks,

        - Allan


On Wed, 2 Mar 2011, Bin Chen wrote:

Hi,

In current satchmo I can see there is a billing address in the order
confirm page(the sample store). Is there any way that I can disable
it? I don't need it.

Thanks.
Bin

--
You received this message because you are subscribed to the Google Groups "Satchmo 
users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/satchmo-users?hl=en.


--
You received this message because you are subscribed to the Google Groups "Satchmo 
users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/satchmo-users?hl=en.

Reply via email to