APIBulk Discounts for WooCommerce for WordPress

Currently there is only one function. It can be used in site’s theme or in another plugin.

seraph_wd\API::AdjustPrice

seraph_wd\API::AdjustPrice( $product, $price, $attrs )

It adjust $price according to specified product $product and attributes $attrs. E.g. seraph_wd\API::AdjustPrice( $product, 50, array( ‘quantity’ => 10 ) ).

The rendering example of using this method can be shown on our site.

Leave a Reply