Hot answers tagged

1

Please check following points: Do not use sudo with composer Use composer 2 instead of composer 1 (This package is not installable via Composer 1.x) Remove "require": { "bharat2533/cuspayextension": "dev-main"}" from your composer.json file as it does not exist. After remove require, update package in https://packagist.org/...


1

Try the following way to build sql: $sql = $connection->select()->from($tableName)->where('max_merchandise_cost <= ?', $subtotal_cad) ->order('brokerage_cost_cad DESC')->limit(1); // error_log($sql->__toString()); $result = $connection->fetchAll($sql); If your subtotal returns nothing, then you can try to get that from quote. Here is ...


1

If you want to create an order without the in-stock Item then you can update the Catalog/Inventory configuration to process the order. Go to Store > Configuration > Catalog > Inventory Tab. Open the Product Stock Option fieldset group and update the below dropdown option. Backorders to Allow Qty below 0


Only top voted, non community-wiki answers of a minimum length are eligible