I need a SKU that will contain dots (.). Currently AutoSKU removes dots because match the value of COMMERCE_AUTOSKU_DISALLOWED. What is a reason for that?

Allowed characters were implemented once in Drupal Commerce module, but this limitation was removed (see #1025514: Allow other chars for SKU rather than only latin).

If there is no reason for character filtering in autoSKU, please consider removing this limitation.

Comments

generalconsensus’s picture

Status: Active » Needs work
StatusFileSize
new967 bytes

Added a patch for allowing periods and forward slashes to AutoSKU

generalconsensus’s picture

Status: Needs work » Needs review

Status: Needs review » Needs work

The last submitted patch, additional_special_characters-1699324-2.patch, failed testing.