Here's an easy way to reproduce this in the demo site v1.3.9h.
First, check that the product_music type preview works correctly by clicking on the "preview icon" in the Categories/Product admin view of a product that is of product_music type. You will see the text "This product was added to our catalog on <whatever date>".
Now:
1) Change the name of the TEXT_PRODUCT_DATE_ADDED to TEXT_PRODUCT_DATE_ADDED_MUSIC for the product_music type in the define file \admin\includes\languages\english\product_music.php
from:
PHP Code:
define('TEXT_PRODUCT_DATE_ADDED', 'This product was added to our catalog on %s.');
to:
PHP Code:
define('TEXT_PRODUCT_DATE_ADDED_MUSIC', 'This product was added to our catalog on %s.');
2) Update the admin/includes/modules/product_music/preview_info.php to use the new define name TEXT_PRODUCT_DATE_ADDED_MUSIC
from:
PHP Code:
<td align="center" class="smallText"><?php echo sprintf(TEXT_PRODUCT_DATE_ADDED, zen_date_long($pInfo->products_date_added)); ?></td>
to:
PHP Code:
<td align="center" class="smallText"><?php echo sprintf(TEXT_PRODUCT_DATE_ADDED_MUSIC, zen_date_long($pInfo->products_date_added)); ?></td>
Now, go back to the Categories/Products admin page and click on the Preview icon again for the product_music type product and you will see TEXT_PRODUCT_DATE_ADDED_MUSIC instead of the correct text.
Bookmarks