1. motybz
  2. RO CSVI
  3. Sunday, 25 January 2015
  4.  Subscribe via email
i used the "product_attribute" filed to export the custom filed of product in vm2.6
when i upgrade to vm3.0.2 the value in this filed is empty (see attache) but i can see it in the virtuemart orders (beaknd) . how can i fix it?

order9.xml
Accepted Answer Pending Moderation
How is the product_attribute field stored in your database? I don't think there has been any changes to this field.
Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 1
Accepted Answer Pending Moderation
How is the product_attribute field stored in your database? I don't think there has been any changes to this field.

Screenshot2015-01-2613.42.24.png
Attachments (1)
  1. more than a month ago
  2. RO CSVI
  3. # 2
Accepted Answer Pending Moderation
The screenshot explains a lot.
when i upgrade to vm3.0.2 the value in this filed is empty (see attache)
This is how CSVI get's your product attributes from PHP:
[7] => stdClass Object
(
[381893] =>
)
As you see there is nothing after that number, that is because the value is false. I think a field like that is special. What kind of custom field do you use for these products? Can you post some screenshots of your setup?
Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 3
Accepted Answer Pending Moderation
  1. more than a month ago
  2. RO CSVI
  3. # 4
Accepted Answer Pending Moderation
So this is a String field, what values are stored in the product for this field? That field is set to Admin only, so it doesn't even show in the frontend.
Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 5
Accepted Answer Pending Moderation
So this is a String field, what values are stored in the product for this field? That field is set to Admin only, so it doesn't even show in the frontend.

This an id number for each product, i use this id when i import the orders to my local Software
i hide this number from the customer but i need it when i export the orders
  1. more than a month ago
  2. RO CSVI
  3. # 6
Accepted Answer Pending Moderation
I understand, let me look into this and I will get back to you.
Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 7
Accepted Answer Pending Moderation
So I had a look at this and the field you have is quite different from the rest because the order information doesn't contain the value of your field but it contains the database ID of where the value is stored.

Attached is a patch file you can load and you should be able to export your product_attribute field now.
Attachments (1)
Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 8
Accepted Answer Pending Moderation
It seems that fixed it.
but now it make a duplicate rows (attached
order3.xml
)
Attachments (1)
  1. more than a month ago
  2. RO CSVI
  3. # 9
Accepted Answer Pending Moderation
There are no duplicate rows, if you look at the first one in your file you can see that the <rivhit_id> field is different. In the first record it is empty and in the second record it is filled. Which field is this?
Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 10
Accepted Answer Pending Moderation
the rivhit_id is a shopper filed that i create to identify the customer in my local software.
  1. more than a month ago
  2. RO CSVI
  3. # 11
Accepted Answer Pending Moderation
It is because of this field you get everything twice. Does it exist twice for each customer? I wonder why it comes out twice. If it doesn't exist twice, maybe you can explain me how this is setup.
Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 12
Accepted Answer Pending Moderation
It is because of this field you get everything twice. Does it exist twice for each customer? I wonder why it comes out twice. If it doesn't exist twice, maybe you can explain me how this is setup.

i found the solution, in the DB every order item appear twice one row for BT and one row for ST, so i choose the BT export and it fix it.
  1. more than a month ago
  2. RO CSVI
  3. # 13
Accepted Answer Pending Moderation
Aha, ok. That will explain it indeed. BT is always there but if ST is different from BT, there are 2 rows stored.
Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 14
Accepted Answer Pending Moderation
the probleam with the product_attribute began again, it export empty value for th product_attribute, how can i fix it?

Screenshot2015-01-2909.36.44.png
Attachments (1)
  1. more than a month ago
  2. RO CSVI
  3. # 15
Accepted Answer Pending Moderation
What did you change? The other issues could be that the ID no longer exists. The first product_attribute {"7":{"394658":false}} has the ID 394658. The value of this ID is stored in the table j5ef8_virtuemart_product_customfields. Check the table j5ef8_virtuemart_product_customfields for the virtuemart_customfield_id 394658 if it exists. If it doesn't exist, that is why your export would be empty.
Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 16
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!