SKU has disappeared from my Product Page

Highlighted
New Member
2 0 0
Greetings All, 
 
The below code is from my product-template.liquid
 
The SKU (highlighted section) has always worked and showed up along with the Nett Weight.
 
All of a sudden the section of code has stopped working. 
 
Any suggestions on how i can fix it.
 
Your help would be much appreciated.  
 
-----------------------------------------------------
          PRODUCT INFO
          -----------------------------------------------------
          {% endcomment %}
 
          <div class="product__info grid__cell {{ product_info_grid_class }}">
            {% include 'product-meta', show_vendor: section.settings.show_vendor, for_mobile: false %}
 
            {% if section.settings.form_position == 'before_description' %}
              {% include 'product-form' %}
            {% endif %}
            {% if section.settings.always_show_description and product.description != blank %}
              <div class="product__description rte">
                {{ product.description }}
            <!--NEW Section--->
            
                <p>
                  SKU = {% assign current_variant = product.selected_or_first_available_variant %}
<span class="variant-sku">{{ current_variant.sku }}</span> <br>    
                  
                Nett Weight = {% for variant in product.variants %} {{variant.weight | weight_with_unit }} * {% endfor %}
            </p>
                
            {% comment %} Inventory tracking on product page {% endcomment %}
                
            <div id="variant-inventory" class="{% unless current_variant.available %} hide {% endunless %}">
              {% if current_variant.inventory_management == "shopify" and current_variant.inventory_policy != "continue" %}
              Currently {{ current_variant.inventory_quantity }} in stock. 
              <br><br> 
              <p> 
                <strong>
                  Please Note: The product title specifies the exact number of pieces included for the listed product price e.g. x 12, x 1, x 35 etc. The vast majority of our products are individually graded batches or single pieces which are priced accordingly. Therefore, if we state “Currently 1 in stock” this means we have 1 batch and/or 1 piece available as per the number of pieces indicated in the product title.
                </strong>
              </p>
              {% else %}
              This product is available.
              {% endif %}
            </div>
                
                <!--END NEW Section--->
0 Likes
Highlighted
New Member
2 0 0

I have a feeling it needs to be in a DIV? I am a rooky programmer who self taught himself HTML many moons ago - never had the time to learn liquid. 

0 Likes