Builder-Vorlagen-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 Geschäft Page Builder Template.

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

/before_archive #

Applied to the Archiv Page Builder Template.

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

/before_single #

Applied to the Einzel Page Builder Template.

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

/before_cart #

Applied to the Wagen Page Builder Template.

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

/before_checkout #

Applied to the Kasse Page Builder Template.

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

/before_my_account #

Applied to the Mein Konto 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 Schnellansicht Modal Builder Template.

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

/before_quick_checkout #

Applied to the Schnelle Kaufabwicklung 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 Geschäft Page Builder Template.

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

/after_archive #

Applied to the Archiv Page Builder Template.

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

/after_single #

Applied to the Einzel Page Builder Template.

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

/after_cart #

Applied to the Wagen Page Builder Template.

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

/after_checkout #

Applied to the Kasse Page Builder Template.

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

/after_my_account #

Applied to the Mein Konto 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 Schnellansicht Modal Builder Template.

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

/after_quick_checkout #

Applied to the Schnelle Kaufabwicklung Modal Builder Template.

add_action( 'shopengine/templates/elementor/content/after_quick_checkout', function () {
    // your code here...
} );
Was sind deine Gefühle?
Aktualisiert am 18. März 2022