CF test

Html code posted
created at 06 Dec 15:21

Edit | Back
1
2
3
4
5
6
7
8
9
10
11
12
13
  <!--- If the object is a variation, we need to get the parent objects default image. --->
            <cfif object.getObject().getIsVariation()>
              <cfset previewImageObjectID = object.getParentObjectID() />
            <cfelse>
              <cfset previewImageObjectID = object.getObjectID() />
            </cfif>
          
            <cfset previewImage = getObjectImageService().getObjectImages(ObjectID = previewImageObjectID, Active = 1).getPreviewObjectImage() />    
        
        
          <!--- Get the current group this customer is in... --->
          <cfset customerSetup = getCustomerSetupService().getActiveCustomerSetups(customerAccountID = val(Arguments.CustomerAccountID)) />
          
668 Bytes in 2 ms with coderay