New Landing How can we help? Atelier Remove Cart from Site

Viewing 15 posts - 1 through 15 (of 16 total)
  • Posted in: Atelier
  • #235182
    racheldeters
    Member
    Post count: 45

    Hello,

    I am trying to remove the cart functionality from my website but keep the wishlist on the header as well as product pages. I have been able to delete the cart button icon on both the header and product pages, but the dropdown still is visible when I hover over where the cart icon used to be (in the header). Is there any way to disable the cart visibility on the header and still keep the wishlist?

    Thanks!
    Rachel

    Attachments:
    You must be logged in to view attached files.
    #235199
    David Martin – Support
    Moderator
    Post count: 20834

    Hi,

    Looks like you would just need this also:

    #header .header-right .aux-item .std-menu li.shopping-bag-item ul.sub-menu,
    .shopping-bag-item:hover>a:after {
        display: none!important;
    }

    Thanks.

    #235203
    racheldeters
    Member
    Post count: 45

    Thanks for the quick response!

    Is there anyway to remove the hand and link that says “View your shopping cart”?

    Also, I was just creating my product pages and it seems to be that the when you hover over a product you can either add it to your wishlist or cart. Is there custom CSS I could input that would remove the “add to cart” button + link (see screen shot)?

    Attachments:
    You must be logged in to view attached files.
    #235208
    David Martin – Support
    Moderator
    Post count: 20834

    No problem.

    1) You would need to activate your child theme. Inside the child theme function.php file you will need to copy in the function sf_get_cart(). This is located /wp-content/themes/atelier/swift-framework/core/sf-header.php starting on line 971. Copy that add and comment out the the lines: $cart_output .= '<li class="parent shopping-bag-item"><a class="cart-contents" href="' . $woocommerce->cart->get_cart_url() . '" title="' . __( "View your shopping cart", "swiftframework" ) . '">'. apply_filters( 'sf_header_cart_icon', '<i class="ss-cart"></i>' ) . $cart_total . '<span class="num-items cart-count-enabled">' . $cart_count_text_alt . '</span></a>';

    2) Please use this:

    
    .add-to-cart-wrap {
        display: none!important;
    }

    Thanks,
    David.

    #235360
    racheldeters
    Member
    Post count: 45

    Hi David,

    I tried to access the child theme (the following address): http://etsycurated.com/wp-content/themes/atelier/swift-framework/core/sf-header.php but, I a “fatal error” occurred. Any idea what could have gone wrong?

    Best,
    Rachel

    Attachments:
    You must be logged in to view attached files.
    #235364
    David Martin – Support
    Moderator
    Post count: 20834

    Can you list the steps you did?

    Did you active the child theme? Atelier-Child?

    Please also add your FTP details.

    Thanks.

    #235529
    racheldeters
    Member
    Post count: 45

    Hi David,

    I have been able to activate the child theme and then I went to change the sf-header.php copy (to be used for the child theme) but after I copied in the code above, I didn’t see any changes with the website. Could I have entered in the code in the wrong area or incorrectly(see attached file).

    Best,
    Rachel

    #235555
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    You need to copy the code to your child theme’s functions.php file

    – Kyle

    #235687
    racheldeters
    Member
    Post count: 45

    I was able to figure it out – thanks!

    #235688
    David Martin – Support
    Moderator
    Post count: 20834

    Great, glad you got it sorted!

    Thanks.

    #235778
    racheldeters
    Member
    Post count: 45

    I am going through my site and realized that while the cart button & text has disappeared, the wishlist has also disappeared on product pages. Is there a way to show the Wishlist icon/feature on the product pages and also as the overlay that appeared when you hovered over the products (see screenshots).

    Attachments:
    You must be logged in to view attached files.
    #236210
    David Martin – Support
    Moderator
    Post count: 20834

    Hi,

    Is the Wishlist plugin activated?

    I can no longer login with the details you provided.

    Thanks.

    #238990
    racheldeters
    Member
    Post count: 45

    Sorry for just getting back to you (away for the holiday). The plugin is still activated and it shows up on the top of the page in the navigation area. However, when I commented out the section to remove the cart from showing up, the wishlist also disappeared. Let me know if you need my login is details to check it out.

    Best,
    Rachel

    #239366
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    My colleague will assist you shortly.
    Thanks
    Mohammad

    #243433
    racheldeters
    Member
    Post count: 45

    Just wanted to check in and see if someone was able to take a look at my issue with the wishlist not showing up.

    Let me know!
    Thanks,
    Rachel

Viewing 15 posts - 1 through 15 (of 16 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register