Forum
New input customer create form
I have creted new input in customer_create_passwordless.html template. But this one in not passed to admin panel. How I can add new field to Customer Address, which I will be able pass to emails sent after transaction?
<perch:label for="phone">Numer telefonu do kontaktu*</perch:label>
<perch:input type="text" id="phone" required="true" label="Numer telefonu" />
<perch:error for="phone" type="required"><span class="error">Podaj numer telefonu</span></perch:error>
Have you added the fields to the
customer.html
master template?Yes. my customers/customer.html template
and this one is my customer_create_passwordless.html template
Can you me your diagnostics report?
I did an perch shop update to the lastest version, but stil the same problem.
Will be thankfull for any suggestions.
I don't have any suggestions - it's something I'll need to replicate.
Hi Drew, I bet Maciej is talking about Order view in Admin. That one (addons/apps/perch_shop_orders_modes/order.detail.post.php) is hardcoded and doesn't show any additional fields apart orderDynamicFields :( I need to see Customer's phone number here, too :'(
Drew did You succeed to replicate this?
I've not any success yet, but I'm working on Shop again today.
Hi Drew, any news? :)
For me this is quite important, because I had a first problem with this one. Customer bought something, but because phone number field does not work, I could not fill the phone number for delivery slip. Customer was not at home, and courier could not contact the customer to arrange new delivery time :(
Will be very thankfull If You will find some time to look at this.
I've also been trying to get a telephone number to submit through to the order admin. I was requesting it from the customer when entering a new address via:
<?php perch_shop_edit_address_form?>
Then I added this to my
order_address_form.html
template for use with<?php perch_shop_order_address_form(); ?>
when selecting billing / shipping addresses:I thought that perhaps by submitting the value with a cart-property, the cart-property would apply to this address field even though it was an old address.
I didn't get anywhere with the above, but I was able to apply a cart-property to the telephone number which appears on the order admin under "Additional Information." It only worked when a new address was being submitted as a part of the order. Understandably "cart-property" is not saved to old addresses. Something like this could work for shops that don't want to offer customers a choice of saved addresses. In the add / edit address template:
Thanks Olympia! It is working!