Jump to content

decimal values in purchase quantity v1.7.6.5


Tamade

Recommended Posts

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

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

  • 4 weeks later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...