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
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

Clint Eagar - October 1, 2008 - 17:01

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

alanburke - October 1, 2008 - 22:12

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

ezra-g - March 4, 2009 - 22:44
Component:Code» Documentation
Category:feature request» support request
Status:active» fixed

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

ezra-g - March 4, 2009 - 22:59

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

alanburke - March 5, 2009 - 10:11

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

System Message - March 19, 2009 - 10:20
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.