I have successfully created my Document-Register product type, and it's working.
Here's an example, in my sandbox:
I'd like to have a custom Specials prefix.
includes/languages/english/[MY CUSTOM TPL DIR]/english.php
(it seems overrides don't work for that file, so it really resides in includes/languages/english/english.php)
But I am puzzled where to insert that. The only place I find PRODUCT_PRICE_DISCOUNT_PREFIX called is in includes/functions/functions_prices.php by the $show_sale_discount statements.
define('DOCUMENT_REGISTER_PRICE_DISCOUNT_PREFIX','Early registration discount: ');
I suppose I would insert a conditional clause in those, to test for product type, and depending on the test, use my custom discount prefix? Is there an elegant way to do this without mucking up the original functions_prices.php file?
thanks in advance!