Hello

I am sorry if this issue has been addressed already, I have been searching for 2 days and found nothing so far. Here is my situation, I am using ubercart with uc_node_checkout to sell services (not goods) on my website. Each of the services has additional attributes that users can choose to add like a pickup of documents at doorstep which will add to the cost of the service. Here are the steps I followed:

1. Created product class
2. Added attributes - PickupService
3. Added the above attributes to the product class
4. Link this product to a node to collect details from user to deliver the service
4. Edit the content type associated with the product and added attribute here too

Now, when I go to purchase the product, I get the following:
"Fatal error: Call to a member function fetch() on a non-object in ../../sites/all/modules/uc_node_checkout/uc_node_checkout.module on line 1143"

If I don't add the attributes on the content type edit form, then I don't get the above error but the attributes don't show up anywhere in the checkout flow.

Please help me.. what am I doing wrong here.
Thanks in advance
-vasantha

CommentFileSizeAuthor
#1 products view export.txt3.23 KBvgulla
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

vgulla’s picture

Issue tags: +product view
FileSize
3.23 KB

Some more trials. Instead of product attributes, I tried using 2 separate products - Pickup is one with a price and the actual Service is second with a price. I now created a view selecting these two products and tried mapping the content type to this view instead of one node id. That is not working and when I go to create the order, I get this error "An error has occurred. Please contact an administrator about not being able to select a product to create this ."

Attached is the export of the view I used. Please tell me what I am doing wrong.

Thank you

-vasantha

designmonger’s picture

I am also having issues with product attributes not being added to the cart and I am receiving warning notices as well. Any word on attributes working? I really need this functionality for a project and I have looked at many alternatives which don't associate the attributes with the product.

stadulis66’s picture

I am having same problem - does anybody have a patch or solutions for this?