edd_get_cart_item_price( int $download_id, array $options = array(), bool $remove_tax_from_inclusive = false )

Get Cart Item Price


Description Description

Gets the price of the cart item. Always exclusive of taxes

Do not use this for getting the final price (with taxes and discounts) of an item. Use edd_get_cart_item_final_price()


Parameters Parameters

$download_id

(Required) Download ID number

$options

(Optional) parameters, used for defining variable prices

Default value: array()

$remove_tax_from_inclusive

(Optional) Remove the tax amount from tax inclusive priced products.

Default value: false


Top ↑

Return Return

(float|bool) Price for this item


Top ↑

Source Source

File: includes/cart/functions.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
1.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.