I have a new issue related to a previously [Resolved} Featured Product support ticket. That ticket URL https://toolset.com/forums/topic/featured-product/ involved the automatic selection and posting of a single featured product image and related fields on the Home Page by selecting the product from the Product list panel in the wp-admin as indicated in reply dated October 29, 2018 at 8:12 pm #1136223
I've tried exporting Toolset Modules from the source site indicated in the original ticket and imported them to another project but I am unable to recreate the previous development because of not knowing where to add the filter as indicated in Reply #1136223 :
"... just add this filter so that the view will filter only the Featured Products."
add_filter( 'wpv_filter_query', 'featured_products',99,3 );
function featured_products( $query_args,$views_settings, $view_id) {
The work of the original support agent resolved the issue perfectly and I would like to record exactly how to duplicate it in new projects. Please that there is a second question closely related to the same featured product subject for the Home Page and it would be very helpful if I can submit it to the same support agent that resolves this ticket as it is directly related.
I added the filter as you indicated and this portion of the issue is resolved. I can now effectively select the featured image from the product list panel. I can not bookmark the complete workflow for new projects. Thank you.
The other issue pertains to displaying the same featured image in the top full-width module in the same view where I am using a Divi Full Width Header Module which is currently in use displaying a static file of the same featured product.