Tamade Posted October 22, 2020 Share Posted October 22, 2020 Hello I have the prestashop version 1.7.6.5 In previous versions I have read that to be able to enter decimal values in purchase quantities, it was necessary to change in different files, int for float ... I can't find anything for version 1.7 Someone knows something about it? Thank you Link to comment Share on other sites More sharing options...
Guest Posted October 25, 2020 Share Posted October 25, 2020 Files that must be modified: (word: minimal_quantity OR quantity_wanted OR qty) .\admin\themes\new-theme\js\product-page\product-bulk-combinations.js .\admin\themes\new-theme\public\product_page.bundle.js .\classes\Attribute.php .\classes\Cart.php .\classes\Category.php .\classes\Combination.php .\classes\Manufacturer.php .\classes\Product.php .\classes\ProductSale.php .\classes\Search.php .\classes\Supplier.php .\controllers\admin\AdminCartsController.php .\controllers\admin\AdminImportController.php .\controllers\admin\AdminOrdersController.php .\controllers\admin\AdminProductsController.php .\controllers\front\CartController.php .\controllers\front\ProductController.php .\js\admin\products.js .\src\Adapter\CombinationDataProvider.php .\src\Adapter\Import\Handler\ProductImportHandler.php .\src\Adapter\Presenter\Cart\CartPresenter.php .\src\Adapter\Presenter\Product\ProductLazyArray.php .\src\Adapter\Product\AdminProductWrapper.php .\src\Core\Filter\FrontEndObject\EmbeddedAttributesFilter.php .\src\Core\Filter\FrontEndObject\ProductFilter.php .\src\Core\Import\EntityField\Provider\CombinationFieldsProvider.php .\src\Core\Import\EntityField\Provider\ProductFieldsProvider.php .\src\PrestaShopBundle\Form\Admin\Product\ProductCombination.php .\src\PrestaShopBundle\Form\Admin\Product\ProductCombinationBulk.php .\src\PrestaShopBundle\Form\Admin\Product\ProductQuantity.php .\src\PrestaShopBundle\Model\Product\AdminModelAdapter.php .\src\PrestaShopBundle\Resources\views\Admin\Product\ProductPage\Forms\form_combination.html.twig .\src\PrestaShopBundle\Resources\views\Admin\Product\ProductPage\Forms\form_combinations_bulk.html.twig .\src\PrestaShopBundle\Resources\views\Admin\Product\ProductPage\product.html.twig .\themes\classic\assets\js\theme.js .\themes\classic\templates\catalog\_partials\product-add-to-cart.tpl .\themes\classic\templates\checkout\_partials\cart-detailed-product-line.tpl .\themes\core.j + database tables ps_cart_product ps_cart_rule ps_cart_rule_product_rule_group ps_order_detail ps_order_return_detail ps_order_slip_detail ps_pack ps_product ps_product_sale ps_product_attribute ps_product_attribute_shop ps_specific_price_rule ps_stock ps_stock_available ps_stock_mvt ps_customization Why hasn't anyone released the module yet? Because the cost of developing a module would be huge and the price to sell as well. My estimate is at least 300 hours of work. Module development costs of at least $ 7,500 Do you think anyone will program it? Prices and numbers are the basis of Prestashop, so someone would actually develop a new e-shop system built on the core of Prestashop. Link to comment Share on other sites More sharing options...
Tamade Posted October 25, 2020 Author Share Posted October 25, 2020 (edited) In database tables, by what value would it have to change? On one site they say decimal (17,2). Could you tell me if this is true? Edited October 25, 2020 by Tamade (see edit history) Link to comment Share on other sites More sharing options...
diegovanz Posted November 20, 2020 Share Posted November 20, 2020 Hello, were you able to achieve this change by fractions? I must do the same. If someone already did, I can buy the modified code from them. Link to comment Share on other sites More sharing options...
Tamade Posted November 27, 2020 Author Share Posted November 27, 2020 No, I haven't. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now