Skip to main content
edited tags
Link
David Manners
  • 27.3k
  • 9
  • 76
  • 220
Source Link
Marek Badura
  • 149
  • 1
  • 3
  • 8

Values from multiselect attribute

I have this code to get values from select/multiselect attributes

<?php
$attributes = $_product->getAttributes();
$themeColor = $attributes['theme_color']->getFrontend()->getValue($_product);
echo $themeColor;
?>

But it works only for select. When I'm pointing it to multiselect attribute it show nothing.