SOLVED: How to get certain dynamic data for cart content?

Hi guys, I created the cart template and I realized the “cart items” element won’t work well with the design I have, so I created my own “cart items” section; however, that’s where I need help.

Thanks to 1.4 I can create loop query “Cart Contents” so I was able to use the feature image thumbnail, title and price to show on cart contents, but I still need some type of dynamic data to show for the:

product remove icon
product attributes selected sizes
product attributes selected color
product quantity

Does anyone have a custom function code that with the above dynamic data I need?

2 Likes

I faced same issue, following dynamic data are so needed

Product attributes Like size, color and etc : actually one dynamic tag for product attributes and then choose the one we need

Ya, it sucks still more dynamic tags we need. I know they have product variation colors and variation sizes but that just shows all sizes and colors but doesn’t show which color or which size was selected in the “cart contents” loop query.

1 Like

Yep, it will be so great to add this dynamic tags
We can create our own cart in the way we want
Hope it will be done

1 Like

@Mehdimoradi I hope so too, I contacted the Bricks team to maybe giving me a temporary code or something XD

1 Like

Share it here if u get any solution

@Mehdimoradi of course. :slight_smile:

1 Like

Hi Scarlett,
We’ve added the requested functionality in Bricks 1.5.3, now available as a one-click update within your WordPress Dashboard. Please check out the updated academy article too:

Best regards,
timmse

5 Likes

I cannot find the dynamic data tags for sizes and colors (i.e. custom product attributes) anywhere in the documentation. Can anyone point me in the right direction?