Builder Templates Hooks

ShopEngine provides many PHP hooks for Builder Templates to change the default behavior or, even extend it with new functionalities.

Before Hooks: #

Hooks that are called Before the Template Contents.

/before_shop #

Applied to the Shop Page Builder Template.

add_action( 'shopengine/templates/elementor/content/before_shop', function () {
    // your code here...
} );

/before_archive #

Applied to the Archive Page Builder Template.

add_action( 'shopengine/templates/elementor/content/before_archive', function () {
    // your code here...
} );

/before_single #

Applied to the Single Page Builder Template.

add_action( 'shopengine/templates/elementor/content/before_single', function () {
    // your code here...
} );

/before_cart #

Applied to the Cart Page Builder Template.

add_action( 'shopengine/templates/elementor/content/before_cart', function () {
    // your code here...
} );

/before_checkout #

Applied to the Checkout Page Builder Template.

add_action( 'shopengine/templates/elementor/content/before_checkout', function () {
    // your code here...
} );

/before_my_account #

Applied to the My Account Page Builder Template.

add_action( 'shopengine/templates/elementor/content/before_my_account', function () {
    // your code here...
} );

/before_order #

Applied to the Order / Thank You Page Builder Template.

add_action( 'shopengine/templates/elementor/content/before_order', function () {
    // your code here...
} );

/before_quick_view #

Applied to the Quick View Modal Builder Template.

add_action( 'shopengine/templates/elementor/content/before_quick_view', function () {
    // your code here...
} );

/before_quick_checkout #

Applied to the Quick Checkout Modal Builder Template.

add_action( 'shopengine/templates/elementor/content/before_quick_checkout', function () {
    // your code here...
} );

After Hooks: #

Hooks that are called After the Template Contents.

/after_shop #

Applied to the Shop Page Builder Template.

add_action( 'shopengine/templates/elementor/content/after_shop', function () {
    // your code here...
} );

/after_archive #

Applied to the Archive Page Builder Template.

add_action( 'shopengine/templates/elementor/content/after_archive', function () {
    // your code here...
} );

/after_single #

Applied to the Single Page Builder Template.

add_action( 'shopengine/templates/elementor/content/after_single', function () {
    // your code here...
} );

/after_cart #

Applied to the Cart Page Builder Template.

add_action( 'shopengine/templates/elementor/content/after_cart', function () {
    // your code here...
} );

/after_checkout #

Applied to the Checkout Page Builder Template.

add_action( 'shopengine/templates/elementor/content/after_checkout', function () {
    // your code here...
} );

/after_my_account #

Applied to the My Account Page Builder Template.

add_action( 'shopengine/templates/elementor/content/after_my_account', function () {
    // your code here...
} );

/after_order #

Applied to the Order / Thank You Page Builder Template.

add_action( 'shopengine/templates/elementor/content/after_order', function () {
    // your code here...
} );

/after_quick_view #

Applied to the Quick View Modal Builder Template.

add_action( 'shopengine/templates/elementor/content/after_quick_view', function () {
    // your code here...
} );

/after_quick_checkout #

Applied to the Quick Checkout Modal Builder Template.

add_action( 'shopengine/templates/elementor/content/after_quick_checkout', function () {
    // your code here...
} );
What are your feelings
Updated on March 18, 2022