Hello,
I want to use the multilianguage benefit of zencart to do some stuff.
I just need some help on how to call button and "function".
Here what i tried so far :
I added in button_names.php of each language a button called :
define('BUTTON_IMAGE_PRICE', 'price.gif');
define('BUTTON_IMAGE_PRICE_ALT', 'Price');
I configured this one like any other button, put images where they have to be with other buttons, done its _ALT too.
I try to call it with :
zen_image_button(BUTTON_IMAGE_PRICE, BUTTON_IMAGE_PRICE_ALT)
and nothing it put this in text and not my image on the page.
and I tried to define a function in each language.php (english.php etc...)
define('PRICE_PIC', 'price :'); and so on in other languages files.
I was wondering how to call it to make it appear in tpl_product_info_display.php
Thank you very much
Bookmarks