1. piekielko
  2. RO CSVI
  3. Wednesday, 26 April 2023
  4.  Subscribe via email
Hi,

in XML for Virtuemart I want to export products together with media. And here comes the problem with: "created_on" and "modified_on". I can only export this data for a product.. I also want to additionally be able to display media modification date in the export with the product.

This data is only available in media export. Is there any way to do this?

<outdoors>
<visualisation last-modified="2021-05-08 12:43">img1.jpg</visualisation>
<visualisation last-modified="2021-05-08 12:43">img2.jpg</visualisation>
</outdoors>
Accepted Answer Pending Moderation
Hello,

This data is only available in media export. Is there any way to do this?
Correct, because both the product and media table use the same field for this, only the product field will be exported. There is currently no way to do this with the product export without modification.

One way would be to create an export override as explained in the Override import and export routines document. However this does require coding skills as in the export file you need to add the necessary code to get the data out of the database.

An alternative, which also requires coding, is to create your own rule as explained in the Writing a rule plugin and have that do the lookup for the image dates.
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
Hi Rolandd,

Thanks for the quick reply. Yes - this is a clear conflict.
I will try to ask the author of Virtuemart if he will be willing to change the names in these media tables.

Or.. I will eventually take your good advice :)

Kind regards,
Chris
  1. more than a month ago
  2. RO CSVI
  3. # 2
Accepted Answer Pending Moderation
Hello Chris,

I doubt they will but need to ask before you know :)

This is also a request we have not had before, so not something that has come up before.
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
Why make difficult for yourself and others. The internet should be easier.
Some people don't notice problems until you tell them. Someone always has to be first. Well, at least I'll ask ;-)
  1. more than a month ago
  2. RO CSVI
  3. # 4
  • Page :
  • 1


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