Forum Replies Created

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter dunderhonung

    (@dunderhonung)

    Hi,

    Thanks for your respond.

    Which file do I have to modify?
    I will give it a try! 😉

    best regards

    Thread Starter dunderhonung

    (@dunderhonung)

    Oki, I see.

    I think I will solve it by using multiple for each

    Thanks

    Thread Starter dunderhonung

    (@dunderhonung)

    Oki, I might have to find another why to handle my orders then.

    Thanks for your respond!

    Thread Starter dunderhonung

    (@dunderhonung)

    And why is it trigging admin email “new order” ?

    I used it like this.

    I got a new order
    Sending the order to customer and changing the status to “pending payment” Just to know that I have sent it but the invoice is not paid.

    And the last step. When I got the money I changed the status to complete. Is there any better way to work with this?

    Thread Starter dunderhonung

    (@dunderhonung)

    Thanks for your fast respond

    Oki, but its the status “Pending Payments”.
    Can I add a custom order status?

    Thread Starter dunderhonung

    (@dunderhonung)

    My file looks like this.

    <?php
    /**
    * The Template for displaying product archives, including the main shop page which is a post type archive.
    *
    * Override this template by copying it to yourtheme/woocommerce/archive-product.php
    *
    * @author WooThemes
    * @package WooCommerce/Templates
    * @version 2.0.0
    */

    if ( ! defined( ‘ABSPATH’ ) ) exit; // Exit if accessed directly

    get_header(‘shop’); ?>
    <div id=”content” class=”coach-page”>
    <div id=”content-wrapper” class=”wrapperSize”>

    <div id=”contentBox”>

    <?php

    global $woocommerce_loop;

    $woocommerce_loop[‘loop’] = 0;
    $woocommerce_loop[‘show_products’] = true;

    if (!isset($woocommerce_loop[‘columns’]) || !$woocommerce_loop[‘columns’]) $woocommerce_loop[‘columns’] = apply_filters(‘loop_shop_columns’, 4);

    ?>

    <?php do_action(‘woocommerce_before_shop_loop’); ?>

    <ul class=”products”>

    <?php

    do_action(‘woocommerce_before_shop_loop_products’);

    if ($woocommerce_loop[‘show_products’] && have_posts()) : while (have_posts()) : the_post();

    global $product;

    if (!$product->is_visible()) continue;

    $woocommerce_loop[‘loop’]++;

    ?>
    <li class=”shop_product <?php if ($woocommerce_loop[‘loop’]%$woocommerce_loop[‘columns’]==0) echo ‘ last’; if (($woocommerce_loop[‘loop’]-1)%$woocommerce_loop[‘columns’]==0) echo ‘ first’; ?>”>

    <?php do_action(‘woocommerce_before_shop_loop_item’); ?>

    “>

    <?php do_action(‘woocommerce_before_shop_loop_item_title’); ?>

    <h3><?php the_title(); ?></h3>

    <?php do_action(‘woocommerce_after_shop_loop_item_title’); ?>

    <button class=”product_button” type=”button” onclick=”window.location.href='<?php the_permalink(); ?>'”>INFO</button>

    <?php

    endwhile; endif;

    if ($woocommerce_loop[‘loop’]==”0″) echo ‘<li class=”woocommerce_info”>’.__(‘No products found which match your selection.’, ‘woocommerce’).”;
    ?>

    <div class=”clear”></div>

    <?php do_action(‘woocommerce_after_shop_loop’); ?>
    </div>
    </div>
    </div>
    <?php get_footer(‘shop’); ?>

    Thread Starter dunderhonung

    (@dunderhonung)

    no, I havn’t how do I use that?

    or, I tried but couldn’t get it to work.

    do I have to declare the widget in some way?

    Thread Starter dunderhonung

    (@dunderhonung)

    King!

    thanks!!

    Thread Starter dunderhonung

    (@dunderhonung)

    I tried to do that but couldn’t solve my problem.

    Im using starkers naked theme and tried to get a clue about it by reading your link.. I also had a look at http://codex.wordpress.org/Function_Reference/query_posts

Viewing 9 replies - 1 through 9 (of 9 total)