Howdy.
I have successfully created my Document-Register product type, and it's working.
Here's an example, in my sandbox:
http://www.coreknowledge.org/registe...roducts_id=137
I'd like to have a custom Specials prefix.
So far:
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)
Code:
define('PRODUCT_PRICE_DISCOUNT_PREFIX','Save: ');
define('DOCUMENT_REGISTER_PRICE_DISCOUNT_PREFIX','Early registration discount: ');
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.
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!
---Diana
---signature missing-in-action
Bookmarks