Get product attributes details in WooCommerce 3

Viewed 2650

In php I am developing a "single product page" where each field capture and display data retrieved from the database. I stumbled upon the 'product attributes' database field since it has stored this value:

a:1:{s:10:"pa_flacone";a:6:{s:4:"name";s:10:"pa_flacone";s:5:"value";s:0:"";s:8:"position";s:1:"0";s:10:"is_visible";s:1:"1";s:12:"is_variation";i:1;s:11:"is_taxonomy";i:1;}}

that frankly I don't know how to manage in order to extract values and replicate them on php dedicated field. It looks like a Json format. Any help on how decoding this information and report in php form?

1 Answers
Related