magento - How to get attribute value of mutiple selection in the Owebia shipping method -


how attribute value of multiple selection in owebia shipping method?

my owebia code below:

{count items array_match_any(product.attribute.**shipping_restriction**.**value**', array('au','nz','au,nz'))} 

but,i can't attribute value,i can id num of attribute,

  1. shipping_restriction custom attribute,which has multiple selected menu.

  2. it return index num,not 'nz' or 'au',it return index num,not 'nz' or 'au'

  3. if have changed multiple selected menu single selection,it right value. 'nz' or 'au',and not index num.

you can try using following syntax value.

product.attribute.*.value 

where * attribute placeholder.

reference: http://www.owebia.com/os2/en/doc#formulas_variables_product


Comments

Popular posts from this blog

php - Hide output during test execution -

javascript - Migrate custom AngularJS filter from 1.2.28 to 1.4.x -

Update Magento products with multiple images -