We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

How to Set values in variables of catalog Item through transform map script.

Not applicable
 
3 REPLIES 3

minhtiendh2
Tera Contributor

Have you found the solution ?

Not applicable

No, Even I forgot for what I wanted to know this 😄

Well basically, each time you submit a catalog item, the variables of that catalog item will be stored in table sc_item_option. So the problem is when you do transform map from a attachment contains the variable's values, you can't not make a coalesce field on those variables because those are not fixed variables, they're created everytime you submit a catalog item, therefore they will always get inserted, not updated to the target field of variables that you want them to be updated.