Hi
I need to change the link of the greetting message, I need that this link show all the product list, not only the new ones.
I was looking for the tpl_ files but still is not clear what part I should to change.
Thanks for the help in advance.
Hi
I need to change the link of the greetting message, I need that this link show all the product list, not only the new ones.
I was looking for the tpl_ files but still is not clear what part I should to change.
Thanks for the help in advance.
I'm not sure what you're trying to do. The greeting message links to the login, not products.
You can turn off the new products display in the admin: configuration->index listing and set "show new products on main page" to 0 (zero), but unless you have very few products, you can't display your entire catalog on the main page.
Mary Ellen
I came; I saw; I Zenned
Taking over the world... one website at a time
Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.
Holzheimer
Fan Odyssey
Ok, I know, I need to be more clear,
When you login in the Zen cart you get this text
Hello USER_NAME! Would you like to see our newest additions?
The newest addition part is a link to the new products, this is the link that I want to change. The idea is that the link go to the produc list (the first page obviously).
In fact, better.... Is possible that when you login, the main page show the first page of the product list immediately and not the Hello ?.
Don't worry about of the catalog size, this is a special application for a customer that wants a system of orders for its own salespersons, so there are only 20 products at least for now.
I'm having a similar problem, except I've found where to change it (/includes/languages/english.php), the only problem is that this doesn't seem to work!!! It's definitely changed in the code and I've definitly uploaded it, but for some reason, it refuses to let the old code go! Is there a known caching problem on certain servers?
For the people that may be some day need this info...
To change this link you need to change this file
includes/functions/functions_customers.php
this code:
to this,Code:function zen_customer_greeting() { if (isset($_SESSION['customer_id']) && $_SESSION['customer_first_name']) { $greeting_string = sprintf(TEXT_GREETING_PERSONAL, zen_output_string_protected($_SESSION['customer_first_name']), zen_href_link(FILENAME_PRODUCTS_NEW)); } else { $greeting_string = sprintf(TEXT_GREETING_GUEST, zen_href_link(FILENAME_LOGIN, '', 'SSL'), zen_href_link(FILENAME_CREATE_ACCOUNT, '', 'SSL')); } return $greeting_string; }
and of course the english.php file, just remember, the english file only change the text that you see, not the link.Code:function zen_customer_greeting() { if (isset($_SESSION['customer_id']) && $_SESSION['customer_first_name']) { $greeting_string = sprintf(TEXT_GREETING_PERSONAL, zen_output_string_protected($_SESSION['customer_first_name']), zen_href_link(FILENAME_DEFAULT, "cPath=1")); } else { $greeting_string = sprintf(TEXT_GREETING_GUEST, zen_href_link(FILENAME_LOGIN, '', 'SSL'), zen_href_link(FILENAME_CREATE_ACCOUNT, '', 'SSL')); } return $greeting_string; }![]()