Hooks de la ficha del producto en Prestashop 1.7

En el año 2013 estuvimos comentando en un artículo algunos de los hooks disponibles en la ficha del producto para Prestashop 1.5, en esta ocasión vamos hablar sobre lo mismo pero aplicado a Prestashop 1.7 en base a la plantilla por defecto.

Solo vamos a intentar hablar de los hooks de visualización (los display, no los actions, referente a los actions en la ficha del producto lo explicaremos en otro post)

Al acceder al fichero:

/themes/classic/templates/catalog/product.tpl

Si buscamos la palabra “hook” encontraremos inicialmente dos referencias:

hook -> displayReassurance

displayReassurance

hook -> displayFooterProduct

displayFooterProduct

Que corresponde visualmente a lo que señalamos en rojo en la siguiente captura:

displayFooterProduct y displayReassurance
displayFooterProduct y displayReassurance

En el hook -> displayReassurance tenemos inicialmente instalado el módulo: blockreassurance (Información de seguridad y confianza para el cliente) que podemos ver en la misma captura.

Por otro lado, en está captura,  no vemos ningún módulo instalado en el hook -> displayFooterProduct, pero por ejemplo el módulo de ventas cruzadas (ps_crossselling) suele quedar anclado en ese hook o el típico de productos de la misma categoría.

Volvemos al fichero:

/themes/classic/templates/catalog/product.tpl

Y encontramos otro include:

Otro include

Al acceder al fichero:

/themes/classic/templates/catalog/_partials/product-additional-info.tpl

Vemos que tenemos disponible el hook -> displayProductAdditionalInfo

Hook -> displayProductAdditionalInfo

Un ejemplo, es que en este hook por defecto se esta imprimiendo el módulo de las redes sociales en una instalación limpia de Prestashop. Es decir, la zona situada debajo del botón de “Añadir al carrito” y encima del hook displayReassurance

displayProductAdditionalInfo

Si seguimos avanzando en el fichero:

/themes/classic/templates/catalog/product.tpl

Vamos a ver varios “includes

Por ejemplo, el referente a las miniaturas que aparecen debajo de la imagen grande del producto.

thumbnails
Include

Al acceder al fichero:

/themes/classic/templates/catalog/_partials/product-cover-thumbnails.tpl

Vemos que debajo de las “miniaturas” tenemos otro hook denominado: displayAfterProductThumbs.

displayAfterProductThumbs

Que se visualizara debajo de las miniaturas.

displayAfterProductThumbs

Volvemos al fichero:

/themes/classic/templates/catalog/product.tpl

Y encontramos otro include correspondiente el bloque de precios de la ficha del producto

Otro include

Al acceder al fichero:

/themes/classic/templates/catalog/_partials/product-prices.tpl

Nos encontramos el hook -> displayProductPriceBlock

displayProductPriceBlock
displayProductPriceBlock

PosData:

Los antiguos hooks displayProductTab  y displayProductTabContent de las pestañas “están “muertos” por el momento hasta que Prestashop decida añadirlos por defecto en las próximas variantes.

Tabs Prestashop 1.7

Include: /themes/classic/templates/catalog/_partials/product-details.tpl

De todos modos, yo pienso posiblemente lo puedan añadir en un futuro/presente por defecto, sino pues simplemente creáis vuestros hooks: Crear hooks en Prestashop

Documento válido hasta Prestashop 1.7.3.0 RC1

Hooks de la página de confirmación del pedido en Prestashop 1.7

En este TIP de Prestashop, comentaremos los hooks/posiciones disponibles en la página de confirmación del pedido en Prestashop 1.7

Si accedemos al fichero: “/themes/classic/templates/checkout/order-confirmation.tpl” vemos disponibles los siguientes hooks (en la página de confirmación del pedido)

  • displayOrderConfirmation

    Hook -> displayOrderConfirmation
  • displayPaymentReturn

    displayPaymentReturn
  • displayOrderConfirmation1

    displayOrderConfirmation1
  • displayOrderConfirmation2 (vemos que tenemos añadido el módulo de productos destacados)

    displayConfirmation2
  • Todos los hooks

    Hooks página de confirmación del pedido

Continúa leyendo Hooks de la página de confirmación del pedido en Prestashop 1.7

Información sobre las posiciones y módulos en Prestashop

En esta ocasión vamos hablar de un módulo desarrollado por el usuario coeos.pro de la comunidad de Prestashop que ha ido actualizándose a lo largo del tiempo para funcionar sobre las distintas versiones.

El módulo nos permite conocer información relativa a las posiciones de la tienda. También permite localizar información sobre los módulos instalados (localización del CSS, JS, etc..).

La instalación del módulo, como suele ser habitual la realizamos desde la pestaña módulos -> módulos

Accediendo a la configuración del módulo para ver información relativa a los módulos y posiciones en Prestashop

Inicialmente las opciones de configuración, que nos ofrece el módulo son las siguientes:

Configurando el módulo
  • Address IP -> Solo las IP de las conexiones que vayamos a colocar aquí, verán la información de este “debug”. Si lo queremos ver nosotros “solos”, colocamos nuestra IP publica (cualesmiip.com) de conexión a internet.
  • open block H-M -> Dependiendo la opción que seleccionemos aquí, por ejemplo, nos permite ver la información solo cuando pulsamos en los bloques, o verla directamente desplegada si seleccionamos “all the time”.

    Desplegando toda la información
  • CSS and JS -> Si activamos esta opción mostramos la información de las rutas de los CSS y JS de los módulos

Por ejemplo, si nos vamos a la ficha del producto en Prestashop (pongo un extracto de una imagen, vemos la siguiente información):

Viendo información en la ficha del Producto

En esta captura (recordamos que esta recortada), vemos el hook displayRightColumnProduct y el hook “displayProductButtons” y vemos los módulos que tenemos instalados y la ruta de los TPL, JS, PHP.

¿Dónde puedo descargar este módulo, ver los problemas y preguntar dudas?

https://www.prestashop.com/forums/topic/468925-what-is-this-module-what-is-this-hook-css-js-tpl/

Enlace alternativo de una versión antigua del módulo por si falla el enlace fuente.

Continúa leyendo Información sobre las posiciones y módulos en Prestashop

Nuevos Hooks en Prestashop 1.7.1.X

Según nos indica Prestashop, a partir de Prestashop 1.7.1.X se introduce nuevos Hooks

Hooks en Prestashop 1.7.1.X

Nombre del Hook Fichero/s
actionClearCache
  • /classes/Tools.php
actionClearCompileCache
  • /classes/Tools.php
actionClearSf2Cache
  • /classes/Tools.php
actionDispatcherAfter
  • /classes/Dispatcher.php
actionDispatcherBefore
  • /classes/Dispatcher.php
actionObjectProductInCartDeleteAfter
  • /controllers/front/CartController.php
actionObjectProductInCartDeleteBefore
  • /controllers/front/CartController.php
actionOutputHTMLBefore
  • /classes/controller/FrontController.php
actionProductSearchAfter
  • /classes/controller/ProductListingFrontController.php
actionSearch
  • /src/Adapter/Search/SearchProductSearchProvider.php
actionSubmitAccountBefore
  • /controllers/front/AuthController.php
actionUpdateLangAfter
  • /classes/Language.php
displayAfterProductThumbs
  • /themes/classic/templates/catalog/_partials/product-cover-thumbnails.tpl
displayBanner
  • /themes/StarterTheme/templates/_partials/header.tpl
  • /themes/classic/templates/_partials/header.tpl
displayNav
  • /themes/StarterTheme/templates/_partials/header.tpl
displayProductAdditionalInfo
  • /themes/StarterTheme/templates/catalog/_partials/product-additional-info.tpl
  • /themes/classic/templates/catalog/_partials/product-additional-info.tpl
  • /themes/classic/templates/catalog/_partials/quickview.tpl
displayProductListFunctionalButtons
  • /themes/StarterTheme/templates/catalog/_partials/miniatures/product.tpl
displayProductListReviews
  • /themes/StarterTheme/templates/catalog/_partials/miniatures/product.tpl
  • /themes/classic/templates/catalog/_partials/miniatures/product.tpl
filterProductSearch
  • /classes/controller/ProductListingFrontController.php

Hooks en Prestashop 1.7.0.X

Nombre Hook Fichero(s)
actionClearCache
  • /classes/Tools.php
actionClearCompileCache
  • /classes/Tools.php
actionClearSf2Cache
  • /classes/Tools.php
actionDispatcherAfter
  • /classes/Dispatcher.php
actionDispatcherBefore
  • /classes/Dispatcher.php
actionObjectProductInCartDeleteAfter
  • /controllers/front/CartController.php
actionObjectProductInCartDeleteBefore
  • /controllers/front/CartController.php
actionOutputHTMLBefore
  • /classes/controller/FrontController.php
actionProductSearchAfter
  • /classes/controller/ProductListingFrontController.php
actionSearch
  • /src/Adapter/Search/SearchProductSearchProvider.php
actionSubmitAccountBefore
  • /controllers/front/AuthController.php
actionUpdateLangAfter
  • /classes/Language.php
displayAfterProductThumbs
  • /themes/classic/templates/catalog/_partials/product-cover-thumbnails.tpl
displayBanner
  • /themes/StarterTheme/templates/_partials/header.tpl
  • /themes/classic/templates/_partials/header.tpl
displayNav
  • /themes/StarterTheme/templates/_partials/header.tpl
displayProductAdditionalInfo
  • /themes/StarterTheme/templates/catalog/_partials/product-additional-info.tpl
  • /themes/classic/templates/catalog/_partials/product-additional-info.tpl
  • /themes/classic/templates/catalog/_partials/quickview.tpl
displayProductListFunctionalButtons
  • /themes/StarterTheme/templates/catalog/_partials/miniatures/product.tpl
displayProductListReviews
  • /themes/StarterTheme/templates/catalog/_partials/miniatures/product.tpl
  • /themes/classic/templates/catalog/_partials/miniatures/product.tpl
filterProductSearch
  • /classes/controller/ProductListingFrontController.php

Hooks Actualizados en Prestashop 1.7.1.X

  • Hook actionDeleteProductInCartAfter se divide en dos Hooks: actionObjectProductInCartDeleteBefore y actionObjectProductInCartDeleteAfter
  • Hook displayProductButtons es renombrado a displayProductAdditionalInfo

Hooks Comunes

Nombre Hook Ficheros(s) in 1.7.0 Fichero(s) in 1.7.1
action
  • /classes/controller/AdminController.php
  • /controllers/admin/AdminPerformanceController.php
  • /classes/controller/AdminController.php
  • /controllers/admin/AdminPerformanceController.php
actionAdmin
  • /classes/controller/AdminController.php
  • /classes/controller/AdminController.php
actionAdminControllerSetMedia
  • /classes/controller/AdminController.php
  • /classes/controller/AdminController.php
actionAdminLoginControllerSetMedia
  • /controllers/admin/AdminLoginController.php
  • /controllers/admin/AdminLoginController.php
actionAdminMetaAfterWriteRobotsFile
  • /controllers/admin/AdminMetaController.php
  • /classes/Tools.php
actionAdminMetaBeforeWriteRobotsFile
  • /controllers/admin/AdminMetaController.php
  • /classes/Tools.php
actionAdminMetaSave
  • /controllers/admin/AdminMetaController.php
  • /controllers/admin/AdminMetaController.php
actionAdminOrdersTrackingNumberUpdate
  • /controllers/admin/AdminOrdersController.php
  • /controllers/admin/AdminOrdersController.php
actionAdminThemesControllerUpdate_optionsAfter
  • /controllers/admin/AdminThemesController.php
  • /controllers/admin/AdminThemesController.php
actionAjaxDie
  • /classes/controller/Controller.php
  • /classes/controller/Controller.php
actionAjaxDieBefore
  • /classes/controller/Controller.php
  • /classes/controller/Controller.php
actionAttributeCombinationDelete
  • /classes/Combination.php
  • /classes/Combination.php
actionAttributeCombinationSave
  • /classes/Combination.php
  • /classes/Combination.php
actionAttributeDelete
  • /classes/Attribute.php
  • /classes/Attribute.php
actionAttributeGroupDelete
  • /classes/AttributeGroup.php
  • /classes/AttributeGroup.php
actionAttributeGroupSave
  • /classes/AttributeGroup.php
  • /classes/AttributeGroup.php
actionAttributeSave
  • /classes/Attribute.php
  • /classes/Attribute.php
actionAuthentication
  • /classes/form/CustomerLoginForm.php
  • /classes/form/CustomerLoginForm.php
actionAuthenticationBefore
  • /classes/form/CustomerLoginForm.php
  • /classes/form/CustomerLoginForm.php
actionBeforeAjaxDie
  • /classes/controller/Controller.php
  • /classes/controller/Controller.php
actionBeforeCartUpdateQty
  • /classes/Cart.php
  • /classes/Cart.php
actionCarrierProcess
  • /classes/checkout/CheckoutDeliveryStep.php
  • /classes/checkout/CheckoutDeliveryStep.php
actionCarrierUpdate
  • /controllers/admin/AdminCarrierWizardController.php
  • /controllers/admin/AdminCarriersController.php
  • /controllers/admin/AdminCarrierWizardController.php
  • /controllers/admin/AdminCarriersController.php
actionCartSave
  • /classes/Cart.php
  • /classes/Cart.php
actionCartSummary
  • /classes/Cart.php
  • /classes/Cart.php
actionCartUpdateQuantityBefore
  • /classes/Cart.php
  • /classes/Cart.php
actionCategoryAdd
  • /classes/Category.php
  • /classes/Category.php
actionCategoryDelete
  • /classes/Category.php
  • /classes/Category.php
actionCategoryUpdate
  • /classes/Category.php
  • /controllers/admin/AdminProductsController.php
  • /classes/Category.php
  • /controllers/admin/AdminProductsController.php
actionCustomerAccountAdd
  • /classes/form/CustomerPersister.php
  • /classes/form/CustomerPersister.php
actionCustomerAccountUpdate
  • /classes/form/CustomerPersister.php
  • /classes/form/CustomerPersister.php
actionCustomerAddGroups
  • /classes/Customer.php
  • /classes/Customer.php
actionCustomerBeforeUpdateGroup
  • /classes/Customer.php
  • /classes/Customer.php
actionCustomerLogoutAfter
  • /classes/Customer.php
  • /classes/Customer.php
actionCustomerLogoutBefore
  • /classes/Customer.php
  • /classes/Customer.php
actionDeliveryPriceByPrice
  • /classes/Carrier.php
  • /classes/Carrier.php
actionDeliveryPriceByWeight
  • /classes/Carrier.php
  • /classes/Carrier.php
actionDispatcher
  • /classes/Dispatcher.php
  • /classes/Dispatcher.php
actionDownloadAttachment
  • /controllers/front/AttachmentController.php
  • /controllers/front/AttachmentController.php
actionFeatureDelete
  • /classes/Feature.php
  • /classes/Feature.php
actionFeatureSave
  • /classes/Feature.php
  • /classes/Feature.php
actionFeatureValueDelete
  • /classes/FeatureValue.php
  • /classes/FeatureValue.php
actionFeatureValueSave
  • /classes/FeatureValue.php
  • /classes/FeatureValue.php
actionFrontControllerSetMedia
  • /classes/controller/FrontController.php
  • /classes/controller/FrontController.php
actionGetExtraMailTemplateVars
  • /classes/Mail.php
  • /classes/Mail.php
actionGetIDZoneByAddressID
  • /classes/Address.php
  • /classes/Address.php
actionGetProductPropertiesAfter
  • /classes/Product.php
  • /classes/Product.php
actionGetProductPropertiesBefore
  • /classes/Product.php
  • /classes/Product.php
actionHtaccessCreate
  • /classes/Tools.php
  • /classes/Tools.php
actionInvoiceNumberFormatted
  • /classes/order/OrderInvoice.php
  • /classes/order/OrderInvoice.php
actionModuleInstallAfter
  • /classes/module/Module.php
  • /classes/module/Module.php
actionModuleInstallBefore
  • /classes/module/Module.php
  • /classes/module/Module.php
actionModuleRegisterHookAfter
  • /classes/Hook.php
  • /classes/Hook.php
actionModuleRegisterHookBefore
  • /classes/Hook.php
  • /classes/Hook.php
actionModuleUnRegisterHookAfter
  • /classes/Hook.php
  • /classes/Hook.php
actionModuleUnRegisterHookBefore
  • /classes/Hook.php
  • /classes/Hook.php
actionObject
  • /classes/ObjectModel.php
  • /classes/ObjectModel.php
actionObjectAddAfter
  • /classes/ObjectModel.php
  • /classes/ObjectModel.php
actionObjectAddBefore
  • /classes/ObjectModel.php
  • /classes/ObjectModel.php
actionObjectAttributeAddBefore
  • /controllers/admin/AdminAttributesGroupsController.php
  • /controllers/admin/AdminAttributesGroupsController.php
actionObjectAttributeGroupAddBefore
  • /controllers/admin/AdminAttributesGroupsController.php
  • /controllers/admin/AdminAttributesGroupsController.php
actionObjectDeleteAfter
  • /classes/ObjectModel.php
  • /classes/ObjectModel.php
actionObjectDeleteBefore
  • /classes/ObjectModel.php
  • /classes/ObjectModel.php
actionObjectUpdateAfter
  • /classes/ObjectModel.php
  • /classes/ObjectModel.php
actionObjectUpdateBefore
  • /classes/ObjectModel.php
  • /classes/ObjectModel.php
actionOnImageCutAfter
  • /classes/ImageManager.php
  • /classes/ImageManager.php
actionOnImageResizeAfter
  • /classes/ImageManager.php
  • /classes/ImageManager.php
actionOrderEdited
  • /controllers/admin/AdminOrdersController.php
  • /controllers/admin/AdminOrdersController.php
actionOrderHistoryAddAfter
  • /classes/order/OrderHistory.php
  • /classes/order/OrderHistory.php
actionOrderReturn
  • /controllers/front/OrderFollowController.php
  • /controllers/front/OrderFollowController.php
actionOrderSlipAdd
  • /controllers/admin/AdminOrdersController.php
  • /controllers/admin/AdminOrdersController.php
actionOrderStatusPostUpdate
  • /classes/order/OrderHistory.php
  • /classes/order/OrderHistory.php
actionOrderStatusUpdate
  • /classes/order/OrderHistory.php
  • /classes/order/OrderHistory.php
actionPDFInvoiceRender
  • /classes/PaymentModule.php
  • /classes/order/OrderHistory.php
  • /controllers/admin/AdminPdfController.php
  • /controllers/front/PdfInvoiceController.php
  • /classes/PaymentModule.php
  • /classes/order/OrderHistory.php
  • /controllers/admin/AdminPdfController.php
  • /controllers/front/PdfInvoiceController.php
actionPasswordRenew
  • /controllers/front/PasswordController.php
  • /controllers/front/PasswordController.php
actionPaymentCCAdd
  • /classes/order/OrderPayment.php
  • /classes/order/OrderPayment.php
actionPaymentConfirmation
  • /classes/order/OrderHistory.php
  • /classes/order/OrderHistory.php
actionProductAdd
  • /controllers/admin/AdminProductsController.php
  • /controllers/admin/AdminProductsController.php
actionProductAttributeDelete
  • /classes/Product.php
  • /classes/Product.php
actionProductAttributeUpdate
  • /classes/Product.php
  • /classes/Product.php
actionProductCancel
  • /controllers/admin/AdminOrdersController.php
  • /controllers/admin/AdminOrdersController.php
actionProductCoverage
  • /classes/stock/StockManager.php
  • /classes/stock/StockManager.php
actionProductDelete
  • /classes/Product.php
  • /classes/Product.php
actionProductOutOfStock
  • /themes/classic/templates/catalog/_partials/product-details.tpl
  • /themes/StarterTheme/templates/catalog/_partials/product-details.tpl
  • /themes/StarterTheme/templates/catalog/product.tpl
  • /themes/classic/templates/catalog/_partials/product-details.tpl
actionProductSave
  • /classes/Product.php
  • /classes/Product.php
actionProductUpdate
  • /classes/Product.php
  • /controllers/admin/AdminProductsController.php
  • /classes/Product.php
  • /controllers/admin/AdminProductsController.php
actionSetInvoice
  • /classes/order/Order.php
  • /classes/order/Order.php
actionShopDataDuplication
  • /classes/shop/Shop.php
  • /classes/shop/Shop.php
actionUpdateQuantity
  • /classes/stock/StockAvailable.php
  • /classes/stock/StockAvailable.php
actionValidateCustomerAddressForm
  • /classes/form/CustomerAddressForm.php
  • /classes/form/CustomerAddressForm.php
actionValidateOrder
  • /classes/PaymentModule.php
  • /classes/PaymentModule.php
actionWatermark
  • /classes/FileUploader.php
  • /classes/webservice/WebserviceSpecificManagementImages.php
  • /controllers/admin/AdminImportController.php
  • /controllers/admin/AdminProductsController.php
  • /classes/FileUploader.php
  • /classes/webservice/WebserviceSpecificManagementImages.php
  • /controllers/admin/AdminImportController.php
  • /controllers/admin/AdminProductsController.php
addWebserviceResources
  • /classes/webservice/WebserviceRequest.php
  • /classes/webservice/WebserviceRequest.php
additionalCustomerFormFields
  • /classes/form/CustomerFormatter.php
  • /classes/form/CustomerFormatter.php
dashboardData
  • /controllers/admin/AdminDashboardController.php
  • /controllers/admin/AdminDashboardController.php
dashboardZoneOne
  • /controllers/admin/AdminDashboardController.php
  • /controllers/admin/AdminDashboardController.php
dashboardZoneTwo
  • /controllers/admin/AdminDashboardController.php
  • /controllers/admin/AdminDashboardController.php
displayAdminOrderContentOrder
  • /controllers/admin/AdminOrdersController.php
  • /controllers/admin/AdminOrdersController.php
displayAdminOrderContentShip
  • /controllers/admin/AdminOrdersController.php
  • /controllers/admin/AdminOrdersController.php
displayAdminOrderTabOrder
  • /controllers/admin/AdminOrdersController.php
  • /controllers/admin/AdminOrdersController.php
displayAdminOrderTabShip
  • /controllers/admin/AdminOrdersController.php
  • /controllers/admin/AdminOrdersController.php
displayAdminStatsModules
  • /controllers/admin/AdminStatsTabController.php
  • /controllers/admin/AdminStatsTabController.php
displayAfterBodyOpeningTag
  • /themes/classic/templates/checkout/checkout.tpl
  • /themes/classic/templates/layouts/layout-both-columns.tpl
  • /themes/StarterTheme/templates/layouts/layout-both-columns.tpl
  • /themes/classic/templates/checkout/checkout.tpl
  • /themes/classic/templates/layouts/layout-both-columns.tpl
displayAfterCarrier
  • /classes/checkout/CheckoutDeliveryStep.php
  • /classes/checkout/CheckoutDeliveryStep.php
displayBackOfficeCategory
  • /controllers/admin/AdminCategoriesController.php
  • /controllers/admin/AdminCategoriesController.php
displayBackOfficeHeader
  • /classes/controller/AdminController.php
  • /classes/controller/AdminController.php
displayBackOfficeTop
  • /classes/controller/AdminController.php
  • /classes/controller/AdminController.php
displayBeforeBodyClosingTag
  • /themes/classic/templates/checkout/checkout.tpl
  • /themes/classic/templates/layouts/layout-both-columns.tpl
  • /themes/StarterTheme/templates/layouts/layout-both-columns.tpl
  • /themes/classic/templates/checkout/checkout.tpl
  • /themes/classic/templates/layouts/layout-both-columns.tpl
displayBeforeCarrier
  • /classes/checkout/CheckoutDeliveryStep.php
  • /classes/checkout/CheckoutDeliveryStep.php
displayCMSDisputeInformation
  • /themes/classic/templates/cms/page.tpl
  • /themes/StarterTheme/templates/cms/page.tpl
  • /themes/classic/templates/cms/page.tpl
displayCMSPrintButton
  • /themes/classic/templates/cms/page.tpl
  • /themes/StarterTheme/templates/cms/page.tpl
  • /themes/classic/templates/cms/page.tpl
displayCarrierExtraContent
  • /classes/checkout/DeliveryOptionsFinder.php
  • /classes/checkout/DeliveryOptionsFinder.php
displayCarrierList
  • /classes/Cart.php
  • /classes/Cart.php
displayCartExtraProductActions
  • /themes/classic/templates/checkout/_partials/cart-detailed-product-line.tpl
  • /themes/StarterTheme/templates/checkout/_partials/cart-detailed-product-line.tpl
  • /themes/classic/templates/checkout/_partials/cart-detailed-product-line.tpl
displayCheckoutSubtotalDetails
  • /themes/classic/templates/checkout/_partials/cart-detailed-totals.tpl
  • /themes/StarterTheme/templates/checkout/_partials/cart-detailed-totals.tpl
  • /themes/classic/templates/checkout/_partials/cart-detailed-totals.tpl
displayCheckoutSummaryTop
  • /themes/classic/templates/checkout/_partials/cart-summary.tpl
  • /themes/StarterTheme/templates/checkout/_partials/cart-summary.tpl
  • /themes/classic/templates/checkout/_partials/cart-summary.tpl
displayCrossSellingShoppingCart
  • /themes/classic/templates/checkout/cart-empty.tpl
  • /themes/StarterTheme/templates/checkout/cart-empty.tpl
  • /themes/classic/templates/checkout/cart-empty.tpl
displayCustomerAccount
  • /themes/classic/templates/customer/my-account.tpl
  • /themes/StarterTheme/templates/customer/my-account.tpl
  • /themes/classic/templates/customer/my-account.tpl
displayCustomerAccountForm
  • /classes/form/CustomerForm.php
  • /classes/form/CustomerForm.php
displayCustomerAccountFormTop
  • /controllers/front/AuthController.php
  • /controllers/front/AuthController.php
displayCustomerLoginFormAfter
  • /themes/classic/templates/customer/authentication.tpl
  • /themes/StarterTheme/templates/customer/authentication.tpl
  • /themes/classic/templates/customer/authentication.tpl
displayCustomization
  • /classes/Product.php
  • /classes/Product.php
displayExpressCheckout
  • /themes/classic/templates/checkout/_partials/cart-detailed-actions.tpl
  • /themes/StarterTheme/templates/checkout/_partials/cart-detailed-actions.tpl
  • /themes/StarterTheme/templates/checkout/cart.tpl
  • /themes/classic/templates/checkout/_partials/cart-detailed-actions.tpl
displayFeaturePostProcess
  • /controllers/admin/AdminFeaturesController.php
  • /controllers/admin/AdminFeaturesController.php
displayFeatureValuePostProcess
  • /controllers/admin/AdminFeaturesController.php
  • /controllers/admin/AdminFeaturesController.php
displayFooter
  • /themes/classic/templates/_partials/footer.tpl
  • /themes/StarterTheme/templates/_partials/footer.tpl
  • /themes/classic/templates/_partials/footer.tpl
displayFooterAfter
  • /themes/classic/templates/_partials/footer.tpl
  • /themes/StarterTheme/templates/_partials/footer.tpl
  • /themes/classic/templates/_partials/footer.tpl
displayFooterBefore
  • /themes/classic/templates/_partials/footer.tpl
  • /themes/classic/templates/_partials/footer.tpl
displayFooterProduct
  • /themes/classic/templates/catalog/product.tpl
  • /themes/StarterTheme/templates/catalog/product.tpl
  • /themes/classic/templates/catalog/product.tpl
displayHeader
  • /classes/controller/FrontController.php
  • /classes/controller/FrontController.php
displayHome
  • /controllers/front/IndexController.php
  • /controllers/front/IndexController.php
displayInvoiceLegalFreeText
  • /classes/pdf/HTMLTemplateInvoice.php
  • /classes/pdf/HTMLTemplateInvoice.php
displayLeftColumn
  • /themes/classic/templates/layouts/layout-both-columns.tpl
  • /themes/StarterTheme/templates/layouts/layout-both-columns.tpl
  • /themes/classic/templates/layouts/layout-both-columns.tpl
displayLeftColumnProduct
  • /themes/classic/templates/layouts/layout-both-columns.tpl
  • /themes/StarterTheme/templates/layouts/layout-both-columns.tpl
  • /themes/classic/templates/layouts/layout-both-columns.tpl
displayMaintenance
  • /classes/controller/FrontController.php
  • /classes/controller/FrontController.php
displayNav1
  • /themes/classic/templates/_partials/header.tpl
  • /themes/classic/templates/checkout/_partials/header.tpl
  • /themes/classic/templates/_partials/header.tpl
  • /themes/classic/templates/checkout/_partials/header.tpl
displayNav2
  • /themes/classic/templates/_partials/header.tpl
  • /themes/classic/templates/checkout/_partials/header.tpl
  • /themes/classic/templates/_partials/header.tpl
  • /themes/classic/templates/checkout/_partials/header.tpl
displayNavFullWidth
  • /themes/classic/templates/_partials/header.tpl
  • /themes/StarterTheme/templates/_partials/header.tpl
  • /themes/classic/templates/_partials/header.tpl
  • /themes/classic/templates/checkout/_partials/header.tpl
displayNotFound
  • /themes/classic/templates/errors/not-found.tpl
  • /themes/StarterTheme/templates/errors/not-found.tpl
  • /themes/classic/templates/errors/not-found.tpl
displayOrderConfirmation
  • /controllers/front/OrderConfirmationController.php
  • /controllers/front/OrderConfirmationController.php
displayOrderConfirmation1
  • /themes/classic/templates/checkout/order-confirmation.tpl
  • /themes/StarterTheme/templates/checkout/order-confirmation.tpl
  • /themes/classic/templates/checkout/order-confirmation.tpl
displayOrderConfirmation2
  • /themes/classic/templates/checkout/order-confirmation.tpl
  • /themes/StarterTheme/templates/checkout/order-confirmation.tpl
  • /themes/classic/templates/checkout/order-confirmation.tpl
displayOrderDetail
  • /controllers/front/GuestTrackingController.php
  • /controllers/front/OrderDetailController.php
  • /controllers/front/GuestTrackingController.php
  • /controllers/front/OrderDetailController.php
displayPaymentByBinaries
  • /themes/classic/templates/checkout/_partials/steps/payment.tpl
  • /themes/classic/templates/checkout/_partials/steps/payment.tpl
displayPaymentReturn
  • /controllers/front/OrderConfirmationController.php
  • /controllers/front/OrderConfirmationController.php
displayPaymentTop
  • /themes/classic/templates/checkout/_partials/steps/payment.tpl
  • /themes/classic/templates/checkout/_partials/steps/payment.tpl
displayProductPriceBlock
  • /themes/classic/templates/catalog/_partials/miniatures/product.tpl
  • /themes/classic/templates/catalog/_partials/product-prices.tpl
  • /themes/classic/templates/checkout/_partials/cart-summary-product-line.tpl
  • /themes/classic/templates/checkout/_partials/order-confirmation-table.tpl
  • /themes/StarterTheme/templates/catalog/_partials/miniatures/product.tpl
  • /themes/StarterTheme/templates/catalog/_partials/product-prices.tpl
  • /themes/StarterTheme/templates/checkout/_partials/cart-summary-product-line.tpl
  • /themes/StarterTheme/templates/checkout/_partials/order-confirmation-table.tpl
  • /themes/classic/templates/catalog/_partials/miniatures/product.tpl
  • /themes/classic/templates/catalog/_partials/product-prices.tpl
  • /themes/classic/templates/checkout/_partials/cart-summary-product-line.tpl
  • /themes/classic/templates/checkout/_partials/order-confirmation-table.tpl
displayReassurance
  • /themes/classic/templates/catalog/product.tpl
  • /themes/classic/templates/checkout/cart.tpl
  • /themes/classic/templates/checkout/checkout.tpl
  • /themes/StarterTheme/templates/checkout/cart.tpl
  • /themes/classic/templates/catalog/product.tpl
  • /themes/classic/templates/checkout/cart.tpl
  • /themes/classic/templates/checkout/checkout.tpl
displayRightColumn
  • /themes/classic/templates/layouts/layout-both-columns.tpl
  • /themes/StarterTheme/templates/layouts/layout-both-columns.tpl
  • /themes/classic/templates/layouts/layout-both-columns.tpl
displayRightColumnProduct
  • /themes/classic/templates/layouts/layout-both-columns.tpl
  • /themes/StarterTheme/templates/layouts/layout-both-columns.tpl
  • /themes/classic/templates/layouts/layout-both-columns.tpl
displaySearch
  • /themes/classic/templates/errors/not-found.tpl
  • /themes/StarterTheme/templates/errors/not-found.tpl
  • /themes/classic/templates/errors/not-found.tpl
displayShoppingCart
  • /themes/classic/templates/checkout/cart.tpl
  • /themes/StarterTheme/templates/checkout/cart.tpl
  • /themes/classic/templates/checkout/cart.tpl
displayShoppingCartFooter
  • /themes/classic/templates/checkout/cart.tpl
  • /themes/StarterTheme/templates/checkout/cart.tpl
  • /themes/classic/templates/checkout/cart.tpl
displayTop
  • /themes/classic/templates/_partials/header.tpl
  • /themes/classic/templates/checkout/_partials/header.tpl
  • /themes/StarterTheme/templates/_partials/header.tpl
  • /themes/classic/templates/_partials/header.tpl
  • /themes/classic/templates/checkout/_partials/header.tpl
moduleRoutes
  • /classes/Dispatcher.php
  • /classes/Dispatcher.php
overrideMinimalPurchasePrice
  • /classes/controller/ModuleFrontController.php
  • /src/Adapter/Cart/CartPresenter.php
  • /classes/controller/ModuleFrontController.php
  • /src/Adapter/Cart/CartPresenter.php
termsAndConditions
  • /classes/checkout/ConditionsToApproveFinder.php
  • /classes/checkout/ConditionsToApproveFinder.php
updateProduct
  • /classes/Product.php
  • /classes/webservice/WebserviceSpecificManagementImages.php
  • /classes/Product.php
  • /classes/webservice/WebserviceSpecificManagementImages.php
validateCustomerFormFields
  • /classes/form/CustomerForm.php
  • /classes/form/CustomerForm.php

Información en: http://build.prestashop.com/news/new-updated-hooks-1-7-1-0/

¿Está el newsletter en el DisplayFooter en Prestashop 1.7?

displayFooterBefore en Prestashop 1.7
displayFooterBefore en Prestashop 1.7

Nos encontramos que tenemos el “pie de página” dividido en varios Bloques en Prestashop 1.7 (Actualmente estamos probando con Prestashop 1.7.0.3)

El hook donde está posicionado el formulario del Newsletter  “displayFooterBefore”

Esto lo podemos verificar si vamos a la pestaña Diseño -> Posiciones de los módulos (Atención, es posible que en un futuro se llame diferente la pestaña por el tema de las traducciones) Continúa leyendo ¿Está el newsletter en el DisplayFooter en Prestashop 1.7?

Parte superior de la cabecera dividida en dos hooks en Prestashop 1.7

Con la parte superior, me refiero a la parte donde aparece: “Contacte con nosotros, el bloque del idioma, el de “login” y el del carrito”.

En la actualidad esta parte en Prestashop 1.7 se ha dividido en dos “hooks“, la parte donde aparece “Contacte con nosotros” es el hook: “DisplayNav1” y la otra parte es el “DisplayNav2“. Continúa leyendo Parte superior de la cabecera dividida en dos hooks en Prestashop 1.7