Search found 2 matches

by EvE
23 Feb 2019, 21:03
Forum: Help
Topic: Overriding \Aimeos\MShop\Price\Item\Standard::setValue( )
Replies: 2
Views: 2091

Re: Overriding \Aimeos\MShop\Price\Item\Standard::setValue(

Thank you so much for your quick reply! This works.

The reason I need more decimals is because we have some very cheap products that can only be ordered in multiples of let's say 1000.
So the item price would be 0.008 (0.8 cents), but you can only order 1000, 2000, 5000, etc. of them.
by EvE
23 Feb 2019, 13:18
Forum: Help
Topic: Overriding \Aimeos\MShop\Price\Item\Standard::setValue( )
Replies: 2
Views: 2091

Overriding \Aimeos\MShop\Price\Item\Standard::setValue( )

Hello, I want to override \Aimeos\MShop\Price\Item\Standard::setValue( $price ), because I need more than 2 decimals for importing prices. I'm using Aimeos 2018.10.* with Laravel 5.5.* on Linux with PHP 7.3.1 (Homestead). I've added the following custom class: /ext/myextension/lib/custom/src/MShop/P...