Aelia_Currency_Switcher implements Registerable, Standard_Service

Handles integration with Aelia CS

Tags
author

Barn2 Plugins support@barn2.com

license

GPL-3.0

copyright

Barn2 Media Ltd

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

Search results