Page 1 of 1

Hide address details. [-- SC_Address --]

PostPosted: Tue Sep 18, 2012 1:57 am
by arta!!ack
Hi.
We have set number of clients/customers (300+) who once registered (I will do with a bulk upload) should not have the ability to change the billing address details
I can see that [-- SC_Address --] is a vital part of the checkout process, and was wondering if there was a way of "hiding" the content so the address details are still passed on.
But because the code is generated by shopsite, I cannot find a way to hide the content.

I am by no means an html expert and have tried a couple of ways.
I tried this CSS option.

Code: Select all
.hidden {
  position: absolute !important;
  clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
  clip: rect(1px, 1px, 1px, 1px);
  padding: 0 !important;
  border: 0 !important;
  height: 1px !important;
  width: 1px !important;
  overflow: hidden;
}


and used it the same way the recalculate button works.

Code: Select all
<div class="hidden">[-- BUTTON Recalculate --]</div>


Code: Select all
<div class="hidden">[-- SC_Address --]</div>



In a nutshell I do not wish a customer to be able to change their address details on the checkout page.

Arthur.

Re: Hide address details. [-- SC_Address --]

PostPosted: Tue Sep 18, 2012 5:49 am
by BFChris
Or just:

Code: Select all
.hidden {
  display:none;
}

Re: Hide address details. [-- SC_Address --]

PostPosted: Tue Sep 18, 2012 5:54 am
by BFChris
A slightly trickier but more useful option might be to use Javascript to set the form fields to Read-only. That way people can view the address and see if it is correct, but still not edit.