Fic Allergen Labelling - Problems Using Sample
Hi all,
I am having problems with the Allergen formatting, using the sample provided by Bartender.
In order to troubleshoot, I am just using the sample "as is" along with a simple 2 product database (have also tried using an access database just in case).
The problem is as follows,
In these lines, both have "Sweetened Condensed Milk (Milk, Sugar)" - in the first line, it works as intended, "Sweetened Condensed Milk (Milk, Sugar)" - all good, but on the second product with the same thing: "Sweetened Condensed (Milk (Milk, Sugar)" - a random "(" appears, which obviously is a major issue, I can't use this as is.
Also, when modifying the Allergens.txt to include "Soya" - the same happens, for example, "May contain traces of soya protein", comes up as "May contain traces of (soya protein" - again, a rogue "("
How can I go about fixing this? - files attached. (Have emailed it to tech support, but hoping for a quick answer, suppost to be implementing this tomorrow!)
Thanks,
-
Fixed by tech support - fantastic!
Quote for others in the same boat:
To fix it please search for the following code in the VB script:
Dim tempMultiIngredient : tempMultiIngredient = Trim(LCase(multiIngredientSplitted(j)))
Dim startsWith
Dim endsWith
And modify it as follows:
Dim tempMultiIngredient : tempMultiIngredient = Trim(LCase(multiIngredientSplitted(j)))
Dim startsWith : startsWith = ""
Dim endsWith : endsWith = ""0
Please sign in to leave a comment.
Comments
1 comment