Parameter Missing or Invalid(bad_request): Required parameter missing or invalid: items

rasinhaircare
New Member
1 0 0

NEED HELP!!! WE KEEP RECEIVING THIS ERROR CODE "Parameter Missing or Invalid(bad_request): Required parameter missing or invalid: items"

 

WHEN CUSTOMERS ADD TO CART.

 

ANY SOLUTIONS.

 

my code

 

<!doctype html>
<!--[if IE 9]> <html class="ie9 no-js supports-no-cookies" lang="{{ shop.locale }}"> <![endif]-->
<!--[if (gt IE 9)|!(IE)]><!--> <html class="no-js supports-no-cookies {% if settings.enable_box %}box-layout {% endif %}" lang="{{ shop.locale }}"> <!--<![endif]-->
<head>
<!-- Basic and Helper page needs -->
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta name="theme-color" content="{{ settings.color_primary }}">
{%- assign header_font = settings.header_font_handle -%}
{%- assign other_font = settings.other_font_handle -%}
{%- assign body_font = settings.body_font_handle -%}
{%- assign body_font_bolder = body_font | font_modify: 'weight', 'bolder' -%}
{%- assign body_font_bold = body_font | font_modify: 'weight', 'bold' -%}
{%- assign body_font_italic = body_font | font_modify: 'style', 'italic' -%}
{%- assign body_font_bold_italic = body_font_bold | font_modify: 'style', 'italic' -%}

<link rel="canonical" href="{{ canonical_url }}">

{%- if settings.favicon != blank -%}
<link rel="shortcut icon" href="{{ settings.favicon | img_url: '32x32' }}" type="image/png" />
{%- endif -%}

<!-- Title and description -->
{% capture seo_title %}
{{ page_title }}
{% if current_tags %}
{%- assign meta_tags = current_tags | join: ', ' %} &ndash; {{ 'general.meta.tags' | t: tags: meta_tags -}}
{% endif %}
{% if current_page != 1 %}
&ndash; {{ 'general.meta.page' | t: page: current_page }}
{% endif %}
{% unless page_title contains shop.name %}
&ndash; {{ shop.name }}
{% endunless %}
{% endcapture %}
<title>{{ seo_title }}</title>

{%- if page_description -%}
<meta name="description" content="{{ page_description | escape }}">
{%- endif -%}

<!-- Helpers -->
{% include 'social-meta-tags' %}

<!-- CSS -->
{{ 'timber.scss.css' | asset_url | stylesheet_tag }}
<style>*,::after,::before{box-sizing:border-box}body{font-family: var(--font-stack-body);font-weight: var(--font-weight-body);font-style: var(--font-style-body);}h1,h2,h3,h4,h5,h6{font-family: var(--font-stack-header);font-weight: var(--font-weight-header);font-style: var(--font-style-header);}
{{ header_font | font_face: font_display: 'swap' }}
{{ body_font | font_face: font_display: 'swap' }}
{{ body_font_bolder | font_face: font_display: 'swap' }}
{{ body_font_bold | font_face: font_display: 'swap' }}
{{ body_font_italic | font_face: font_display: 'swap' }}
{{ body_font_bold_italic | font_face: font_display: 'swap' }}
{{ other_font | font_face: font_display: 'swap' }}
</style>

{%- include 'header-css' -%}

<!-- Header hook for plugins -->
{{ content_for_header }}
{% include 'oldIE-js' %}
<!-- JS -->
{%- include 'header-js' -%}

{% if template contains 'customers' or 'cart' %}
{{ 'shopify_common.js' | shopify_asset_url | script_tag }}
{% endif %}
</head>

<body id="{{ page_title | handle }}" class="{% if customer %}customer-logged-in {% endif %}template-{{ template.name | handle }}">
</div>
{%- if settings.enable_preloader -%}
{% include 'preloader' %}
{%- endif -%}

{%- if template == 'index' and settings.newsletter_popup_enable -%}
{% include 'newsletter-popup' %}
{%- endif -%}

{%- if settings.topbar_notification_enable -%}
{% include 'top-nocification-bar' %}
{%- endif -%}

{% section 'header' %}
{%- if template != 'index' -%}
{% include 'breadcrumb-banner' %}
{%- endif -%}

<main role="main">
{{ content_for_layout }}
</main>
<div class="mm-fullscreen-bg"></div>
{% section 'footer' %}
{% section 'copyright' %}
<!-- Necessary JS -->
{% include 'footer-js' %}

{%- section "promo-fixed" -%}
</body>
</html>

Replies 0 (0)