Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 16 lines (8 sloc) 243 Bytes
<?php
/*
event: OnSHKcalcTotalPrice
*/
$price_total = $modx->getOption( 'price_total', $scriptProperties, 0 );
$price_total = round( $price_total * (1 - 10 / 100), 2 );//Скидка 10%
$modx->event->output( $price_total );
return '';
You can’t perform that action at this time.