"Add to Cart" button missing on product pages

Site link: https://tsz76pcwaozjddlb-17819333.shopifypreview.com
This is where I would like the button show.
Please help. Thank you.

1 Like

@Ray89
hey It’s your theme issue.
I can help you to fix it.

if you are interested please contact us.
Thank you.

@Ray89

some liquid error in your product templete file please share your theme zip file.

Thanks!

@dmwwebartisan


  
    
    

    
    
    
    

    

    {% if page_description != blank %}
      
    {% endif %}

    {% render 'favicon' %}

    {% if template contains 'collection' and current_tags %}
      
      
    {% else %}
      
    {% endif %}

    

    {% assign twitter_handle = settings.social_twitter | split: 'twitter.com/' | last %}
    {%
      render 'social-meta-tags',
      twitter_handle: twitter_handle
    %}

    
    

    {{ content_for_header }}

    {{ 'theme.css' | asset_url | stylesheet_tag }}

    {% comment %}Inject theme-object begin{% endcomment %}
    
    {% comment %}Inject theme-object end{% endcomment %}
  {{ 'shopstorm-apps.scss.css' | asset_url | stylesheet_tag }}
  {% render 'shopstorm-scripttags' %}

  
{% if customer %}

{{ customer.id }}

{% endif %}
 
  
    {{ 'general.accessibility.skip_to_content' | t }}
    {% section 'static-announcement' %}
    
    

    

    

    {% section 'static-footer' %}

    {% comment %}
      Below are various templates used in JavaScript
    {% endcomment %}
    
      {% comment %}Inject message-banner begin{% endcomment %}
      

        

          

      
          
        

      

      {% comment %}Inject message-banner end{% endcomment %}

      {% comment %}Inject atc-banner begin{% endcomment %}
      
      {% comment %}Inject atc-banner end{% endcomment %}

    

    {% comment %}
      Modal container, used on Collections, Password, and QuickShop
    {% endcomment %}
    {% comment %}Inject modal begin{% endcomment %}
    
      

        
        

      

    

    
    
      

        
        

      

    

    {% comment %}Inject modal end{% endcomment %}

    {% comment %}
      This is the PhotoSwipe dialog which needs to be in the base page
    {% endcomment %}
    {% comment %}Inject product-gallery-zoom begin{% endcomment %}
    {% comment %} Root element of PhotoSwipe. Must have class pswp. {% endcomment %}
    
    
      {% comment %} Background of PhotoSwipe.
            It's a separate element as animating opacity is faster than rgba(). {% endcomment %}
      

    
      {% comment %} Slides wrapper with overflow:hidden. {% endcomment %}
      
          {% comment %} Container that holds slides.
              PhotoSwipe keeps only 3 of them in the DOM to save memory.
              Don't modify these 3 pswp__item elements, data is added later on. {% endcomment %}
          

              

              

              

          

    
          {% comment %} Default (PhotoSwipeUI_Default) interface on top of sliding area. Can be changed. {% endcomment %}
          
              

                  {% comment %}  Controls are self-explanatory. Order can be changed. {% endcomment %}
                  

                  
                  
                  
                  
    
                  {% comment %} Preloader demo https://codepen.io/dimsemenov/pen/yyBWoR {% endcomment %}
                  {% comment %} element will get class pswp__preloader--active when preloader is running {% endcomment %}
                  

                      

                        

                          

                        

                      

                  

              

    
              
                  

              

    
              
              
    
              

                  

              

          

      

      
        
        
        

      

    

    {% comment %}Inject product-gallery-zoom end{% endcomment %}

    {%- if template contains 'customer' -%}
      {{ 'shopify_common.js' | shopify_asset_url | script_tag }}
      {{ 'customer_area.js' | shopify_asset_url | script_tag }}
    {%- endif -%}

    {% unless settings.reduce_animations %}
      
    {% endunless %}

    

    {% render 'structured-data' %}

    

    {% unless settings.reduce_animations %}
      {{ 'ripple.css' | asset_url | stylesheet_tag }}
    {% endunless %}

    
   {% render 'product-customizer-asw' %}
  {% include 'mlveda-currencies-switcher' %}{% include 'mlveda-currencies' %}{% include 'mlveda-flag' %}{% include 'mlveda-currencies-style' %}
                {% if customer.tags.size > 0 and template != 'cart' %}
                
               {% endif %}
         

               {% if customer.tags.size > 0 and template == 'cart' %}
                 {% include 'wcp_cart' %}
               {% endif %}
               
  

@Ray89

Please comment following code and check your site

{% if customer.tags.size > 0 and template == 'cart' %}
                 {% include 'wcp_cart' %}
               {% endif %}

@Ray89

Please check screenshot

@dmwwebartisan still not working

@Ray89

Please share your theme zip file .

Means download your theme files and send to me .

Thanks!

@dmwwebartisan Hi I’m new to this. And I already shared the codes.

@Ray89

this is single file .

Please check this url for theme download

https://avada.io/shopify/docs/how-download-themes-shopify.html

1 Like

@Ray89

Contact us if you need more help. i will fix it on half an hour.

@dmwwebartisan Please check. TY

https://fullyamped.myshopify.com/admin/files/b62f1a87c816ffa7094598ab6170b206/theme_export__www-fullyamped-com-site-that-has-issues__02AUG2021-0718am.zip/download

@Ray89

This is admin url not working without login please download you and send to me .zip file

https://fullyamped.myshopify.com/admin/files/b62f1a87c816ffa7094598ab6170b206/theme_export__www-fullyamped-com-site-that-has-issues__02AUG2021-0718am.zip/download

Thanks!

@dmwwebartisan Please check

https://drive.google.com/drive/folders/1QZ0u5WM2-s3SZuCij-wxqMIAmcIPUp46?usp=sharing
1 Like

@Ray89 - can you please add me as collaborator? I will check code and fix the issue

@Ray89

Please backup your Snippets/ product-form.liquid file code and replace following code

{% comment %}
  Product form

  @param product

  @param selected_variant
{% endcomment %}

{% if is_product_modal and settings.quickshop_show_dcb %}
  {% assign quickshop_smart_buttons = true %}
{% endif %}

{% if is_product_modal == false and section.settings.show_dcb %}
  {% assign product_smart_buttons = true %}
{% endif %}

{% if selected_variant.available == false %}
  {% assign quickshop_smart_buttons = false %}
  {% assign product_smart_buttons = false %}
{% endif %}

{% assign product_form_class = '' %}
{% if product_smart_buttons or quickshop_smart_buttons %}
  {% assign product_form_class = 'smart-payment-enabled' %}
{% endif %}

{% form 'product', product, class: product_form_class, data-product-form: '' %}
  {% comment %}
    Display variant options for a product

    @param product
    @param selected_variant
    @param style

    @param enable_swatches
    @param swatches_shape
    @param swatches_option_trigger
    @param swatches_option_style
    @param swatches_product_page_size
    @param swatch_colors

    @param select_main_classes
    @param select_classes
    @param input_select_wrapper_classes
    @param input_select_classes
    @param input_select_label_classes
    @param input_select_chevron_classes

    @param radios_classes
    @param option_header_classes
    @param option_name_classes
    @param option_values_classes
    @param option_value_classes
    @param option_value_label_classes
    @param option_value_input_classes
    @param option_value_name_classes

    @param swatches_classes
    @param option_swatch_wrapper_classes
    @param option_swatch_classes
    @param option_swatch_inner_classes
  {% endcomment %}
  {% assign product = product %}
  {% assign selected_variant = selected_variant %}
  {% assign style = settings.product_option_style %}
  {% assign enable_swatches = settings.swatches_enable %}
  {% assign swatches_shape = settings.swatches_shape %}
  {% assign swatches_option_trigger = settings.swatches_swatch_trigger %}
  {% assign swatches_option_style = settings.swatches_option_style %}
  {% assign swatches_product_page_size = settings.swatches_product_page_size %}
  {% assign swatches_custom_colors = settings.swatches_custom_colors %}
  {% assign select_main_classes = 'form-options' %}
  {% assign select_classes = 'form-field form-options' %}
  {% assign input_select_wrapper_classes = 'form-field-select-wrapper' %}
  {% assign input_select_classes = 'form-field-input form-field-select' %}
  {% assign input_select_label_classes = 'form-field-title' %}
  {% assign radios_classes = 'form-options form-options-selectable-boxes' %}
  {% assign option_header_classes = 'option-header' %}
  {% assign option_name_classes = 'option-name' %}
  {% assign option_values_classes = 'option-values' %}
  {% assign option_value_classes = 'option-value' %}
  {% assign option_value_label_classes = 'option-value-label' %}
  {% assign option_value_input_classes = 'option-value-input' %}
  {% assign option_value_name_classes = 'option-value-name' %}
  {% assign swatches_classes = 'form-options form-options-swatches' %}
  {% assign option_swatch_wrapper_classes = 'option-value-name option-value-swatch-wrapper' %}
  {% assign option_swatch_classes = 'swatch' %}
  {% assign option_swatch_inner_classes = 'swatch-inner' %}

  {% comment %}Inject @pixelunion/shopify-variants-ui/variants-ui begin{% endcomment %}
  {% comment %}
    Display variant options for a product
  
    @param product
    @param selected_variant
    @param style
  
    @param enable_swatches
    @param swatches_shape
    @param swatches_option_trigger
    @param swatches_option_style
    @param swatches_product_page_size
    @param swatch_colors
  
    @param select_main_classes
    @param select_classes
    @param input_select_wrapper_classes
    @param input_select_classes
    @param input_select_label_classes
    @param input_select_chevron_classes
  
    @param radios_classes
    @param option_header_classes
    @param option_name_classes
    @param option_values_classes
    @param option_value_classes
    @param option_value_label_classes
    @param option_value_input_classes
    @param option_value_name_classes
  
    @param swatches_classes
    @param option_swatch_wrapper_classes
    @param option_swatch_classes
    @param option_swatch_inner_classes
  {% endcomment %}
  
  {% if product.has_only_default_variant %}
    
  {% else %}
    {% comment %}Inject @pixelunion/shopify-variants-ui/variants-ui-options begin{% endcomment %}
    {% comment %}
      Display variant options for a product
    
      @param product
      @param selected_variant
      @param style
    
      @param enable_swatches
      @param swatches_shape
      @param swatches_option_trigger
      @param swatches_option_style
      @param swatches_product_page_size
      @param swatch_colors
    
      @param select_main_classes
      @param select_classes
      @param input_select_wrapper_classes
      @param input_select_classes
      @param input_select_label_classes
      @param input_select_chevron_classes
    
      @param radios_classes
      @param option_header_classes
      @param option_name_classes
      @param option_values_classes
      @param option_value_classes
      @param option_value_label_classes
      @param option_value_input_classes
      @param option_value_name_classes
    
      @param swatches_classes
      @param option_swatch_wrapper_classes
      @param option_swatch_classes
      @param option_swatch_inner_classes
    {% endcomment %}
    
    {% assign hide_select_a11y = "" %}
    
    {% if style == 'radio' %}
      {% assign hide_select_a11y = "tabindex='-1'" %}
    {% endif %}
    
    {%- capture form_id -%}{% increment form_id %}{%- endcapture -%}
    
    

      
    
      {% for option in product.options_with_values %}
        {% assign option_index = forloop.index0 %}
        {% assign show_swatches = false %}
        {% if enable_swatches %}
          {%- assign swatches_option_trigger = swatches_option_trigger | strip | downcase -%}
          {%- assign option_name = option.name | strip | downcase -%}
    
          {% if option_name == swatches_option_trigger %}
            {% assign show_swatches = true %}
            {% assign swatch_option_key = 'option' | append: forloop.index %}
          {% endif %}
        {% endif %}
    
        {% if style == 'select' and show_swatches == false %}
          {% comment %}Inject @pixelunion/shopify-variants-ui/variants-ui-select begin{% endcomment %}
          {% comment %}
            Display variant options for a product
          
            @param selected_variant
          
            @param select_classes
            @param input_select_wrapper_classes
            @param input_select_classes
            @param input_select_label_classes
            @param input_select_chevron_classes
          {% endcomment %}
          
          

            

              
              
              

                
              

            

          

          {% comment %}Inject @pixelunion/shopify-variants-ui/variants-ui-select end{% endcomment %}
    
        {% elsif style == 'radio' or show_swatches == true %}
          {% comment %}Inject @pixelunion/shopify-variants-ui/variants-ui-radios begin{% endcomment %}
          {% comment %}
            Display variant options for a product
          
            @param selected_variant
          
            @param radios_classes
            @param option_header_classes
            @param option_name_classes
            @param option_values_classes
            @param option_value_classes
            @param option_value_label_classes
            @param option_value_input_classes
            @param option_value_name_classes
          
            @param swatches_classes
            @param option_swatch_wrapper_classes
            @param option_swatch_classes
            @param option_swatch_inner_classes
          {% endcomment %}
          
          
          {% comment %}Inject @pixelunion/shopify-variants-ui/variants-ui-radios end{% endcomment %}
    
        {% endif %}
      {% endfor %}
    

    {% comment %}Inject @pixelunion/shopify-variants-ui/variants-ui-options end{% endcomment %}
  
  {% endif %}
  {% comment %}Inject @pixelunion/shopify-variants-ui/variants-ui end{% endcomment %}

  
    

      

        

          
          
          {% render 'icon-chevron-down-small' %}
        

      

      
        
        
      

    

 {% include 'bold-memberships-addtocart' %}   
    

  

  {% if product_smart_buttons or quickshop_smart_buttons %}
    {% if product.metafields.product_customizer == empty %}{{ form | payment_button }}{% endif %}
  {% endif %}

  

{% endform %}

Thanks!

1 Like

@dmwwebartisan Awesome!!! It works! Thank you so much.

1 Like