Modify shipping address and quote forms

asked May 30, 2015 by fippu82 (600 points)
Hi

How can I define which fields I want to display for the shipping address and quote forms, and which ones should be mandatory? E.g., I don't want ZIP field to be mandatory in the quote form where it is mandatory by default.

Thanks
Philippe

1 Answer

answered Jun 2, 2015 by Eugenie (2,560 points)
Hello Philippe,

You can define the mandatory fields to be displayed in the quote form on the product page template:

{$quote:form:lastname*:firstname*:email*:phone*:disclaimer:country:zip}

Those which are marked with * are mandatory.

Do not hesitate to contact us if you have any other questions.

Best regards,
Eugenie
SeoToaster Support
commented Jun 3, 2015 by fippu82 (600 points)
Hi Eugenie

Thank you for your help, that works! Is this feature not documented anywhere?

Philippe
commented Jun 3, 2015 by Eugenie (2,560 points)
Hello Philippe,

You can find a lot of useful information on the shortcuts, widgets, etc. here http://seotoaster-documentation.seotoaster.com/

Feel free to contact us if you have any other questions.

Best regards,
Eugenie
commented Jun 27, 2015 by fippu82 (600 points)
Hi Eugenie, so far it works, but I can't figure out the code for adding a Street field (or Address). Is that possible to add?

Regarding the cheatsheet: Exactly this information is missing, it is only documented in the simple way {$quote:form}. I suggest to add this and similar details to the documentation. That would be very helpful.

Thank you,
Philippe
commented Jun 27, 2015 by fippu82 (600 points)
I'm missing the way to change the fields of the Free Shipping form. Is that possible via configuration, or do I need to change some code for this?
commented Jun 27, 2015 by fippu82 (600 points)
Found out just now how to add the address field, it's address1. : -)
commented Jun 30, 2015 by Eugenie (2,560 points)
Hello Philippe,

In order to change the fields of the shipping form you will need to modify them in the form code:

{$quote:form:lastname*:firstname*:email*:phone*:disclaimer:country:zip}

Let us know if you have any other questions.

Best regards,
Eugenie
commented Jul 5, 2015 by fippu82 (600 points)
Hi Eugenie

Thanks for the answer. But this code is for the quote form, that is ok. However, I was also asking how to modify the shipping form (not belonging to the quote widget). Does this need modification of a PHP file?

Best Regards,
Philippe
commented Jul 6, 2015 by Eugenie (2,560 points)
Hello Philippe,

Actually, you can only set required fields in the shipping form on the checkout. The fields can be changed only by means of JS script.

Best regards,
Eugenie
...