1. info@yzcommunicatie.nl
  2. RO CSVI
  3. Tuesday, 03 May 2022
  4.  Subscribe via email
Hi,

In Hikashop i have an additional description / textarea in the order.
In the order export template XML Layout i have:

<additionaldescription><![CDATA[[order_additionaldescription]]]></additionaldescription>

I use CDATA because the import in another system can't handle special characters.
This works fine. But when the additional description field is not filled the export still prints: [order_additionaldescription]

Is there a way to hide this field when empty?
Accepted Answer
Accepted Answer Pending Moderation
Hello,
It is not possible to hide only that field but you can use RO CSVI Conditional rule plugin to check if the field value is empty and replace order_additionaldescription to empty value so you see <additionaldescription><![CDATA[[ ]]]></additionaldescription> in export file. Apply the rule on order_additionaldescription and run the export. See attached screenshot.

Let me know if that helps.
Attachments (1)
Kind regards,

Tharuna

=========================
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. # Permalink
Accepted Answer Pending Moderation
Hello,
Two things to check more on this issue
1. Please post export debug log to check. To get the debug log check How to collect debug information? document.
2. order_additionaldescription is a custom field added to Order table in HikaShop. Is that correct?
Kind regards,

Tharuna

=========================
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
Thank you this works.
1) debug log was not set, so i don't have older logs.
2) order_additionaldescription is a custom field added to Order table in HikaShop. Is that correct? Yes it is.
  1. more than a month ago
  2. RO CSVI
  3. # 2
  • Page :
  • 1


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