1. Darko Fatur
  2. Joomla! Extensions
  3. Friday, 23 October 2020
Dear sir

In my ProductXport Professional version

I have multiple servers in Manager

I E - shop settings I have options Export children to Yes
Which is OK for most of my servers.

But for some like google.com Server I would like export only parent product.

What is PHP solution for this?

Thank you
Responses (2)
David Zirhut Accepted Answer Pending Moderation
This request should be simple.
1) Go to: Components → productXport → E-shop setting → VirtueMart → tab: Parents and children
set: Export parent products - Yes
set: Export children products - Yes

2) Go to: Components → productXport → Server manager → your_server → tab: Extended setting
In the field "PHP code - before product processing" put one of the following code:

# if you need to skip children products (exports only parents and single)
if ($product->parent_id > 0) $product->skip=true;



# if you need to skip parent products (exports only children and single)
if ($product->children > 0) $product->skip=true;
  1. more than a month ago
  2. Joomla! Extensions
  3. # 1
Darko Fatur Accepted Answer Pending Moderation
I enter your code and work flawlessly.

Thank you
  1. more than a month ago
  2. Joomla! Extensions
  3. # 2
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.