24/7 Support: 800.608.6482

Code Samples | Get Product from Category

Get First Product in category, and crop the image (just in case a category has no title image, etc.)

Functions Used

ImageType_Load_Code
ProductList_Load_Offset_Category_Assigned
ProductImage_Load_Type
Image_Load_ID
Image_Load_File
GeneratedImage_FindOrInsert_Image_Dimensions

Keywords

Language

Template Language

Looking for Developer Docs?

We have a whole section for that, including: Developer Training Series, Template Language docs, Module Development tutorials and much, much more.

Head to the Developer Section

Copyright © 1997 – 2025 Miva®, Miva Merchant®, MivaPay®, MivaCon®, Camp Miva®, Miva Connect®, Miva, Inc. All Rights Reserved.