Hi to all,

I'm trying to call from a simple method the method setItemShipGroupQty() of ShoppingCart but actually it accepts only some parameters with native type double and int and so it gives to me an error from the simple method.

I have tried to add this method and now everything is ok.

public void setItemShipGroupQty(ShoppingCartItem item, Double quantity, Integer idx) { this.setItemShipGroupQty(item, this.getItemIndex(item), quantity.doubleValue(), idx.intValue());
}

Is it ok if I add this method or did you have a different idea to solve this problem ?

Thanks in advance
Marco

Reply via email to