Our plugin supports the following Filter to customize the data used in the quick-view content:
apply_filters( 'woocommerce_wishlist_title', $title ) apply_filters( 'woocommerce_wishlist_rating', $rating ) apply_filters( 'woocommerce_wishlist_price', $price ) apply_filters( 'woocommerce_wishlist_short_description', $short_description ) apply_filters( 'woocommerce_wishlist_description', $description ) apply_filters( 'woocommerce_wishlist_sku', $stock_status) apply_filters( 'woocommerce_wishlist_sku', $sku) apply_filters( 'woocommerce_wishlist_tags', $tags) apply_filters( 'woocommerce_wishlist_categories', $categories)
Export Wishlist Post Meta data
If you want to export additional post meta fields, you can use the woocommerce_wishlist_export_data_keys filter. Set the meta key into the array key and the name of the field in the value. In the excel export of your wishlist, these fields will be exported.
add_filter('woocommerce_wishlist_export_data_keys', function($exportDataKeys) { $exportDataKeys['first_name'] = 'First Name'; $exportDataKeys['middle_name'] = 'Middle Name'; $exportDataKeys['last_name'] = 'Last Name'; $exportDataKeys['title'] = 'Title'; $exportDataKeys['bio'] = 'Bio'; $exportDataKeys['location'] = 'Location'; $exportDataKeys['primary_email'] = 'Primary Email'; $exportDataKeys['primary_email_confidence_score'] = 'Primary Email Confidence Score'; $exportDataKeys['linkedin'] = 'Linkedin'; $exportDataKeys['linkedin_id'] = 'Linkedin Id'; $exportDataKeys['twitter'] = 'Twitter'; $exportDataKeys['company_website'] = 'Company Website'; return $exportDataKeys; });
Export additional Wishlist Data
In addition to custom post metas, you can also export completely new data. Below is an example using the post id.
add_filter('woocommerce_wishlist_export_data', function($exportData, $productId) { $company = get_post_meta($productId, 'company_link', true); if(!empty($company)) { $exportData['Hq Location'] = get_post_meta($company, 'hq_location', true); $exportData['Industry'] = get_post_meta($company, 'industry', true); $exportData['Employee Headcount'] = get_post_meta($company, 'employee_headcount', true); } return $exportData; }, 20, 2);