Comments (7)
@bh-teufels We recommend that you use the plugin called ProductRender instead. This is due to the fact that it now uses pages instead of sys_categories and also have full support for proper routes out of the box.
from pxa_product_manager.
i see that the PluginName has changed from Pi1 (for list, show) to different Plugins for each action.
how should the route enhancers look when i want to achieve the following:
Detail:
URL should look like:
http://my-domain.com/subfolder/<product_title>
Listing:
i use 1 Filter (Radio, Category, OR) and
1 Filter (Checkbox, Attribute Mutliselect, AND)
and want to have also speaking URLs for the Filter
URL looks like:
from pxa_product_manager.
with the following code for route enhancer i get the product name in the url but still having
/?tx_pxaproductmanager_productshow%5BextensionName%5D=PxaProductManager&tx_pxaproductmanager_productshow%5BpluginName%5D=ProductShow&cHash=853401fd9a159e75dc3afb7399c3dd62
in the url
ProductShow:
type: Extbase
limitToPages: [8]
extension: PxaProductManager
plugin: ProductShow
routes:
-
routePath: '/{product_title}'
_controller: 'ProductShow::show'
_arguments:
product_title: product
defaultController: 'ProductShow::show'
aspects:
product_title:
type: PersistedAliasMapper
tableName: tx_pxaproductmanager_domain_model_product
routeFieldName: slug
from pxa_product_manager.
Thank you
with the ProductRenderer Plugin an the following route enhancer it is working
ProductRender:
type: Extbase
limitToPages: [9]
extension: PxaProductManager
plugin: ProductRender
routes:
-
routePath: '/{product_title}'
_controller: 'ProductRender::init'
_arguments:
product_title: product
defaultController: 'ProductRender::init'
aspects:
product_title:
type: PersistedAliasMapper
tableName: tx_pxaproductmanager_domain_model_product
routeFieldName: slug
from pxa_product_manager.
@bh-teufels Good to hear that is works!
from pxa_product_manager.
the topic "Speaking URL for Listing" is still present.
is it possible to have route enhancer for the List filter?
from pxa_product_manager.
@bh-teufels Not at the moment, but it may come in some future update. As said before any PR is welcome!
from pxa_product_manager.
Related Issues (20)
- [BUG] Attribute label and name doesn't get translated in fluid template
- [BUG] indexed solr images should be "processed", not just the "publicUrl"
- [FEATURE] Complete and replace external google docs-documentation with rendered REST-documentation HOT 2
- [TASK] Add valuable links to README
- [TASK] Move documentation from README to Documentation/
- Call to undefined method Doctrine\DBAL\Driver\Mysqli\MysqliStatement::fetchAllAssociative() HOT 3
- [BUG] Cannot set Attribute in Filter HOT 1
- [FEATURE] Related products by category HOT 1
- [BUG] Sorting "Product Renderer" List not working HOT 2
- [FEATURE] Lazy loading back button (Product Renderer List & Show)
- After Updates all products gone HOT 8
- [BUG] translation of additionalAttributes for list not working HOT 3
- [BUG] translation filter not working HOT 1
- Product list not appearing in frontend HOT 5
- [BUG] Non-admins unable to set initial attribute value
- [BUG]: Attributes not working HOT 2
- [BUG] SQL Error on filter category caused by 'groupBy('tpppm.uid_local')' HOT 1
- [FEATURE] Attributes on List under Product Name HOT 4
- [FEATURE] TYPO3 v12 support HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pxa_product_manager.