If you set the customX fields for a product and you change the JSP file to display them, when you add a product in the cart you lose the customX fileds information.
You must change updateBasketWithStockInfo method.
Hi,
When I call the UpdateBasketWithStockInfo() method I don't lose the value in the custom fields.
Hello Julie,
For my product I set the custom1 field. I modified ProductsBody.jsp to add a new column with the custom1 field.
I changed also ProductsDetailsBody.jsp and CartTile.jsp for the same purpose, and it works fine.
But in EditCartBody.jsp when I use item.getCustom1, the field is empty.
Regards
Hi,
Are you sure that you set the custom field of the Basket item and not just the custom field of the Product ?
Hello Julie,
I set the custom field of the product. Then when the basket displays items, it should show information on each product, and if I use item.getCustom1 then the field is empty, but normaly it should contains the data I set in the product.
Regards