Closed (outdated)
Project:
Commerce Core
Version:
7.x-1.x-dev
Component:
Product
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
22 Aug 2011 at 22:44 UTC
Updated:
23 Jan 2019 at 00:45 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
dave reidComment #2
dave reidI'm also now very confused as to why the [commerce-product:edit-url] token actually works...
Comment #3
rszrama commentedCool, any patch that cleans up our tests gets a huge +5 from me. I don't see any problem with the tests as they are, but I probably need to move the Product URL token to a commerce_product_ui.token.inc file. We don't actually define any entity URI for our entities in their base modules but do it in their UI modules where an entity info alteration takes place to point to the appropriate URLs.
One problem we may have with a Product URL token is that it's always going to point to the admin URL of the product. We don't actually define a canonical front-end URL. I think I had a URL type distinction for Orders on the front-end (i.e. under an account tab) vs. the back-end (i.e. from the Orders admin View), but I don't see it in the Order UI Token file any more... just the front-end one. Not sure what happened there or if we should have a token for both. You have any thoughts?
Thanks for the patch!
Comment #4
rszrama commentedAhh, heh, just saw your follow-up comment. Yeah, it's coming from Product UI. ; )
Comment #5
chris matthews commentedThe 7 year old patch in #1 does not apply to the latest commerce 7.x-1.x-dev and (if still relevant) needs to be rerolled.
Comment #6
bojanz commented