Closed (fixed)
Project:
Commerce Core
Version:
7.x-1.x-dev
Component:
Product
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
5 Feb 2011 at 14:02 UTC
Updated:
3 Jan 2014 at 02:58 UTC
Jump to comment: Most recent
Comments
Comment #1
googletorp commentedThe fix at github
Comment #2
das-peter commentedWhat about using this for the title:
'title' => $product_type['name'],Other stuff looks perfectly reasonable to me.
Also the change of
commerce_product_type_title, first because I think it should use the same pattern as the other functions, second because it adds now really a value by converting a type into a title instead just returning something you could easily access without the function ;)Comment #3
rszrama commentedComment #4
googletorp commentedI changed what das-peter sugested: github
Comment #5
rszrama commentedCommitted with this follow-up:
https://github.com/rszrama/drupalcommerce/commit/88eb7a7f1e40183e410ef50...
I'm not sure if you tested your patch in the UI, but I'm pretty sure that without these fixes the add form and the edit form should've been broken / inaccessible. : ?
Comment #6
googletorp commentedI didn't actually check the menus afterwards only that the menu was created. I searched where the functions were called, but my editor must have missed something, since I only could find them referenced once. My bad.
Comment #7
rszrama commentedNo worries. Just making sure I wasn't reading it wrong.