Last active
December 15, 2015 05:59
-
-
Save jonathandavis/5213074 to your computer and use it in GitHub Desktop.
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 | |
add_filter('shopp_themeapi_purchase_itemunitprice') | |
function shopp_purchase_item_price ($result, $options, $O) { | |
$item = current($O->purchased); | |
$amount = $item->unitprice; | |
return money($amount); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment