How can I fix a cart drawer error in the Debutify theme?

Hi,

if im adding this product to cart, → https://dogstime.co.il/products/safedog

and going to this product page again and trying to open the cart again,

this error appears:

it looks like a mess, and the text is “the page cannot found”

instead of openning this drawer:

please help me to fix !!!

debutify theme

why cant you help me here?

Hi @Dogstime

Have you changed something code of your cart drawer or header liquid of your theme?

i dont think so

this is my header.liquid

{%- assign nav_type = section.settings.navigation_type -%}

  
  

  

{% schema %}
  {
    "name": "t:sections.header.name",
	  "class": "header-section stacked-on-top-of-content",
    "settings": [
      {
        "type": "header",
        "content": "t:sections.header.settings.header__1.content"
      },
	    {
        "type": "link_list",
        "id": "main_menu_link_list",
        "label": "t:sections.header.settings.main_menu_link_list.label",
        "default": "main-menu"
      },
	    {
        "type": "select",
        "id": "navigation_type",
        "label": "t:sections.header.settings.navigation_type.label",
		    "default": "center",
        "options": [
          {
            "value": "left",
            "label": "t:sections.header.settings.navigation_type.options__1.label"
          },
          {
            "value": "right",
            "label": "t:sections.header.settings.navigation_type.options__2.label"
          },
          {
            "value": "center",
            "label": "t:sections.header.settings.navigation_type.options__3.label"
          },
          {
            "value": "center-logo",
            "label": "t:sections.header.settings.navigation_type.options__4.label"
          },
          {
            "value": "hidden",
            "label": "t:sections.header.settings.navigation_type.options__5.label"
          }
        ]
      },
      {
        "type": "header",
        "content": "t:sections.header.settings.header__2.content"
      },
	    {
        "type": "checkbox",
        "id": "logo_link",
        "label": "t:sections.header.settings.logo_link.label",
        "default": true
      },
      {
        "type": "image_picker",
        "id": "default_logo",
        "label": "t:sections.header.settings.default_logo.label"
      },
	    {
        "type": "image_picker",
        "id": "inverted_logo",
        "label": "t:sections.header.settings.inverted_logo.label"
      },
      {
        "type": "image_picker",
        "id": "mobile_logo",
        "label": "t:sections.header.settings.mobile_logo.label"
      },
      {
        "type": "header",
        "content": "t:sections.header.settings.header__3.content",
        "info": "t:sections.header.settings.header__3.info"
      },
      {
        "type": "text",
        "id": "default_logo_svg",
        "label": "t:sections.header.settings.default_logo_svg.label",
        "placeholder": "logo.svg"
      },
      {
        "type": "text",
        "id": "inverted_logo_svg",
        "label": "t:sections.header.settings.inverted_logo_svg.label",
        "placeholder": "logo-inverted.svg"
      },
      {
        "type": "text",
        "id": "mobile_logo_svg",
        "label": "t:sections.header.settings.mobile_logo_svg.label",
        "placeholder": "logo-mobile.svg"
      },
      {
        "type": "header",
        "content": "t:sections.header.settings.header__4.content",
    		"info": "t:sections.header.settings.header__4.info"
      },
  	  {
        "type": "range",
        "id": "logo_width",
        "label": "t:sections.header.settings.logo_width.label",
        "min": 30,
        "max": 200,
        "step": 2,
        "unit": "px",
        "default": 200
      },
  	  {
        "type": "range",
        "id": "logo_mobile_width",
        "label": "t:sections.header.settings.logo_mobile_width.label",
        "min": 30,
        "max": 150,
        "step": 2,
        "unit": "px",
        "default": 100
	    }
    ],
    "blocks" : [
      {
        "type": "mega",
        "name": "t:sections.header.blocks.mega.name",
        "limit": 6,
        "settings": [
          {
            "type": "header",
            "content": "t:sections.header.blocks.mega.settings.header__1.content"
          },
          {
            "type": "paragraph",
            "content": "t:sections.header.blocks.mega.settings.paragraph__1.content"
          },
          {
            "type": "paragraph",
            "content": "t:sections.header.blocks.mega.settings.paragraph__2.content"
          },
          {
            "type": "text",
            "id": "title",
            "label": "t:sections.header.blocks.mega.settings.title.label",
            "info": "t:sections.header.blocks.mega.settings.title.info"
          },
          {
            "type": "header",
            "content": "t:sections.header.blocks.mega.settings.header__2.content"
          },
          {
            "type": "text",
            "id": "dbtfy_mega_menu_nav_link",
            "label": "t:sections.header.blocks.mega.settings.mega_menu_nav_link.label",
            "default": "Mega menu"
          },
          {
            "type": "url",
            "id": "dbtfy_mega_menu_nav_link_url",
            "label": "t:sections.header.blocks.mega.settings.mega_menu_nav_link_url.label"
          },
          {
            "type": "range",
            "id": "dbtfy_mega_menu_position",
            "label": "t:sections.header.blocks.mega.settings.mega_menu_position.label",
            "min": 1,
            "max": 10,
            "step": 1,
            "default": 1,
            "info": "t:sections.header.blocks.mega.settings.mega_menu_position.info"
          },
          {
            "type": "header",
            "content": "t:sections.header.blocks.mega.settings.header__3.content"
          },
          {
            "type": "checkbox",
            "id": "dbtfy_mega_menu_header",
            "label": "t:sections.header.blocks.mega.settings.mega_menu_header.label",
            "default": true
          },
          {
            "type": "link_list",
            "id": "dbtfy_mega_menu_multi",
            "label": "t:sections.header.blocks.mega.settings.mega_menu_multi.label"
          },
          {
            "type": "header",
            "content": "t:sections.header.blocks.mega.settings.header__4.content"
          },
          {
            "type": "text",
            "id": "dbtfy_mega_menu_carousel_title",
            "label": "t:sections.header.blocks.mega.settings.mega_menu_carousel_title.label",
            "default": "Specials"
          },
          {
            "type": "url",
            "id": "dbtfy_mega_menu_carousel_title_link",
            "label": "t:sections.header.blocks.mega.settings.mega_menu_carousel_title_link.label"
          },
          {
            "id": "dbtfy_mega_menu_collection",
            "type": "collection",
            "label": "t:sections.header.blocks.mega.settings.mega_menu_collection.label"
           },
           {
            "type": "select",
            "id": "dbtfy_mega_menu_product_slider_count",
            "label": "t:sections.header.blocks.mega.settings.mega_menu_product_slider_count.label",
            "default": "2",
            "options": [
              {
                "value": "1",
                "label": "t:sections.header.blocks.mega.settings.mega_menu_product_slider_count.options__1.label"
              },
              {
                "value": "2",
                "label": "t:sections.header.blocks.mega.settings.mega_menu_product_slider_count.options__2.label"
              }
            ]
          },
          {
            "type": "range",
            "id": "dbtfy_mega_menu_product_slider_total_count",
            "label": "t:sections.header.blocks.mega.settings.mega_menu_product_slider_total_count.label",
            "min": 1,
            "max": 10,
            "step": 1,
            "default": 2
          },
          {
            "type": "checkbox",
            "id": "dbtfy_mega_menu_product_slider_arrows",
            "label": "t:sections.header.blocks.mega.settings.mega_menu_product_slider_arrows.label",
            "default": true
          },
          {
            "type": "checkbox",
            "id": "dbtfy_mega_menu_product_slider_dots",
            "label": "t:sections.header.blocks.mega.settings.mega_menu_product_slider_dots.label",
            "default": true
          },
          {
            "type": "checkbox",
            "id": "dbtfy_mega_menu_product_slider_autoplay",
            "label": "t:sections.header.blocks.mega.settings.mega_menu_product_slider_autoplay.label",
            "default": false
          },
          {
            "type": "range",
            "id": "dbtfy_mega_menu_product_slider_autoplayspeed",
            "label": "t:sections.header.blocks.mega.settings.mega_menu_product_slider_autoplayspeed.label",
            "min": 3,
            "max": 10,
            "step": 1,
            "unit": "s",
            "default": 5
          },
          {
            "type": "header",
            "content": "t:sections.header.blocks.mega.settings.header__5.content"
          },
          {
            "type": "checkbox",
            "id": "dbtfy_mega_menu_multi_image_slider_arrows",
            "label": "t:sections.header.blocks.mega.settings.mega_menu_multi_image_slider_arrows.label",
            "default": true
          },
          {
            "type": "checkbox",
            "id": "dbtfy_mega_menu_multi_image_slider_dots",
            "label": "t:sections.header.blocks.mega.settings.mega_menu_multi_image_slider_dots.label",
            "default": true
          },
          {
            "type": "checkbox",
            "id": "dbtfy_mega_menu_multi_image_slider_autoplay",
            "label": "t:sections.header.blocks.mega.settings.mega_menu_multi_image_slider_autoplay.label",
            "default": false
          },
          {
            "type": "range",
            "id": "dbtfy_mega_menu_multi_image_slider_autoplayspeed",
            "label": "t:sections.header.blocks.mega.settings.mega_menu_multi_image_slider_autoplayspeed.label",
            "min": 3,
            "max": 10,
            "step": 1,
            "unit": "s",
            "default": 5
          },
          {
            "type": "image_picker",
            "id": "dbtfy_mega_menu_multi_image_1",
            "label": "t:sections.header.blocks.mega.settings.mega_menu_multi_image_1.label"
          },
          {
            "type": "url",
            "id": "dbtfy_mega_menu_multi_image_link_1",
            "label": "t:sections.header.blocks.mega.settings.mega_menu_multi_image_link_1.label"
          },
          {
            "type": "image_picker",
            "id": "dbtfy_mega_menu_multi_image_2",
            "label": "t:sections.header.blocks.mega.settings.mega_menu_multi_image_2.label"
          },
          {
            "type": "url",
            "id": "dbtfy_mega_menu_multi_image_link_2",
            "label": "t:sections.header.blocks.mega.settings.mega_menu_multi_image_link_2.label"
          },
          {
            "type": "image_picker",
            "id": "dbtfy_mega_menu_multi_image_3",
            "label": "t:sections.header.blocks.mega.settings.mega_menu_multi_image_3.label"
          },
          {
            "type": "url",
            "id": "dbtfy_mega_menu_multi_image_link_3",
            "label": "t:sections.header.blocks.mega.settings.mega_menu_multi_image_link_3.label"
          },
          {
            "type": "image_picker",
            "id": "dbtfy_mega_menu_multi_image_4",
            "label": "t:sections.header.blocks.mega.settings.mega_menu_multi_image_4.label"
          },
          {
            "type": "url",
            "id": "dbtfy_mega_menu_multi_image_link_4",
            "label": "t:sections.header.blocks.mega.settings.mega_menu_multi_image_link_4.label"
          },
          {
            "type": "image_picker",
            "id": "dbtfy_mega_menu_multi_image_5",
            "label": "t:sections.header.blocks.mega.settings.mega_menu_multi_image_5.label"
          },
          {
            "type": "url",
            "id": "dbtfy_mega_menu_multi_image_link_5",
            "label": "t:sections.header.blocks.mega.settings.mega_menu_multi_image_link_5.label"
          },
           {
            "type": "image_picker",
            "id": "dbtfy_mega_menu_multi_image_6",
            "label": "t:sections.header.blocks.mega.settings.mega_menu_multi_image_6.label"
          },
          {
            "type": "url",
            "id": "dbtfy_mega_menu_multi_image_link_6",
            "label": "t:sections.header.blocks.mega.settings.mega_menu_multi_image_link_6.label"
          }
        ]
      },
      {
        "type": "product",
        "name": "t:sections.header.blocks.product.name",
        "limit": 6,
        "settings": [
          {
            "type": "text",
            "id": "title",
            "label": "t:sections.header.blocks.product.settings.title.label",
            "info": "t:sections.header.blocks.product.settings.title.info"
          },
          {
            "type": "text",
            "id": "dbtfy_mega_menu_nav_link",
            "label": "t:sections.header.blocks.product.settings.dbtfy_mega_menu_nav_link.label",
            "default": "Mega menu"
          },
          {
            "type": "url",
            "id": "dbtfy_mega_menu_nav_link_url",
            "label": "t:sections.header.blocks.product.settings.dbtfy_mega_menu_nav_link_url.label"
          },
          {
            "type": "range",
            "id": "dbtfy_mega_menu_position",
            "label": "t:sections.header.blocks.product.settings.dbtfy_mega_menu_position.label",
            "min": 1,
            "max": 10,
            "step": 1,
            "default": 1,
            "info": "t:sections.header.blocks.product.settings.dbtfy_mega_menu_position.info"
          },
          {
            "type": "checkbox",
            "id": "dbtfy_mega_menu_header",
            "label": "t:sections.header.blocks.product.settings.dbtfy_mega_menu_header.label",
            "default": true
          },
          {
            "type": "collection",
            "id": "dbtfy_mega_menu_product",
            "label": "t:sections.header.blocks.product.settings.dbtfy_mega_menu_product.label"
          },
          {
            "type": "select",
            "id": "dbtfy_mega_menu_product_grid",
            "label": "t:sections.header.blocks.product.settings.dbtfy_mega_menu_product_grid.label",
            "default": "5",
            "options": [
              {
                "value": "4",
                "label": "t:sections.header.blocks.product.settings.dbtfy_mega_menu_product_grid.options__1.label"
              },
              {
                "value": "5",
                "label": "t:sections.header.blocks.product.settings.dbtfy_mega_menu_product_grid.options__2.label"
              }
            ]
          }
        ]
      },
      {
        "type": "collection",
        "name": "t:sections.header.blocks.collection.name",
        "limit": 6,
        "settings": [
          {
            "type": "text",
            "id": "title",
            "label": "t:sections.header.blocks.collection.settings.title.label",
            "info": "t:sections.header.blocks.collection.settings.title.info"
          },
          {
            "type": "text",
            "id": "dbtfy_mega_menu_nav_link",
            "label": "t:sections.header.blocks.collection.settings.dbtfy_mega_menu_nav_link.label",
            "default": "Mega menu"
          },
          {
            "type": "url",
            "id": "dbtfy_mega_menu_nav_link_url",
            "label": "t:sections.header.blocks.collection.settings.dbtfy_mega_menu_nav_link_url.label"
          },
          {
            "type": "range",
            "id": "dbtfy_mega_menu_position",
            "label": "t:sections.header.blocks.collection.settings.dbtfy_mega_menu_position.label",
            "min": 1,
            "max": 10,
            "step": 1,
            "default": 1,
            "info": "t:sections.header.blocks.collection.settings.dbtfy_mega_menu_position.info"
          },
          {
            "type": "checkbox",
            "id": "dbtfy_mega_menu_header",
            "label": "t:sections.header.blocks.collection.settings.dbtfy_mega_menu_header.label",
            "default": true
          },
          {
            "type": "text",
            "id": "dbtfy_mega_menu_title",
            "label": "t:sections.header.blocks.collection.settings.dbtfy_mega_menu_title.label",
            "default": "Collections"
          },
          {
            "type": "collection",
            "id": "dbtfy_mega_menu_collection_1",
            "label": "t:sections.header.blocks.collection.settings.dbtfy_mega_menu_collection_1.label"
          },
          {
            "type": "collection",
            "id": "dbtfy_mega_menu_collection_2",
            "label": "t:sections.header.blocks.collection.settings.dbtfy_mega_menu_collection_2.label"
          },
          {
            "type": "collection",
            "id": "dbtfy_mega_menu_collection_3",
            "label": "t:sections.header.blocks.collection.settings.dbtfy_mega_menu_collection_3.label"
          },
          {
            "type": "collection",
            "id": "dbtfy_mega_menu_collection_4",
            "label": "t:sections.header.blocks.collection.settings.dbtfy_mega_menu_collection_4.label"
          },
          {
            "type": "collection",
            "id": "dbtfy_mega_menu_collection_5",
            "label": "t:sections.header.blocks.collection.settings.dbtfy_mega_menu_collection_5.label"
          },
          {
            "type": "collection",
            "id": "dbtfy_mega_menu_collection_6",
            "label": "t:sections.header.blocks.collection.settings.dbtfy_mega_menu_collection_6.label"
          }
        ]
      },
      {
        "type": "blog",
        "name": "t:sections.header.blocks.blog.name",
        "limit": 6,
        "settings": [
          {
            "type": "text",
            "id": "title",
            "label": "t:sections.header.blocks.blog.settings.title.label",
            "info": "t:sections.header.blocks.blog.settings.title.info"
          },
          {
            "type": "text",
            "id": "dbtfy_mega_menu_nav_link",
            "label": "t:sections.header.blocks.blog.settings.dbtfy_mega_menu_nav_link.label",
            "default": "Mega menu"
          },
          {
            "type": "url",
            "id": "dbtfy_mega_menu_nav_link_url",
            "label": "t:sections.header.blocks.blog.settings.dbtfy_mega_menu_nav_link_url.label"
          },
          {
            "type": "range",
            "id": "dbtfy_mega_menu_position",
            "label": "t:sections.header.blocks.blog.settings.dbtfy_mega_menu_position.label",
            "min": 1,
            "max": 10,
            "step": 1,
            "default": 1,
            "info": "t:sections.header.blocks.blog.settings.dbtfy_mega_menu_position.info"
          },
          {
            "type": "checkbox",
            "id": "dbtfy_mega_menu_header",
            "label": "t:sections.header.blocks.blog.settings.dbtfy_mega_menu_header.label",
            "default": true
          },
          {
            "type": "blog",
            "id": "dbtfy_mega_menu_blog",
            "label": "t:sections.header.blocks.blog.settings.dbtfy_mega_menu_blog.label"
          }
        ]
      },
      {
        "type": "html",
        "name": "t:sections.header.blocks.html.name",
        "limit": 6,
        "settings": [
          {
            "type": "text",
            "id": "title",
            "label": "t:sections.header.blocks.html.settings.title.label",
            "info": "t:sections.header.blocks.html.settings.title.info"
          },
          {
            "type": "text",
            "id": "dbtfy_mega_menu_nav_link",
            "label": "t:sections.header.blocks.html.settings.dbtfy_mega_menu_nav_link.label",
            "default": "Mega menu"
          },
          {
            "type": "url",
            "id": "dbtfy_mega_menu_nav_link_url",
            "label": "t:sections.header.blocks.html.settings.dbtfy_mega_menu_nav_link_url.label"
          },
          {
            "type": "range",
            "id": "dbtfy_mega_menu_position",
            "label": "t:sections.header.blocks.html.settings.dbtfy_mega_menu_position.label",
            "min": 1,
            "max": 10,
            "step": 1,
            "default": 1,
            "info": "t:sections.header.blocks.html.settings.dbtfy_mega_menu_position.info"
          },
          {
            "type": "html",
            "id": "dbtfy_mega_menu_html",
            "label": "t:sections.header.blocks.html.settings.dbtfy_mega_menu_html.label"
          }
        ]
      }
    ]
  }
{% endschema %}

and this is my drawer-cart.liquid


  

    
  

  

please try to help me @Dan-From-Ryviu