This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* @snippet Utilizes the Product Category Thumbnail to apply itself in place of the PDP's Main image on all products in that category. | |
* @author Serafin Tech | |
* @compatible WooCommerce 9+ | |
* @website https://serafintech.io | |
*/ | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* @snippet Adds a column for the new GTIN input field on Products so when you export the column shows | |
* @author Serafin Tech | |
* @compatible WooCommerce 9+ | |
* @website https://serafintech.io | |
*/ | |
// Add the GTIN/UPC/EAN/ISBN to the export column names | |
add_filter('woocommerce_product_export_column_names', 'add_custom_gtin_export_column'); |