Support Center
prestashop override module

Prestashop Override Module May 2026

public static function getPriceStatic( $idProduct, $usetax = true, $idProductAttribute = null, $decimals = 6, $divisor = null, $only_reduc = false, $usereduc = true, $quantity = 1, $forceAssociatedTax = false, $idCustomer = null, $idCart = null, $idAddress = null, &$specificPriceOutput = null, $withTax = true, $useGroupReduction = true, $useCustomerPrice = true, $priceDisplayMethod = null ) // Call original method $price = parent::getPriceStatic( $idProduct, $usetax, $idProductAttribute, $decimals, $divisor, $only_reduc, $usereduc, $quantity, $forceAssociatedTax, $idCustomer, $idCart, $idAddress, $specificPriceOutput, $withTax, $useGroupReduction, $useCustomerPrice, $priceDisplayMethod ); // YOUR CUSTOM LOGIC: Apply a 10% discount for VIP customers if (Customer::getCurrent()->isVip()) $price = $price * 0.9;

return $price;

Industrial loT Gateways Ranked First in China by Online Sales for Seven Consecutive Years **Data from China's Industrial IoT Gateways Market Research in 2023 by Frost & Sullivan
Subscribe
prestashop override module Trustworthy Smart llOT Partner
Contact Us
Copyright © Jinan USR IOT Technology Limited All Rights Reserved. Lu ICPB No. 16015649-5/ Sitemap / Privacy Policy