Volume Pricing Table
rp_wcdpd_volume_pricing_table_range_label
Allows overriding the label of one pricing range in the table
Parameters
$label (string) default label
$product (object) product object
$rule (array) rule's data
$quantity_range (array) quantity range data
rp_wcdpd_volume_pricing_table_range_price
Allows overriding the price of one pricing range in the table
Parameters
$display_price (string) default price
$product (object) product object
$rule (array) rule's data
$quantity_range (array) quantity range data
rp_wcdpd_volume_pricing_table_data
Allows overriding the whole data of the table
Parameters
$data (array) default data
$product (object) product object
$rule (array) rule's data
Live Price Update
rightpress_live_product_price_update_label_html
Allows overriding the label (“Price”)
Parameters
$label (string) default label
rightpress_live_product_price_update_price_html
Allows overriding the updated price HTML
Parameters
$display_price (string) default price
$price (double) default price
$label (string) label
$product_id (int) product id
$variation_id (int) variation id
$variation_attributes (array) variation's attributes
$quantity (int) quantity
rightpress_live_product_price_update_extra_data
Allows adding any extra data to the JSON response (in “extra_data” array key)
Parameters
$data (array) empty array by default
Total Saved
rp_wcdpd_promotion_total_saved_display
Allows overriding the initial calculated amount of the total discount
Parameters
$amount (double) total discount amount
$hook (string) current action hook
$include_tax (bool) whether or not the tax is included
rp_wcdpd_promotion_total_saved_display
Allows overriding whether or not to show the whole string
Parameters
$bool (bool) whether or not to show it
$amount (double) total discount amount
$hook (string) current action hook
rp_wcdpd_promotion_total_saved_label
Allows overriding the default label
Parameters
$label (string) default label
$amount (double) total discount amount
$hook (string) current action hook
rp_wcdpd_promotion_total_saved_formatted_amount
Allows overriding the formatted amount
Parameters
$amount (string) default formatted amount
$amount (double) total discount amount
$hook (string) current action hook
rp_wcdpd_promotion_total_saved_div_classes
Allows overriding the classes passed to the “div” container
Parameters
$default_classes (string) default classes value: "woocommerce-message"
rp_wcdpd_promotion_total_saved_tr_classes
Allows overriding the classes passed to the “tr” tag
Parameters
$default_classes (string) default classes value (empty)