Hello Larowlan,

How are you. I used your code for redirection after room type content save. My goal is that the user which is adding the room content type should paid some amount. So now i can have redirection on cart after node creation . But the amount it shown null. Where we will add price . Can you clear that my goal user who add room content type should pay some amount can be achieved ?

Thanks
CIS.Drupal

Comments

larowlan’s picture

Category: feature » support

You need a normal product node that is the cost of listing, ie not a hotel room type node.
Then you can add that item to the cart on redirect, have a look at what Ubercart does with the add to cart form when it is submitted and mimic that. I'd guess you are getting no price because you don't have the right cart data.

cis.drupal’s picture

Status: Active » Fixed

Hello Larowlan,

My problem have been solved i used nid of product content type while redirecting my node and adding content to cart.

Thanks

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.