oc-content/plugins/favorite_items/index.php
// ADD FAVORITE ITEMS LINK TO USER MENU
ADD FAVORITE ITEMS LINK TO USER MENU
ADD FAVORITE ITEMS LINK TO USER MENU
function fi_favorite_user_menu(){
  if(osc_current_web_theme() == 'zara') {
    echo '<li class="opt_favorite_items"><a href="' . osc_route_url('favorite-lists', array('list-id' => '0', 'current-update' => '0', 'notification-update' => '0', 'list-remove' => '0', 'iPage' => '0')) .'" ><i class="fa fa-star-o"></i> '.__('Favorite', 'favorite_items').'</a></li>'; 
  } else {
    echo '<li><a href="' . osc_route_url('favorite-lists', array('list-id' => '0', 'current-update' => '0', 'notification-update' => '0', 'list-remove' => '0', 'iPage' => '0')) .'" >'.__('Favorite items', 'favorite_items').'</a></li>'; 
  }
}
function fi_favorite_user_menu ( ) { if ( osc_current_web_theme ( ) == 'zara' ) { echo '<li class="opt_favorite_items"><a href="' . osc_route_url ( 'favorite-lists' , array ( 'list-id' => '0' , 'current-update' => '0' , 'notification-update' => '0' , 'list-remove' => '0' , 'iPage' => '0' ) ) . '" ><i class="fa fa-star-o"></i> ' . __ ( 'Favorite' , 'favorite_items' ) . '</a></li>' ; } else { echo '<li><a href="' . osc_route_url ( 'favorite-lists' , array ( 'list-id' => '0' , 'current-update' => '0' , 'notification-update' => '0' , 'list-remove' => '0' , 'iPage' => '0' ) ) . '" >' . __ ( 'Favorite items' , 'favorite_items' ) . '</a></li>' ; } }
ADD FAVORITE ITEMS LINK TO USER MENU
ADD FAVORITE ITEMS LINK TO USER MENU