Inventory_Presser_WP_All_Import::set_availability_for_sale( int $post_id, SimpleXMLElement $xml_node, bool $is_update )

set_availability_for_sale


Description Description

Not all feed imports have a for sale/sold bit that matches up nicely with our Availability taxonomy. Mark vehicles as for sale if no relationship exists in the taxonomy.


Top ↑

Parameters Parameters

$post_id

(int) (Required)

$xml_node

(SimpleXMLElement) (Required)

$is_update

(bool) (Required)


Top ↑

Return Return

(void)