Is there a way to assign the shipping_to_show or billing_to_show to a custom basket field?
Trying to be able to write a conditional based on whether or not the checkbox was checked on OCST for the other checkout pages
Example:
If shipping_to_show EQ 1
do this
else if shipping_to_show EQ 0
do this
This is the current shipping controls code I have to work with for reference
Thanks
Trying to be able to write a conditional based on whether or not the checkbox was checked on OCST for the other checkout pages
Example:
If shipping_to_show EQ 1
do this
else if shipping_to_show EQ 0
do this
This is the current shipping controls code I have to work with for reference
Code:
<span id="shipping_controls" class="controls">
<mvt:if expr="g.Action AND g.shipping_to_show">
<input name="shipping_to_show" id="shipping_to_show" type="checkbox" value="1" class="checkbox" checked />
<mvt:else>
<input name="shipping_to_show" id="shipping_to_show" type="checkbox" value="1" class="checkbox" />
</mvt:if>
<label for="shipping_to_show" class="black" style="vertical-align:text-top">Same As Billing</label>
</span>
Comment