Loading...
Skip navigation
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

Contact request

You can contact us at any time

Stop! Playing in the meantime?
Stop! Playing in the meantime?
Stop! Playing in the meantime?

Stop! Playing in the meantime?

Break the highscore

Press Start
Contact request
Screenreader label
Security question
24F_________6M9______
__X____P____N_5___G7Y
__X___EXI___6PR______
__1____Y______D___OBW
__S_________1E8______