Method | Description | |
---|---|---|
__construct ( mixed $product ) | Initialize simple product. | |
add_to_cart_text ( ) : string | Get the add to cart button text. | |
add_to_cart_url ( ) : string | Get the add to url used mainly in loops. | |
get_type ( ) : string | Get internal type. |
public __construct ( mixed $product ) | ||
$product | mixed |
public add_to_cart_text ( ) : string | ||
return | string |
public add_to_cart_url ( ) : string | ||
return | string |