Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I like all my SKUs in caps, I'd like a way to have the token replacement result in an uppercase string for the SKU.
Comment | File | Size | Author |
---|---|---|---|
#1 | 2097121-power-tools-uppercase-SKU-1.patch | 2.74 KB | kscheirer |
Comments
Comment #1
kscheirerThis patch offers the option to uppercase your SKU. It's kinda hacky, prepend your pattern with
U/
and it'll get uppercased. The U/ is removed from the final output of course. This seemed the simplest, without having to create any additional storage or variables. Feedback is appreciated.