Title / Description
Code <!--- 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)) />
Author
Highlight as C C++ CSS Clojure Delphi ERb Groovy (beta) HAML HTML JSON Java JavaScript PHP Plain text Python Ruby SQL XML YAML diff code