Created
January 27, 2016 19:53
-
-
Save andyg5000/49c0a802e434442a73a2 to your computer and use it in GitHub Desktop.
Update commerce discount percentage field description
This file contains hidden or 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 | |
$instance = field_info_instance('commerce_discount_offer', 'commerce_percentage', 'percentage'); | |
$instance['description'] = 'Enter the percentage discount as a whole number'; | |
field_update_instance($instance); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment