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.
Is it possible to change the url for the cart too? I currently have Ubercart installed and I'm moving to Commerce, but the paths overlap which is making things tricky. Thanks! Or is there another method I could use?
Comment | File | Size | Author |
---|---|---|---|
#2 | cart_path-2735149-2.patch | 5.54 KB | Valentine94 |
Comments
Comment #2
Valentine94Hi troybthompson.
I've created this experimental patch.
Could you try it - it's solve the issue to me.
Thanks.
Valentine.
Comment #3
troybthompson CreditAttribution: troybthompson commentedThank you for the quick reply. This makes the new url valid, however, it redirects ubercart's cart too. So I'm still seeing Ubercart's cart when I go to the new url rather than keeping their's at /cart and moving Commerce's to something new. I still can't get to Commerce's cart data page.
Comment #4
Valentine94Ah, so you need to have a different system urls. This module not changes the system URLs, it's makes something like dynamic path aliases approach.
Comment #5
troybthompson CreditAttribution: troybthompson commentedYeah. I can't imagine I'm the first person trying to move from one system to another, am I missing a different technique? Otherwise should I just hack ubercart and search for paths as a temporary change while I'm configuring commerce?
Comment #6
Valentine94I think hacking contrib modules is a not good idea, but if there is no another choice - you can create a patch with your "hack" for your project. So, it will help you to re-apply these changes if you'll update this module.