-
Notifications
You must be signed in to change notification settings - Fork 14
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
[FEATURE] Attributes on List under Product Name #408
Comments
Hi, By default no attributes are returned in product list mode, but it is possible to add additional fields and attributes to return in XHR result for product list. Also note that by default the "card" partial is used in both "vue" and "extbase" mode, so some special condition might be needed to make the cards work in both "vue" and "extbase" mode. An alternative that doesn't impact the performance like attributes might do is to extend the product model and then include additional fields to the XHR result for product list. See: |
While we don't have a lot of products, the first example is the preferred one. Shouldnt this code work then? plugin.tx_pxaproductmanager.settings.listView.additionalAttributes = xxx1, xxx2 Inside partial/cards then added following:
Still no Attribute xxx1 inside of the Listview. Regards and thanks in advance. |
A way to see what data that is returned to the product list is by checking the network and the Fetch/XHR result (type 1606131593). There is no "attribue_value" key in the "list" result, so it should look something like: |
Thx. Now at least it works for the non-array attribute. ;) Any solution, how to iterate, if the data is in an array. i am not found of how to render/itterate any vue mode version array. For Attribute with Option Array (rendering the whole array as a string works thou, itterating doesn't):
I cant even adress the first attribute xxx1 (no array) without the Viewhelper "v-text" in Partial/Cards Fluid Template (I assume it's the same reason i can't itterate):
|
Hello dear Pixelants Team,
is there any option on the new ProductRender Site to show any Attributes to the Product like before using. product.attribute.name ... It should be possible in the Fluid Template Partial/Cards .... But it isn't since the last updates happened.
Regards and Greetings
Hamon
The text was updated successfully, but these errors were encountered: