Prisliste


    [insert_php]
    foreach (get_posts(‘post_type=product&post_status=publish’) as $product) {
    $product = get_product($product->ID);

    if ($product->product_type == «variation»)
    continue;

    if ($product->product_type = «variable») {
    ?>

  • post->post_title . «: » . $product->get_price_html(); ?>
      get_children() as $child) { ?>

    • get_child($child->variation_id);
      echo $child_product->post->post_title . «: » . $product->get_price_html(); ?>