Tagged: ,

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #7803

    Looking to remove the Shopping Cart feature from the sub menu.

    http://www.zahava.ca.

    Help would be much appreciated.

    * ,

    _/^_

    < >

    * /.-. *

    * /& *

    ,@.*;@,

    /_o.I %_ *

    * (`’–:o(_@;

    /;--.,__‘) *

    ;@o % O,*‘`&

    * (`’–)_@ ;o %’() *

    /;--._”–._O’@;

    /&*,()~o;-.,_“”`)

    * /,@ ;+& () o*;-’;

    (`””–.,_0 +% @’ &()

    /-.,_ ”–….-’`) *

    * /@%;o`:;’–,.__ __.’

    ;*,&(); @ % &^;~"o;@(); *

    /(); o^~; & ().o@*&`;&%O

    jgs "="==""==,,,.,="=="==="

    __.—-.(-”#####—…___…


    ._

    )_“””””`

    .–’ ‘)

    o( )_-

    """ `

    #59327

    Hey,

    in abundancewoocommerce-configconfig.php delete following code:

    $url = avia_collect_shop_urls();

    $output .= "<ul>";

    if( is_user_logged_in() )
    {
    $output .= "<li class='account_overview_link'><a href='".$url['account_overview']."'>".__('My Account', 'avia_framework')."</a>";
    $output .= "<ul>";
    $output .= "<li class='account_change_pw_link'><a href='".$url['account_change_pw']."'>".__('Change Password', 'avia_framework')."</a></li>";
    $output .= "<li class='account_edit_adress_link'><a href='".$url['account_edit_adress']."'>".__('Edit Address', 'avia_framework')."</a></li>";
    $output .= "<li class='account_view_order_link'><a href='".$url['account_view_order']."'>".__('View Order', 'avia_framework')."</a></li>";
    $output .= "<li class='account_logout_link'><a href='".$url['logout']."'>".__('Log Out', 'avia_framework')."</a></li>";
    $output .= "</ul>";
    $output .= "</li>";
    }
    else
    {
    if(get_option('users_can_register'))
    {
    $output .= "<li class='register_link'><a href='".$url['register']."'>".__('Register', 'avia_framework')."</a></li>";
    }

    $output .= "<li class='login_link'><a href='".$url['account_overview']."'>".__('Log In', 'avia_framework')."</a></li>";
    }

    $output .= "<li class='shopping_cart_link'><a href='".$url['cart']."'>".__('Shopping Cart', 'avia_framework')."</a></li>";
    $output .= "<li class='checkout_link'><a href='".$url['checkout']."'>".__('Checkout', 'avia_framework')."</a></li>";
    $output .= "</ul>";

    Nice Christmas tree :)

    #59328

    Thanks Chris. It worked!

    I need to replace some of the menu items that were deleted, but I should damn well learn how to code php & JS already.

    You saw the Xmas tree ascii ? It looks parsed to heck to me.

    #59329

    Glad that it worked.

    Yes I saw the tree :) – our code converter messes it up a bit. For everyone else – here’s the correct version: http://pastie.org/3061775

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Sub Menu Edit HOW TO’ is closed to new replies.