PHP 클래스 WC_Product_Simple

The default product type kinda product.
저자: WooThemes
상속: extends WC_Product
파일 보기 프로젝트 열기: woocommerce/woocommerce 1 사용 예제들

공개 메소드들

메소드 설명
__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.

메소드 상세

__construct() 공개 메소드

Initialize simple product.
public __construct ( mixed $product )
$product mixed

add_to_cart_text() 공개 메소드

Get the add to cart button text.
public add_to_cart_text ( ) : string
리턴 string

add_to_cart_url() 공개 메소드

Get the add to url used mainly in loops.
public add_to_cart_url ( ) : string
리턴 string

get_type() 공개 메소드

Get internal type.
public get_type ( ) : string
리턴 string