- πΊπΈUnited States TomTech
Automatically closed because Drupal 7 security and bugfix support has ended β as of 5 January 2025. If the issue verifiably applies β to later versions, please reopen with details and update the version.
I am trying to show product attributes which were selected in add to cart form. So people should be able to select some attributes and when they hit add to cart button, they are presented with this nice popup with attributes which they selected.
For some reason it looks like attributes field just prints out product name and nothing else. For me it looks like permission problem of some kind, since same views functionality works anywhere else on website. But I am not sure where to dig into.
Install Drupal Commerce 7, not kickstart installation, install this module and product attributes module. Add some kind of attributes with pricing etc. and then edit the view provided by this module to add field "Commerce line item: Product attributes". It will just print product title and nothing else.
Weird thing is, in Views when typing contexual filter by hand (commerce line item ID) it works nicely! But not when adding to cart.
Possible solution is just to rework the view to take the last order item instead and show it in popup. Which should in theory work. But it is a workaround, not a solution to existing problem.
Closed: outdated
1.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Automatically closed because Drupal 7 security and bugfix support has ended β as of 5 January 2025. If the issue verifiably applies β to later versions, please reopen with details and update the version.