Expand my Community achievements bar.

SOLVED

Issue with share button in actions of asset details page

Avatar

Level 8

Hi,

 I downloaded asset share commons ui,apps,ui.content package(1.9.4). I enabled Cart checkbox in the search page(light.html) properties then after I went to asset details page and I configured actions component I added label for the cart as Add But the cart isnt displaying beside share button after I close the dialog of Actions component and do refresh

Vani1012_0-1656939561726.png

Vani1012_1-1656939628403.png

Can anyone help me on this issue

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @Vani1012,

According to the documentation - https://opensource.adobe.com/asset-share-commons/pages/details/action-buttons/ - you have to add both labels for Add and Remove to display Add to cart action button. Adding only one label will not work.

action-1.jpg

Result:

action-2.png

You also have to checked Enabled the Cart in parent page properties, for demo content light version it's /content/asset-share-commons/en/light

parent-props.jpg

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

Hi @Vani1012,

According to the documentation - https://opensource.adobe.com/asset-share-commons/pages/details/action-buttons/ - you have to add both labels for Add and Remove to display Add to cart action button. Adding only one label will not work.

action-1.jpg

Result:

action-2.png

You also have to checked Enabled the Cart in parent page properties, for demo content light version it's /content/asset-share-commons/en/light

parent-props.jpg