PHP code example of orangecat / module-prices-company
1. Go to this page and download the library: Download orangecat/module-prices-company library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
orangecat / module-prices-company example snippets
public function calculate(string $sku, float $qty, int $companyId, float $basePrice = 0.0): ?float
public function getTiers(string $sku, int $companyId, float $basePrice = 0.0): array
public function isEnabled($storeId = null): bool
public function getResolutionMode($storeId = null): string // 'overwrite' | 'stack'