Set attribute value on listing submit


How could I programmatically (using hook) set a custom attribute value when submitting listing with some combined values from other custom attributes that the user has entered in the insert/update form?

For example user inputs something in apartment_type and floor and the snippet code combines those values in another attribute that is hidden in the front end but will be shown on block secondary and page secondary.

Thank you for waiting. This topic looks similar to this one. Please check the example in this topic: Set custom attribute value - #3 by yevhen

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.