The above is achieved using short code [recent_products per_page="4" screen_width="100" product_item_size="size-medium"]