# Calling oxattributes in basket?

**URL:** <https://forum.oxid-esales.com/t/calling-oxattributes-in-basket/72914>\
**Category:** English forums\
**Tags:** templates-design\
**Created:** [May 19, 2015, 12:08pm UTC](https://forum.oxid-esales.com/t/calling-oxattributes-in-basket/72914 "2015-05-19T12:08:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kraldada](https://forum.oxid-esales.com/letter_avatar_proxy/v4/letter/k/b77776/32.png) [@kraldada](https://forum.oxid-esales.com/u/kraldada)\
**Post date:** [May 19, 2015, 12:08pm UTC](https://forum.oxid-esales.com/t/calling-oxattributes-in-basket/72914/1 "2015-05-19T12:08:35Z")

</div>

Is it possible to call oxattribute in basket? (using just template or module, doesnt matter) (in azure template)

I would love to do this the same way as in the productmain.tpl

[{foreach from=$oDetailsProduct-\>getAttributes() item=attr}]

[{$attr-\>oxattribute\_\_oxvalue-\>value}]

[{/foreach}]

But there are just $basketitem, that seems do not have this method.  
or $basketproduct, which also doesnt have this method. So is it possible somehow to get there the $oDetailsProduct or something similar.

Thank you for help.

Have a nice day!

---

<div class="post-metadata">

**Author:** ![vanilla\_thunder](https://forum.oxid-esales.com/user_avatar/forum.oxid-esales.com/vanilla_thunder/32/72_2.png) [@vanilla\_thunder](https://forum.oxid-esales.com/u/vanilla_thunder)\
**Post date:** [May 19, 2015, 12:42pm UTC](https://forum.oxid-esales.com/t/calling-oxattributes-in-basket/72914/2 "2015-05-19T12:42:14Z")

</div>

try $oArticle instead of $oDetailsProduct

have a loot at row ~45:

```auto

[{assign var="oArticle" value=$basketitem->getArticle()}]

```

---

<div class="post-metadata">

**Author:** ![system](https://forum.oxid-esales.com/user_avatar/forum.oxid-esales.com/system/32/4245_2.png) [@system](https://forum.oxid-esales.com/u/system)\
**Post date:** [July 13, 2026, 7:40pm UTC](https://forum.oxid-esales.com/t/calling-oxattributes-in-basket/72914/3 "2026-07-13T19:40:46Z")

</div>


