×
WooCommerce | VirtueMart | Facebook | Instagram | Google GMC Bulk Product Manager
To post a question you must be signed in.
You can always contact us directly over email: This email address is being protected from spambots. You need JavaScript enabled to view it.
Shopify Excel-like Bulk Product Manager — Filter by Image Size?
Is it possible to filter images by size? I.e. height or width.
We also use a metafield for product cover images visible in the product grid. Do you reckon a similar type of filtering could be possible for a metafield column which redirects to a Shopify picture too?
it is.
Open Settings.
Open the "Calculated columns" tab.
Click "Add calculated column"
Set Header text: Max image size
Set Column for: Product
Set value type: Numeric
Check enabled: "Column is enabled"
Check enabled "Column is shown"
Click edit code "Porduct:GET" and enter this:
return ($R.$.images || ).max("width")
Click OK
Click "Save setting"
Click "Choose filters" in the top right corner and turn on "Max image size"
You can then filter using numeric filter :
You can also use:
return ($R.$.images || ).max("height")
or
return ($R.$.images || ).min("width")
For other people reading this - this is the answer for Shopify Excel-like product manager but the completely same procedure can be used for WooCommerce and VirtueMart for sellingcommander.com