Export Attributes
alanburke - September 19, 2008 - 15:37
| Project: | Ubercart EDI |
| Version: | 5.x-1.0 |
| Component: | Documentation |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
Hi Ryan et all,
I'm using this to export orders into CSV.
As far as I can see, attributes aren't exported.
I have a textfield attribute on one of my products to allow some extra deatil on that product to be added.
However, I don't see this detail on the exported report.
Am I doing something wrong?
Would it be a difficult job to add that im?
Where would I look to start?
Regards
Alan

#1
Alan,
You are correct, the EDI module does not directly export attributes, but it does export SKUs. So if you assign a unique SKU to each attribute it may work for you, depending on the complexity of your attribute scheme.
Clint
#2
Hi Clint,
I'll need the SKUs anyway.
I'll need to somehow get access to the attributes in the report too.
Haven't looked at it in a while.
At the very least, I'll might need to hack the code for this module to get access to that information.
Any idea where I should start :-)
Alan
#3
The solution is to make the SKUs reflect the attributes assigned to a product. So if a book's color attribute can be black and white or full color, you could configure the SKUs to be 12345-BW and 12345-Color. I added this explanation to the product page.
#4
If this doesn't answer your question, please feel free to re-open. It would be helpful if you provide a more detailed description of what you're trying to do and the result you're getting.
#5
Hi Erza-g
Thanks for the response.
The issue here is that the value for the attribute is assigned by the purchaser [it is a textfield attribute].
The product allows for the customers to put some custom text in.
So it is not possible to rely on the SKUs, as they must be input in advance.
AFAIK, I can't dynamically assign a SKU based on some customer input.
Thanks for the help anyway.
I honestly can't remember how I got around this problem, but that project is well completed and somehow I did, probably with a custom SQL query.
Kind regards, and thanks again for the help,
Alan
#6
Automatically closed -- issue fixed for 2 weeks with no activity.