Created
May 19, 2017 02:04
-
-
Save fervous/ab983efd96cd197a460967ad06b7925d to your computer and use it in GitHub Desktop.
Commented out store header address wc vendors Pro
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
// Migrate to store address array | |
//$address1 = ( array_key_exists( '_wcv_store_address1', $vendor_meta ) ) ? $vendor_meta[ '_wcv_store_address1' ] : ''; | |
//$address2 = ( array_key_exists( '_wcv_store_address2', $vendor_meta ) ) ? $vendor_meta[ '_wcv_store_address2' ] : ''; | |
//$city = ( array_key_exists( '_wcv_store_city', $vendor_meta ) ) ? $vendor_meta[ '_wcv_store_city' ] : ''; | |
//$state = ( array_key_exists( '_wcv_store_state', $vendor_meta ) ) ? $vendor_meta[ '_wcv_store_state' ] : ''; | |
//$phone = ( array_key_exists( '_wcv_store_phone', $vendor_meta ) ) ? $vendor_meta[ '_wcv_store_phone' ] : ''; | |
//$store_postcode = ( array_key_exists( '_wcv_store_postcode', $vendor_meta ) ) ? $vendor_meta[ '_wcv_store_postcode' ] : ''; | |
//$address = ( $address1 != '') ? $address1 .', ' . $city .', '. $state .', '. $store_postcode : ''; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment