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: ''
Documentation
TYPO3 Shop
This extension is an extensive shop for TYPO3 for realizing Webshops, Online-Shops or Payment-Subscriptions (comparable with tt_products, Quick-Shop or Aimeos).
Menu
- Introduction
- Installation
-
Configuration
- Constants
- Plugins
- Base Prices
- Bookmarks and Compare
- Delivery Address
- Discount
- Extension Settings
- Graduated Prices
- Human Readable URLs
- Import
- Invoices
- JavaScript
- Link Handler
- List Filter
- Mail Templates
- Manual Basket Order Creation
- Product Types
- Shipping Costs
- Sitemap XML
- Stock
- Subscriptions
- Tax Rates
- Ups Shipping
- BasketCheckout
- Commands
- Templates
- FAQ
- HowTo
- AddOn: Coupon
- AddOn: Export
- AddOn: Import
- AddOn: Shipping
- Developer