CartItemSchema::prepare_product_price_response( WC_Product $product, string $tax_display_mode = '' )

Get an array of pricing data.


Description Description


Parameters Parameters

$product

(Required) Product instance.

$tax_display_mode

(Optional) If returned prices are incl or excl of tax.

Default value: ''


Top ↑

Return Return

(array)


Top ↑

Source Source

File: packages/woocommerce-blocks/src/StoreApi/Schemas/CartItemSchema.php


			


Top ↑

User Contributed Notes User Contributed Notes

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