usrs wrote:How do I disable the "Ship to same address" checkbox on checkout? I disabled it in the Admin section, but it is still showing (after clearing my cache.)
Want to ensure any shipping is always done to the Billing Address.
Hi,
The setting you mentioned is not taken into account into the OnePageCheckout plugin. It is working only with the default checkouts.
In the OnePageCheckout plugin, you can either hide it with CSS:
.ship-to-same-address {
display: none !important;
}
or you can completely remove this code:
<div class="options ship-to-same-address" ng-hide="vm.configData.shipToSameAddressDisabled">
<input type="checkbox" id="shipToSameAddress" name="shipToSameAddress" ng-model="vm.shipToSameAddress" value="{{vm.shipToSameAddress}}" />
<label for="shipToSameAddress"> @T("SevenSpikes.RealOnePageCheckout.Public.ShipToSameAddress")</label>
</div>
from the Plugins\SevenSpikes.Nop.Plugins.RealOnePageCheckout\Views\RealOnePageCheckout\BillingAddress.cshtml file.
Hope this helps!