Export attributes as HTML

Slettet
Fra Ukendt

Hi,
i'm using this line to get XML for attributes:

. ' '. htmlspecialchars($product->attributes[language::$selected['code']]) .'' . PHP_EOL

Is it possible to get this in HTML (td and td badges), as shown on web? And also, is it possible to export attributes seperately, every attribute as it's own XML value?

Thanks.

tim
Founder
Fra Sweden
Member since maj 2013
tim

Sure. Have a look at pages/product.inc.php where the array of attributes is cooked.

Du
This website uses no cookies and no third party tracking technology. We think we can do better than others and really think about your privacy.