Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //functions.php
- add_filter('wqep_included_order_default_product_keys_filter', 'remove_product_from_csv');
- function remove_product_from_csv($keys)
- {
- //default keys are 'sku', 'name', 'quantity', 'line_price_without_taxes', 'line_price_with_taxes'
- //to remove totally the product data :
- return array();
- //to keep only sku and quantity
- return array('sku', 'quantity');
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement