📜  $product->product_type - PHP 代码示例

📅  最后修改于: 2022-03-11 14:53:37.835000             🧑  作者: Mango

代码示例1
//The product_type property is deprecated. Use get_type() to get internal type.

//So you need to change this:

$product->product_type;

//to this:

$product->get_type();