Comments (6)
Hi Tony,
There is a custom_sorting in product manager, but the "score" is calculated by assigning "points" in typoscript configuration to categories and if the product is new, so probably isn't the solution for you.
But if you can sort products by another property, it is possible to add it as an option in the plugin options: "Product ordering" -> "Sort by"
In following example I add the SKU property as a sort by option:
Page TS
# Add new item to dropdown in plugin settings flexform of Product Manager Plugin
TCEFORM.tt_content.pi_flexform.pxaproductmanager_pi1.productOrderings.settings\.orderProductBy.addItems.sku = By SKU
Setup TS
# Add sku to orderByAllowed
plugin.tx_pxaproductmanager.settings.orderByAllowed = name,tstamp,crdate,categories,categories.sorting,custom_sorting,sorting,sku
from pxa_product_manager.
That's a helpful hint, Mats.
Thank you
from pxa_product_manager.
Is there a similar technique that could apply to category sorting? I don't see any settings in the typoscript configuration for that.
from pxa_product_manager.
It is possible to select the order of categories in plugin options tab "Category ordering" in plugin mode "List view (Possible navigation)". By default it is possible to order by sorting and title, but it is possible to add for other fields.
Example to sort by uid field:
Page TS
# Add new item to dropdown in plugin settings flexform of Product Manager Plugin
TCEFORM.tt_content.pi_flexform.pxaproductmanager_pi1.categoriesOrderings.settings\.orderCategoriesBy.addItems.uid = By Id
from pxa_product_manager.
Many thanks, Mats
from pxa_product_manager.
As a workaround for category sorting, I used the one of the Product Manager fields added to sys_category that I did not see being used at this time -- pxapm_tax_rate.
Setting in PageTS:
Add new item to dropdown in plugin settings flexform of Product Manager Plugin
TCEFORM.tt_content.pi_flexform.pxaproductmanager_pi1.categoriesOrderings.settings.orderCategoriesBy.addItems.pxapm_tax_rate = By Tax Rate
Then I could use MySQL Workbench or phpMyAdmin to manually set a tax rate for Parent Categories and Child Categories to achieve the desired sorting.
This is strictly a workaround, and I would like to see a way to sort Categories that is more accessible to the normal website admin.
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
- Route Enhancer not working with v11 [BUG] HOT 7
- [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 4
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.