I have this table, and the data is saved like this in a text list:
:variation1:variation2:p-:q-:s-:
p- (price)
q- (quantity)
s- (SKU)
I want that when the user clicks add, the values of these two inputs come together and fill the table, in this format:
:verde:P:p-:q-:s-:
:verde:M:p-:q-:s-:
:verde:G:p-:q-:s-:
:verde:GG:p-:q-:s-:
:amarelo:P:p-:q-:s-:
:amarelo:M:p-:q-:s-:
:amarelo:G:p-:q-:s-:
:amarelo:GG:p-:q-:s-:
:azul:P:p-:q-:s-:
:azul:M:p-:q-:s-:
:azul:G:p-:q-:s-:
:azul:GG:p-:q-:s-:
Any ideas on how to do this?