• GoDaddy Community
  • Website Design & Development
  • Website Design & Development

    cancel
    Showing results for 
    Show  only  | Search instead for 
    Did you mean: 
    New

    Website View-Source Coding Advise

    Anyone know how to read source code? Can figure out where the below code location on the actual webpage? It indicate a shopping cart but I can't see any cart on mt webpage www.swimclasses.org . Please help.

    <ul class="shopping-cart shopping-cart-mobile none with-quick-cart ">
     <li class="cart-button">
     <a href="//cart" class="website-nav-link">
     <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
     viewBox="0 0 32 32" style="height:24px; width: 24px; float:left;" xml:space="preserve">
     <path d="M27.996,8.91C27.949,8.395,27.519,8,27,8h-5V6c0-3.309-2.69-6-6-6c-3.309,0-6,2.691-6,6v2H5
     C4.482,8,4.051,8.395,4.004,8.91l-2,22c-0.025,0.279,0.068,0.557,0.258,0.764C2.451,31.882,2.719,32,3,32h26
     c0.281,0,0.549-0.118,0.738-0.326c0.188-0.207,0.283-0.484,0.258-0.764L27.996,8.91z M12,6c0-2.206,1.795-4,4-4s4,1.794,4,4v2h-8
     V6z M4.096,30l1.817-20H10v2.277C9.404,12.624,9,13.262,9,14c0,1.104,0.896,2,2,2s2-0.896,2-2c0-0.738-0.404-1.376-1-1.723V10h8
     v2.277c-0.596,0.347-1,0.984-1,1.723c0,1.104,0.896,2,2,2c1.104,0,2-0.896,2-2c0-0.738-0.403-1.376-1-1.723V10h4.087l1.817,20
     H4.096z"/>
     </svg>
     <!--Cart-->
     <span class="cart-items-number primaryColor-bg2"></span>

     

    <ul class="shopping-cart shopping-cart-mobile none with-quick-cart ">
     <li class="cart-button">
     <a href="//cart" class="website-nav-link">
     <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
     viewBox="0 0 32 32" style="height:24px; width: 24px; float:left;" xml:space="preserve">
     <path d="M27.996,8.91C27.949,8.395,27.519,8,27,8h-5V6c0-3.309-2.69-6-6-6c-3.309,0-6,2.691-6,6v2H5
     C4.482,8,4.051,8.395,4.004,8.91l-2,22c-0.025,0.279,0.068,0.557,0.258,0.764C2.451,31.882,2.719,32,3,32h26
     c0.281,0,0.549-0.118,0.738-0.326c0.188-0.207,0.283-0.484,0.258-0.764L27.996,8.91z M12,6c0-2.206,1.795-4,4-4s4,1.794,4,4v2h-8
     V6z M4.096,30l1.817-20H10v2.277C9.404,12.624,9,13.262,9,14c0,1.104,0.896,2,2,2s2-0.896,2-2c0-0.738-0.404-1.376-1-1.723V10h8
     v2.277c-0.596,0.347-1,0.984-1,1.723c0,1.104,0.896,2,2,2c1.104,0,2-0.896,2-2c0-0.738-0.403-1.376-1-1.723V10h4.087l1.817,20
     H4.096z"/>
     </svg>
     <!--Cart-->
     <span class="cart-items-number primaryColor-bg2"></span>
    5 REPLIES 5
    New

    in the source code it indicated there is a shopping cart but i cant find it in my webpage. Please help. Thanks.

    Also have the same problem at be low website indicating broken shopping cart link in View source code line number 2440 to 2453 but I'm unable to find it in actual webpage. Anyone can help me to locate where is the hidden cart at   https://fengshuimaster-singapore.com/ ?

    @ktnal 

     

    This isn't really my expertise area, but what type of platform is your site built on? Is it straight HTML?

     

    If it's standard HTML, you should be able to find it on that specific page in an HTML editor, removing it, and uploading the new HTML file to the server. PLEASE NOTE, back up your website before you try this as you can break the site. I would suggest having a developer do it for you if you have no idea how.

     

    If it's built on top of a content management system of some sort, it would help to know which one.



    I am a GoDaddy End User - Just Like You
    * Please note that I DO NOT answer private messages. Please ask your question in the proper forum so the answer can assist EVERYONE in the community and not just you. If you contact me via PM for help, I will give you a price quote for my personal services. Thanks! *

    Once your issue is resolved,
    please be sure to come back and click accept for the solution

    Get Better Support on the Community Boards!
    Etiquette When Asking for Help from the Community


    @ktnal 

     

    I just noticed this post and wanted to jump in and help.

    So that code is a shopping cart button

    Screen Shot 2020-05-06 at 8.47.29 PM.png

    In looking at the source code the UL for this button has a class of none which sets this to be hidden. Additional based on the other classes that are there it is used for mobile layout.

     

    My guess is the Website platform you are using has a shopping cart feature which you aren't using. When in use and when there are items in the cart, the icon / button shows. Otherwise you can safely ignore it.

     

    Hope this helps you out.

    I am a GoDaddy End User - Just Like You
    Check out my site! | I currently manage over 300 WordPress Websites
    * Please note that I offer free advice on this forum. Thank You Info If you would like personalized help, please contact me. Otherwise, please ask your question in the proper forum so the answer can assist EVERYONE in the community and not just you. Thanks! *

    Once your issue is resolved,
    please be sure to come back and click accept for the solution

    Get Better Support on the Community Boards!
    Etiquette When Asking for Help from the Community