Aelia_Currency_Switcher implements Registerable, Standard_Service
Handles integration with Aelia CS
Tags
Interfaces, Classes and Traits
- Registerable
- Standard_Service
Table of Contents
- convert_cart_price() : string|float
- Convert price for Aelia.
- convert_price() : string|float
- Convert price.
- register() : mixed
- {@inheritdoc}
Methods
convert_cart_price()
Convert price for Aelia.
public
convert_cart_price(string|float $price, WC_Product $product, array<string|int, mixed> $price_data) : string|float
Parameters
- $price : string|float
- $product : WC_Product
- $price_data : array<string|int, mixed>
Tags
Return values
string|float —convert_price()
Convert price.
public
convert_price(string|float $price) : string|float
Parameters
- $price : string|float
Tags
Return values
string|float —register()
{@inheritdoc}
public
register() : mixed