keyelement66:
I want to delete a button (MY Account) and add an external link to a completely different web site. How can I do this in bask_black? The zen cart instructions are not working.
Hi,
zen-cart-power.net team developed that navigation menu as an add-on to standard Zen Cart, there is no problem changing the nav menu.
The shortest and simplest way is:
- To delete the 'My Account' from nav menu simply edit the file:
- [your_zen_cart_folder]\includes\templates\bask_black\common*tpl_header.php**.
Find the code:
<li id="<?php echo $account_page;?>"><a href="<?php echo zen_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>"><?php echo HEADER_MY_ACCOUNT;?></a></li>
and delete it.
To change the URL find the part of the code in " ":
<?php echo zen_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>
and change into your desired URL, e.g. 'www.google.com'.
- To edit the text name of 'My Account' find the file:
[your_zen_cart_folder]\includes\languages\bask_black*english.php*
and edit the text 'My Account' in string:
define('HEADER_MY_ACCOUNT', 'My Account');
In our case the string will look like (after changing 'My Account' to 'Google'):
define('HEADER_MY_ACCOUNT', 'Google');