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.

How to use product-no as URL slug

Just change the routeFieldName: product_no into the desired field. It's important that the routeValuePrefix: '' is set to an empty string, otherwise the PersistedAliasMapper has a / prefixed and won't field your product in database.

  ShopProductsPlugin:
    type: Extbase
    limitToPages:
      - 15
    extension: Shop
    plugin: Products
    routes:
      -
        routePath: '/{product_slug}'
        _controller: 'Product::show'
        _arguments:
          product_slug: product
    defaultController: 'Product::list'
    aspects:
      product_slug:
        type: PersistedAliasMapper
        tableName: tx_shop_domain_model_product
        routeFieldName: product_no
        routeValuePrefix: ''

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
O63_________KH6______
S______F____I_U___JYF
FU7___1M7___C_R______
E_E____8____Z_9___ZKG
RBO_________1NN______

🎄 Bereits für's Weihnachtsmarketing?! 🎉

Entdecke den interaktiven Online-Adventskalender – perfekt für Websites, Shops und Kampagnen.

Gewinnspiele, Quiz, Gutscheine & mehr – alles, was Dein Weihnachtsmarketing braucht.

Für TYPO3-Websites Für andere Systeme