# config.yaml per rendere l'url del prodotto seo friendly
# stringa originale:
#
# ?tx_cartproducts_showproduct[action]=show&
# tx_cartproducts_showproduct[controller]=Product&
# tx_cartproducts_showproduct[product]=x
#
routeEnhancers:
CartProducts:
type: Extbase
limitToPages: [xx,xx] # pids dei plugin dettaglio prodotti
extension: CartProducts
plugin: ShowProduct
routes:
- { routePath: '/{product_title}', _controller: 'Product::show', _arguments: {product_title: product} }
defaultController: 'Product::show'
aspects:
product_title:
type: PersistedAliasMapper
tableName: tx_cartproducts_domain_model_product_product
routeFieldName: path_segment