Announcement

Collapse
No announcement yet.

Another slugified URI quesion

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Another slugified URI quesion

    With the introduction of the new Slugified encoding &mvts:product:name; how do you "lower" the capital letters that may be in the name?
    Leslie Kirk
    Miva Certified Developer
    Miva Merchant Specialist since 1997
    Previously of Webs Your Way
    (aka Leslie Nord leslienord)

    Email me: [email protected]
    www.lesliekirk.com

    Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

    #2
    I think you'd probably have to do an mvt:assign first, and use tolower on the new variable. Something like:

    Code:
    <mvt:assign name="l.settings:product:lowercase_name" value="tolower(l.settings:product:name)" />
    &mvts:product:lowercase_name;

    Comment

    Working...
    X