• Resolved Daniel White

    (@avistor)


    shalom. i read previous posts and comments about automation.
    how can i program fixed values to DELIVARY_TIME = 7 days and SHIPMENT_COST = 19NIS to all products ?

    add_action( ‘wc_zap_mirror_xml_node’, function( &$node, $product ) {
    $node->PRODUCT_NAME = $product->get_name();
    $node->DETAILS = $product->get_description();
    $node->CATALOG_NUMBER = $product->get_id();
    $node->PRICE = $product->get_price();
    $note->DELIVERY_TIME = 7;
    $note->SHIPMENT_COST = 19;

    }, 10, 2 );

    this does NOT work for me, how can i make this work?

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘??????????’ is closed to new replies.