Documentation You are here: start » v » 2.0 » checkout

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
v:2.0:checkout [2019/08/29 20:14]
marija [How and Why FoxyCart's Checkout Is Different]
v:2.0:checkout [2020/01/13 17:35] (current)
marija [Prepopulating custom fields]
Line 193: Line 193:
  {% 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.

Site Tools