Hi all, I discovered what seems to be a bug and I'm guessing its something to do with how CCK attribute is coded but I'm sure someone can clarify.
The issue is relatively simple (SCENARIO 1)
1. I have a content_type called person with one Auto complete text field called field_name.
2. I have a product type called "computer" which has the CCK Attribute "person" from above.
STATUS: THIS WORKS. FIELD_NAME CAN BE SEEN IN THE CART. THIS IS GOOD.
SCENARIO 2 however doesn't work:
1. I have a content_type called person with one Auto complete text field called field_name.
2. I have a product type called "computer" which has the CCK Attribute "person" from above.
3. I have another content_type called "person_details" which has the "field_name" (using the Existing field option in CCK)
STATUS: FIELD_NAME IS NOT SEEN IN THE CART. THIS IS NOT GOOD. HELP!
Looking forward to responses and perhaps an easy fix!
--Risharde
http://www.risharde.com
Comments
Comment #1
trungonly commentedI check now. Do you confirm the scenario 2: "person_details" is or is not a CCK Attribute type of "computer"?
Comment #2
planctus commentedI can confirm this.
I posted my problem in this issue:http://drupal.org/node/1048814 but right after i found out this issue and i checked.
The fields i'm not seeing in cart are those i've shared between two content type, actually.
We need to find out the problem, this is critical.
Thanks,
Da.
Comment #3
todd zebert commentedsubscribe
Comment #4
trungonly commentedQuick fix: Please replace the function
uc_product_get_attributes_cck()by this one:Comment #5
planctus commentedCool, i've just updated that function and it seems to work fine.
Thanks,
Da.
Comment #6
risharde commentedThanks alot!!!! I updated to the new version released and it works!!!
Excellent response time as well!
Comment #7
todd zebert commentedIs this fixed included in 1.6?
Comment #8
trungonly commentedFixed in 1.6.