how can i show in my invoice a custom attribute of my products?
i try in my velocity temp put $op.getCustom1() and $op.getProduct().getCustom1(), both with no succes :(
You should put the value of the product custom attribute into the order product custom attribute so that it is saved with the order. Then you can do $op.getCustom1().
hy
please, in wich action i could do this?
i try to change the AddToCartFromProdIdAction adding the follow code
b.setCustom1(selectedProd.getCustom1());
System.out.println("add a custom " + selectedProd.getCustom1());
that work fine ( i see in the log the msg )
but after i checkout the order the custom1 attribute was no set in table orders_products
what else i need to change?