Miva Merchant Development by Scot's Scripts

FILENAME: Get Base Filename from Path SMT

Miva Knowledge Base
FILENAME: Get Base Filename from Path SMT
Important Notice: This information is for internal reference only. Use at your own risk.
Does Google actually understand your Miva Merchant store? Our JSON-LD schema generator makes sure it does. Contact us to get started. (more info)

FILENAME: Get Base Filename from Path SMT

Scot Ranney • August 06, 2025


<mvt:assign name="l.settings:filepath" value="'https://domain.com/shopping/graphics/00000001/my_image_name.jpg'" />
<mvt:do file="g.module_library_utilities" name="l.filename" value="basename(l.settings:filepath)" />

https://www.scotsscripts.com/mvblog/filename-get-base-filename-from-path-smt.html

mvkb_filename mvkb_smt