How to query PPOM meta data within the loop?
-
Hi there! I have a PPOM quantities field set up on a few products in my store. I’m also querying the products within a few custom Gutenberg blocks to create a product carousel and product grid.
Each of these products have a variations in price based on size:
i.e. : S - $5 M - $5 L - $5 XL - $5 2XL - $7 3XL - $8I need to display the low and high price for each item within my carousel and grid.
Question How can I query the value of the quantities fields for each of these products without the use of the PPOM API? i.e. I can use
get_post_meta( $product_id, '_product_attributes' );to grab values from other PPOM fields, but I cannot find any meta for the prices I have listed in my quantities fields. How do I attain these values?
The topic ‘How to query PPOM meta data within the loop?’ is closed to new replies.