It would almost require a Contrib, something "similar" to what I was working on but different. I'm thinking a submit button within the Node Edit screen that says "Convert to Ubercart Product" or something, and that would trigger the Contrib's function which invokes uc_product_insert (I think that's right) which would be similar to cloning a View. Then you can fill out the product-specific things like Shipping, SKU, etc., and save it. That way you'd be keeping the nid the same but now there'd be a row in the products table to associate it, as well as to allow hooking into hook_node_info() (hook_product_info).
Re: Blessed_Steve wrote:For me,
Node conversion? (22 replies) Mon, 08/27/2007 - 14:17
- Re: Node conversion? (09/10/2007 - 12:37)
- Re: Re: Node conversion? (12/27/2007 - 13:59)
- Re: Re: Re: Node conversion? (01/17/2008 - 11:41)
- Blessed_Steve wrote:For me, (02/21/2008 - 11:29)
- Re: Blessed_Steve wrote:For me, (02/21/2008 - 12:24)
- torgosPizza wrote:It would (02/21/2008 - 13:24)
- Re: torgosPizza wrote:It would (02/21/2008 - 13:38)
- Yes... sounds good (02/22/2008 - 09:45)
- Don't know if this is it... (03/07/2008 - 13:52)
- Hello,
I'm actually (05/27/2008 - 08:11)
- Re: Hello,
I'm actually (05/27/2008 - 09:19)
- Lyle wrote:If they're custom (05/27/2008 - 10:18)
- Re: Lyle wrote:If they're custom (05/27/2008 - 11:52)
- Lyle wrote:This page should (05/27/2008 - 11:55)
- Re: Lyle wrote:If they're custom (05/27/2008 - 11:52)
- Lyle wrote:If they're custom (05/27/2008 - 10:18)
- Re: Hello,
I'm actually (05/27/2008 - 09:19)
- Maybe base_path() is what (03/07/2008 - 16:23)
- Hello,
I'm actually (05/27/2008 - 08:11)
- Don't know if this is it... (03/07/2008 - 13:52)
- Yes... sounds good (02/22/2008 - 09:45)
- Re: torgosPizza wrote:It would (02/21/2008 - 13:38)
- torgosPizza wrote:It would (02/21/2008 - 13:24)
- Re: Blessed_Steve wrote:For me, (02/21/2008 - 12:24)
- Blessed_Steve wrote:For me, (01/29/2008 - 17:23)
- Re: Re: Re: Re: Node conversion? (01/17/2008 - 11:56)
- Re: Re: Re: Re: Re: Node conversion? (01/17/2008 - 13:31)
- Nope, That's right (02/21/2008 - 11:22)
- Re: Re: Re: Re: Re: Node conversion? (01/17/2008 - 12:29)
- cYu wrote:I got the sense (01/17/2008 - 14:00)
- TorgosPizza, This is really (01/17/2008 - 15:17)
- cYu wrote:I got the sense (01/17/2008 - 14:00)
- Re: Re: Re: Re: Re: Node conversion? (01/17/2008 - 13:31)
- Blessed_Steve wrote:For me, (02/21/2008 - 11:29)
- Re: Re: Re: Node conversion? (01/17/2008 - 11:41)
- Re: Re: Node conversion? (12/27/2007 - 13:59)
|
|



Joined: 08/14/2007