Please note that this documentation is for the most recent version of this extension. It may not be relevant for older versions. Related documentation can be found in the documentation directory of the extension.
Templates
Overview
The extension is developed according to the coding guidelines of TYPO3 based on Extbase. After installing and adding the static TypoScript templates to your root template, the store extension already brings the necessary TypoScript markup to use individualized templates for the store.
The supplied TypoScript expects you to specify a path under which your own templates can be found via the constant configuration. If a file is not available, the default file that is delivered with the extension will be used.
Create path to the files
Please put the following TypoScript path in your constants file. The specified path, here "fileadmin", has to be adapted according to your project structure. An overview of how to create a constants file can be found here in the documentation in section Quickstart.
themes.resourcesPrivatePath = fileadmin/
Create directories
Starting from the base directory for templates in your project structure, it is mandatory that the folders "Templates", "Partials" and "Layouts" exist. All three folders must be on the same level. The following TypoScript configuration gives an overview of a possible structure. The positions after the 300 can be extended or overwritten as you like. This can be helpful if you want to manage several TYPO3 websites in one system.
plugin.tx_shop {
view {
templateRootPaths {
300 = {$plugin.tx_shop.view.templateRootPath}
400 = {$themes.resourcesPrivatePath}Extensions/Shop/Templates/
}
partialRootPaths {
300 = {$plugin.tx_shop.view.partialRootPath}
400 = {$themes.resourcesPrivatePath}Extensions/Shop/Partials/
}
layoutRootPaths {
300 = {$plugin.tx_shop.view.layoutRootPath}
400 = {$themes.resourcesPrivatePath}Extensions/Shop/Layouts/
}
}
}
File overview
Below you will find an overview of all template files of the store system, to illustrate the possibilities of the level of customization.
π Shop
ββ π Layouts
β ββ π Default.html
β ββ π Widget.html
ββ π Partials
β ββ π Basket
β β ββ π BasketContent.html
β β ββ π BasketFooterRow.html
β β ββ π BasketItemRow.html
β β ββ π EmptyBasket.html
β ββ π Email
β β ββ π OrderSummary.html
β β ββ π OrderSummaryPlain.txt
β ββ π Product
β β ββ π Buttons
β β β ββ π AddToBasket.html
β β β ββ π Compare.html
β β β ββ π CreatePdf.html
β β β ββ π Details.html
β β ββ π Detail
β β β ββ π Attributes.html
β β β ββ π Categories.html
β β β ββ π Details.html
β β β ββ π FeatureIcons.html
β β β ββ π FileCollections.html
β β β ββ π Headline.html
β β β ββ π Images.html
β β β ββ π OtherImages.html
β β β ββ π QuestionCategories.html
β β β ββ π RelatedProduct.html
β β β ββ π Tags.html
β β ββ π List
β β β ββ π Filter
β β β β ββ π Category.html
β β β β ββ π Submit.html
β β β β ββ π TagCategorized.html
β β β β ββ π TagMultiple.html
β β β β ββ π TagSingle.html
β β β β ββ π Word.html
β β β ββ π Item
β β β β ββ π Default.html
β β β β ββ π Teaser.html
β β β ββ π Filter.html
β β β ββ π Sorting.html
β β ββ π SingleView.html
β ββ π Percent.html
β ββ π Price.html
ββ π Templates
ββ π Basket
β ββ π Show.html
β ββ π ShowBasketButton.html
ββ π BasketOrder
β ββ π Cancel.html
β ββ π Checkout.html
β ββ π ConfirmOrder.html
β ββ π Error.html
β ββ π Order.html
β ββ π Success.html
ββ π Email
β ββ π Checkout
β ββ π OnInvoice
β β ββ π CustomerConfirmation.html
β β ββ π CustomerConfirmation.txt
β β ββ π Order.html
β β ββ π Order.txt
β ββ π PrePayment
β β ββ π CustomerConfirmation.html
β β ββ π CustomerConfirmation.txt
β β ββ π Order.html
β β ββ π Order.txt
β ββ π Request
β β ββ π CustomerConfirmation.html
β β ββ π CustomerConfirmation.txt
β β ββ π Order.html
β β ββ π Order.txt
ββ π Product
ββ π List.html
ββ π Show.html
ββ π ShowQuickSearch.html