Skip to content
This repository was archived by the owner on Sep 1, 2021. It is now read-only.

03. InitiateCheckout

David Hahn edited this page Aug 11, 2017 · 2 revisions

The only thing required to get this up and running is to add this {% hook 'fbPixel.renderInitiateCheckout' %} to your checkout template. You'll need to make sure you add this hook after the fbPixel.renderBase hook is called. We accomplish this by having this

    {% hook 'fbPixel.renderBase' %}
    {% block head %}{% endblock %}

in our layout.twig and having this

{% block head %}
    {% hook 'fbPixel.renderInitiateCheckout'  %}
{% endblock %}

in our checkout template. Ideally, you would be able to manage the admin area, but we're not there yet. 😢

(note) This hook is also required for the AddPaymentInfo event to work.

Clone this wiki locally