Active
Project:
UC Node Checkout
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
18 Nov 2011 at 19:26 UTC
Updated:
27 Jan 2012 at 05:55 UTC
According to this post:
http://drupal.org/node/1226240
nothing can be done from downpayments module to get the down payment price into the cart when using node checkout...soooo my question is, is there anything that can be done in node checkout to support this functionality?
thanks!!
Comments
Comment #1
funkeyrandy commentedFYI- if anyone needs help with this...i wound up *not* using node checkout and modifying the downpayment module to link items to nodes that needed to be associated:
replace 362-413 in the uc_node_downpayments.module with this:
add text table in uc_cart products:
and finaly...add right after line 1608: "db_query("DELETE FROM {uc_cart_products} WHERE cart_id = '%s' AND nid = %d AND data = '%s'", $cart_id, $nid, serialize($data));"
this:
of course change your fields to match!'...
then make sure your workflow is
1) add product to cart
2) redirect to node add form
3) redirect to cart
when you redirect to the cart after creating the node, add your newly created node nid as a query string using rules to redirect...like example.com/cart?entry=455
this creates a linkage between the downpayment and the node created after, uses the new node id as title, and deletes the new node if removed from the cart...hope this helps !
r
Comment #2
sokrplare commentedWe have created a new module that enables UC Downpayment and Node Checkout to work together.
Please see http://drupal.org/node/1226240#comment-5444118
Comment #3
tr commented