I'm using ubercart alpha 8. I have a single test product which has a few adjustments applied to about half of the options. When I import the product the adjustments don't get associated with the correct option. The steps I'm doing:
- I use the exporter module to generate a dump of the product
- I delete the product from drupal
- I use the importer module to re-create the product using the XML file from step 1
- The adjustments are all associated to different options on the new product
Looking in the database I see this in the uc_product_adjustments module:
Original product:
44 a:1:{i:3;s:1:"5";} NK-0105-GF2
44 a:1:{i:3;s:1:"1";} NK-0105-GF
44 a:1:{i:3;s:2:"17";} NK-0110-22
44 a:1:{i:3;s:1:"3";} NK-0102-SSNew, imported product:
47 a:1:{i:3;s:1:"9";} NK-0105-GF2
47 a:1:{i:3;s:1:"4";} NK-0110-22
47 a:1:{i:3;s:1:"3";} NK-0105-GF
47 a:1:{i:3;s:1:"1";} NK-0102-SSIt seems to be just setting the adjustments to the first 4 options it finds instead of setting it to the option specified in the xml file. Am I doing something wrong for importing adjustments or is this a bug?





Joined: 12/19/2007