Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

147
Views
¿Cómo muestro una propiedad de metacampo solo si el campo está lleno, de lo contrario lo escondo?

Este fragmento de código debe mostrar el metacampo solo si el campo está lleno.

 {%- if line_item.properties != empty -%} <ul class="CartItem__PropertyList"> {%- for property in line_item.properties -%} {%- assign first_character_in_key = property.first | truncate: 1, '' -%} {%- if property.last == blank or first_character_in_key == '_' -%} {%- continue -%} {%- endif -%} <p class="CartItem__Variant">Ringgröße: {{ property.last }}</p> {%- endfor -%} </ul>
about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

 {%- if product.metafields.meta_field.meta_field != blank -%} {{ product.metafields.meta_field.meta_field }} {%- endif -%}

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!