Tony2_2
        
                
            
        
        
        
        Thu Dec 15 2022 14:13:56 GMT+0000 (Coordinated Universal Time)
        Saved by
            @storetasker
        
        
            
                {% liquid
 assign ProductVRSources = ''
 assign ProductVRSourcesIos = ''
 assign ProductVRPosters = ''
 assign isFirstModel = false
 for model in section.settings.product_vr.media
   if model.media_type == 'model'
     unless isFirstModel
       assign firstModel = model
       assign isFirstModel = true
     endunless
     assign ProductVRSources = ProductVRSources | append: ',' | append: model.sources[0].url
     assign ProductVRSourcesIos = ProductVRSourcesIos | append: ',' | append: model.sources[1].url
     assign modelImg = model.preview_image | image_url
     assign ProductVRPosters = ProductVRPosters | append: ',' | append: modelImg
   endif
 endfor
%}
             
            content_copyCOPY
         
        
     
  
        
Comments