Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
Is there a hook that allows setting the Manage Stock checkbox in woocommerce to be always checked when creating variations?
All our products are variable products (you can choose the products size), so it would be a global setting.
Thanks!
For anybody wishing the same option, I inserted this code into funtions.php of the child theme and it works.
if (is_admin())
{
add_filter( 'woocommerce_product_variation_get_manage_stock', '__return_true' );
}
Related
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 2 years ago.
Improve this question
I want to add some Global Text under Categories and Tags in Single Product Pages in Woo Commerce.
How Can I do this?
Thanks in advance!
You can use the woocommerce_product_meta_end action hook like this:
add_action( 'woocommerce_product_meta_end', 'add_custom_text_below_product_categories', 10 );
function add_custom_text_below_product_categories() {
echo '<p>Your custom text here...</p>';
}
This code snippet should be added to the functions.php of your child theme or via plugin like Code Snippets.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 4 years ago.
Improve this question
I wonder if there is a way to apply style for only variable products in WooCommerce. I need it because one of my buttons i custom styled and it goes out of place when there is variable product.
Sorry, here is https://prntscr.com/kuo735 the button and here is the URL persoonlijktelefoonhoesje.nl/product/… and here is the button that it's out of place -> https://prntscr.com/kuo8a9 and the variable product http://persoonlijktelefoonhoesje.nl/product/geometric-unicorn-telefoonhoesje/
When the product is variable it's container has a product-type-variable class. So, in your case CSS of the button for vairable product will looks like this:
.product-type-variable .entry-summary{
}
Make sure that only one element on your page has class entry-summary.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I want to add reviews to my woo commerce products as an Admin. I want to add reviews that I can copy from another website and put those in mine for the same product.
It's not really that hard, is it? You just have to edit the product and scroll down below it. You'll find "Reviews", where you can add one.
If this is not present, you will need to add it. On the top of the page where it says "Screen Options", make sure "Reviews" is checked.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 7 years ago.
Improve this question
I want to create a multi individual post but I can't find way to do it. I'm using a theme called zerif-lite and I have two custom menus - Our Client and Carreers. For Carreers I use a plugin called Job Manager.
When I click a link on either menu, it goes to the template Content-page.php, whereas I want the links from the Carreers menu to go to a page using the Carrers-page.php template.
You can see in my picture the result that I want.
I think a good approach would be to include your requird file carres-page.php.
You can do this like below:
<?php include (TEMPLATEPATH . '/carres-page.php' ); ?>
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I know there are plenty checkout plugins out there but to be honest - they are so extended and huge.. I am looking for something really simple:
+ I have category like COOKIES and subpages there which are my products
+ on product page after description should be only button add to cart (plus No of ordered items -> if plugin do not have it, no problem )
+ after clicking on checkout button you can only give the simple data like email, address, name.
No payments, no taxes.. only sending such ordering on my email. do you know anything like that?
This is fairly easy to setup and should fit the bill
http://wordpress.org/extend/plugins/wp-e-commerce/