Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #10758

    Hello all,

    When I select a product I can choose how many pieces I want. Right now you can add as many as you want. But is it possible to set a maximum, say a maximum of 10?

    Thanks,

    Martijn

    #69280

    Hey!

    Yes – you need to buy this extension: Min/Max Extension

    Regards,

    Peter

    #69281

    Ok thanks!

    #69282

    I have another question. Different as the title of this thread but okay.

    In my product overview I see all the prices of each product. That’s fine, but when I click on a single product and go to the private page of that product I don’t see the price anymore. Is there a way to show the price also on the single product page?

    THanks a lot.

    #69283

    Look for meta.php in plugins > woocommerce > templates > single product and replace everything with this line.

    <?php
    /**
    * Single Product Meta
    */

    global $post, $product;
    ?>
    <div class="product_meta">

    <?php if (($product->is_type('simple') || $product->is_type('variable')) && get_option('woocommerce_enable_sku')=='yes') : ?>
    <span itemprop="productID" class="sku"><?php _e('SKU:', 'woocommerce'); ?> <?php echo $product->sku; ?>.</span>
    <?php endif; ?>

    <p itemprop="price" class="price"><?php echo $product->get_price_html(); ?></p>

    <?php echo $product->get_categories( ', ', ' <span class="posted_in">'.__('Category:', 'woocommerce').' ', '.</span>'); ?>

    <?php echo $product->get_tags( ', ', ' <span class="tagged_as">'.__('Tags:', 'woocommerce').' ', '.</span>'); ?>

    </div>

    You edit the style on your custom.css.

    #69284

    Niceeee! Thank you so much!

    Martijn

Viewing 6 posts - 1 through 6 (of 6 total)

The topic ‘Woocommerce add to cart’ is closed to new replies.