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.
There is a reference or two to the Amazon Store path, and it just uses /amazon_store. Since #727800: Ability to change store name from "Amazon Store", that is configurable, so we need to use amazon_store_get_amazon_store_path() to get the path. It's conceivable we could use AMAZON_STORE_PATH but I doubt it will work.
Comment | File | Size | Author |
---|---|---|---|
#5 | update_paths_generated_in_views-987962-5.patch | 1.55 KB | willvincent |
#2 | amazon.amazon_store_path_987962_01.patch | 1.53 KB | rfay |
#1 | amazon.get_store_name.patch | 2.75 KB | the_g_bomb |
Comments
Comment #1
the_g_bomb CreditAttribution: the_g_bomb commentedHow's this, just thrown this together, its based on the work I did before, but I haven't had time to test it fully.
Comment #2
rfayHow about this one. The code in #1 was based on an earlier approach than the one that actually went in.
Comment #3
rfayCommitted: https://drupal.org/cvs?commit=491394
Comment #4
rfayThis will need to be done later, after #727800: Ability to change store name from "Amazon Store" lands in D7.
Comment #5
willvincent CreditAttribution: willvincent commented7.x patch.
Commit.