ahaali Posted November 20, 2008 Share Posted November 20, 2008 hi, can anyone tell me how can i change everything on the main page of my site where it says 'Welcome Guest! Would you like to log yourself in? Or would you prefer to create an account?'? i want to change the colours of the page and replace the text already there with my own. my prices ar not showing up on my site when i have updated everything from admin. the prices are coming up as '0'? one last thing is that my manufacturers list is not changing on my site. if anyone has the answere to these question please help me as i am very short of time with setting up my site. thanks Link to comment Share on other sites More sharing options...
ABCommerce! Posted November 23, 2008 Share Posted November 23, 2008 For prices being 0 in catalog/inlcudes/languages/english.php change this line to whatever your default currency is define('LANGUAGE_CURRENCY', 'USD'); For the text in catalog/index.php you will find near the bottom <?php echo tep_customer_greeting(); ?> This is what generates the text (after figuring out which text to put there, the code for that is in catalog/includes/functions/general.php but don't worry about that). The text it generates is in catalog/includes/languages/english.php define('TEXT_GREETING_PERSONAL', 'Welcome back <span class="greetUser">%s!</span> Would you like to see which <a href="%s"><u>new products</u></a> are available to purchase?'); define('TEXT_GREETING_PERSONAL_RELOGON', '<small>If you are not %s, please <a href="%s"><u>log yourself in</u></a> with your account information.</small>'); define('TEXT_GREETING_GUEST', 'Welcome <span class="greetUser">Guest!</span> Would you like to <a href="%s"><u>log yourself in</u></a>? Or would you prefer to <a href="%s"><u>create an account</u></a>?'); If you log in you will see the different message you can change. The text below that is from this index.php code <td class="main"><?php echo TEXT_MAIN; ?></td> The text for that is in catalog/includes/languages/english/index.php define('TEXT_MAIN', 'This is a default setup of osCommerce ..... Colors are done in the stylesheet. Depends what exact color you want to change. Link to comment Share on other sites More sharing options...
ahaali Posted November 24, 2008 Author Share Posted November 24, 2008 hi, thanks for replying,i have solved everything else except the price being 0. i have changed the line define('LANGUAGE_CURRENCY', 'USD'); to define('LANGUAGE_CURRENCY', 'GBP'); and have also changed 'Switch To Default Language Currency' to true. from the admin tool but the prices are still coming up as 0 on my english pages. please get back to me asap as i have only 1 day left to get this issue resolved. thanks For prices being 0 in catalog/inlcudes/languages/english.php change this line to whatever your default currency is define('LANGUAGE_CURRENCY', 'USD'); For the text in catalog/index.php you will find near the bottom <?php echo tep_customer_greeting(); ?> This is what generates the text (after figuring out which text to put there, the code for that is in catalog/includes/functions/general.php but don't worry about that). The text it generates is in catalog/includes/languages/english.php define('TEXT_GREETING_PERSONAL', 'Welcome back <span class="greetUser">%s!</span> Would you like to see which <a href="%s"><u>new products</u></a> are available to purchase?'); define('TEXT_GREETING_PERSONAL_RELOGON', '<small>If you are not %s, please <a href="%s"><u>log yourself in</u></a> with your account information.</small>'); define('TEXT_GREETING_GUEST', 'Welcome <span class="greetUser">Guest!</span> Would you like to <a href="%s"><u>log yourself in</u></a>? Or would you prefer to <a href="%s"><u>create an account</u></a>?'); If you log in you will see the different message you can change. The text below that is from this index.php code <td class="main"><?php echo TEXT_MAIN; ?></td> The text for that is in catalog/includes/languages/english/index.php define('TEXT_MAIN', 'This is a default setup of osCommerce ..... Colors are done in the stylesheet. Depends what exact color you want to change. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.