If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.
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?
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.
Look for meta.php in plugins > woocommerce > templates > single product and replace everything with this line.
* Single Product Meta
global $post, $product;
<?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>'); ?>
You edit the style on your custom.css.
The topic ‘Woocommerce add to cart’ is closed to new replies.