Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Single View Page global setting? #412

Open
eiranix opened this issue Jul 2, 2024 · 3 comments
Open

Single View Page global setting? #412

eiranix opened this issue Jul 2, 2024 · 3 comments

Comments

@eiranix
Copy link

eiranix commented Jul 2, 2024

Maybe I am missing something, but shouldn't the 'Single View Page' option be in the list plugin, the Product Type, and/or the typoscript settings?

It seems you have to set a Single View Page on every product or it will not show in the Product List. This seems crazy if you have more than a couple of products. and even moreso if you don't actually want a single view page.

I have tried setting the plugin.tx_pxaproductmanager.settings.pids.singleViewPid to something, but the product will not show in the list unless it is set on each individual product.

Also the documentation refers to a 'Disable Single View' button that doesn't appear to exist anymore. But then even if it did, this too would be a option that would make sense to also be available on a global level.

@MattiasNilsson
Copy link
Contributor

@eiranix Which version are using? And which plugin?

@eiranix
Copy link
Author

eiranix commented Jul 4, 2024

@MattiasNilsson Sorry, I have tried it on:
TYPO3 11.5.3
Product Manager 11.0.9
&
TYPO3 11.5.38
Product Manager 11.0.16

(This is using the Product List plugin with filters)

@eiranix
Copy link
Author

eiranix commented Jul 20, 2024

You could potentially add a default value in Page TSConfig eg.
TCAdefaults.tx_pxaproductmanager_domain_model_product.singleview_page

But this only helps with new products added. If you want to change the single view page you'd have to edit every single product, which could be in the hundreds...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants