Hi,
It would be nice to extend the current concat field with some basic if-then-else statements.
My scenario is simple (initially posted in https://doc.dynamicweb.com/forum/pim/pim/concat-with-if-statement):
- I have a concat field
- I only want the field to be populated if the 2 fields I'm referencing are populated
- In my case I have an int + a string field
- {Product_MSRP} per {Product_UoMForMSRP}
- Product_MSRP is an int field
- Product_UoMForMSRP is a string
-
The end result becomes "0 per"
With some simple if-else I'd like the result to be empty
This would allow the concat fields to be much more flexible and avoid some customizations in Razor templates or ProductSave notifications (however that data needs to be treated)
Best Regards,
Nuno Aguiar