Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision |
v:2.0:checkout [2019/08/29 20:14] – [How and Why FoxyCart's Checkout Is Different] marija | v:2.0:checkout [2020/01/13 17:35] – [Prepopulating custom fields] marija |
---|
{% endfor %} | {% endfor %} |
{% endif %}</code> | {% endif %}</code> |
| ==== Passing Custom Fields to the Custom Shipping Code ==== |
| Include a data attribute of ''data-fc-shipping-custom-field'' to capture the information from a customer on the checkout related to the shipping. Review [[https://wiki.foxycart.com/v/2.0/shipping#passing_custom_fields_to_the_custom_shipping_endpoint|this link]] for complete information on custom fields (''fx:custom_fields'') in custom shipping code or endpoint using ''data-fc-shipping-custom-field''. |
===== Pre-Populating the Checkout with Customer Information ===== | ===== Pre-Populating the Checkout with Customer Information ===== |
Though we generally recommend [[.:sso|Single Sign-On]] and synching [[.:customers|customers]] via [[.:api|the API]], there are certain situations where you may want to pre-populate the customer's billing or shipping fields without using SSO or the API. | Though we generally recommend [[.:sso|Single Sign-On]] and synching [[.:customers|customers]] via [[.:api|the API]], there are certain situations where you may want to pre-populate the customer's billing or shipping fields without using SSO or the API. |