This is not resolved. That StackOverflow link does not address the question at all!
The issue is: when enqueuing scripts, $thepostid is not (yet) set so we cannot query the current post to see whether it is an order or a product (as of WP 6.1 & WC 6.9)!
Thread Starter
gladd
(@gladd)
Looks like that works! Thanks for the quick turnaround!
Thread Starter
gladd
(@gladd)
Title should read “Excerpt option has no effect…”, DOH!