-1
위치 (속성)woocommerce 제품 속성에서 학기 용어의 부모 용어를 얻는 방법? 제품 속성 섹션에서
--India(term)
---Mumbai (term with parent of India)
---Kolkata (term with parent of India)
나는 위치로 Mumbai
선택합니다.
나는대로 제품 아카이브 페이지에이를 얻을 수 있습니다 :
$product->get_attribute("pa_location");
하지만 어떻게 $product
에서 India
(Mumbai
의 부모)을 얻을 수 있습니다.