0

I attempted to create a pattern using Drupal Commerce 2 categories and product title.

[commerce_product:field_categories:1]/products/[commerce_product:title]

When I generate the url alias I get http://localhost:8080/diagnostics-systems/products-18.

When I generate with the pattern:

/products/[commerce_product:title]

it all comes out correct.

I set the maximum url characters generated to 255 but these done seem to even coming close. Any ideas?

  • Does the same happen with a different entity? – MrUpsidown Mar 23 at 21:10
  • I haven't tried that yet. I am only using it to bulk generate the product urls – Wally Kolcz Mar 24 at 19:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.