Max

Results 3 comments of Max

I have same issue. I need to put in cart m2 quantity. For example 2.30m2 but Quantity is an Int ![image](https://github.com/silvershop/silvershop-core/assets/5967390/ac2b481d-e321-4a37-b2dc-20d7a41f60c0)

I tried this: ### 1. OrderItem extension ``` use SilverShop\Model\OrderItem; use SilverStripe\Forms\FieldList; use SilverStripe\Forms\NumericField; use SilverStripe\ORM\DataExtension; class OrderItemExtension extends DataExtension { private static $db = [ 'QuantityDecimal' => 'Decimal(10,2)' ];...

Ok i tried this workaround: this is my link for each Variation Item /shoppingcart/setquantity/SilverShop-Model-Variation-Variation/$ID?quantity=&SecurityID=$SecurityID with jquery i get the quantity input value that i pass to the quantity parameter ....