Product::get_listing_data()
Summary
Get the channel listing data cached for this product
Return
(object)
Source
File: src/BigCommerce/Post_Types/Product/Product.php
public function get_listing_data() { $data = get_post_meta( $this->post_id, self::LISTING_DATA_META_KEY, true ); if ( empty( $data ) ) { return new \stdClass(); } return json_decode( $data ); }