Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 67836

db custom query help: attributes

$
0
0

Replies: 0

I’m writing a custom function and I need to collect one of the attributes from each product. My attribute is “alt_sku” and it’s converted to “pa_alt_sku” in wp_postmeta and the values are stored in wp_terms.

The values do not have to be related to the product; I’m doing that later. I just need someone to help me with a query that will return all of the values for “pa_alt_sku.”

I’d be very grateful if someone with some mysql knowledge can help me with this…?

regards,
GN


Viewing all articles
Browse latest Browse all 67836

Trending Articles