Login | Forgot password | Register

X

What is OpenID?

OpenID is an Internet-wide identity system that allows you to sign in to many websites with a single account.

With OpenID, your ID becomes a URL (e.g. http://username.myopenid.com/). You can get a free OpenID for example from myopenid.com.

For more information visit the official OpenID site.

Jump to:

890 Posts in 259 Topics by 241 members

E-Commerce Module

SilverStripe Forums » E-Commerce Module » Get Rid of Use Billing/Shipping Address Button

Discuss the E-Commerce Module.

Page: 1
Go to End
Author Topic: Get Rid of Use Billing/Shipping Address Button 462 Views
  • S0crates9
    avatar
    26 posts

    Get Rid of Use Billing/Shipping Address Button Link to this post

    On the checkout page, there is a button which says, "Use Billing Address for shipping". Essentially my question is, how do I get rid of that button and simply have the additional form elements on the page?

    I also noticed when that option is open, I cannot click it to close without it flashing required fields in the shipping address area... Seems like a bug, no?

  • mschiefmaker
    avatar
    Community Member
    187 posts

    Re: Get Rid of Use Billing/Shipping Address Button Link to this post

    Did you ever find an answer to this, this is something I want to remove as well as I supply a service so shipping address is irrelevant.

    Thanks

    MM

  • neonfrog
    avatar
    Community Member
    10 posts

    Re: Get Rid of Use Billing/Shipping Address Button Link to this post

    In OrderForm.php simply remove creation of the shipping form fields. In OrderForm.php remove code in beforeprocessing that checks the action useshipping address or use memberaddress. In ShoppingCart.php remove references to using shipping address.

    OrderInformation templates may also refer to shipping fields so check that too.

  • mschiefmaker
    avatar
    Community Member
    187 posts

    Re: Get Rid of Use Billing/Shipping Address Button Link to this post

    Hey again Neonfrog. Was just about to updates this after your advice on the other thread but I see you beat me to it. MM

    462 Views
Page: 1
Go to Top

Currently Online: becca

Welcome to our latest member: cjtdesign

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.