pujsek
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Remove Add to cart based on category but preserve variationsSadly, setting the products out of stock is not an option, because I need the price to be visible. I used this code:
function remove_product_description_add_cart_button(){ global $product; $category = 'categoryslug'; if ( has_term( $category, 'product_cat', $product->id ) ) remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_add_to_cart', 30 ); } add_action('wp','remove_product_description_add_cart_button');but it also removes the variations. Is there a way to adapt the code so that the variations stay intact?
Forum: Plugins
In reply to: [WooCommerce] Product type selectionThis detail I can provide you with even with no programming skills 🙂 The name of the theme is Entrada.
Forum: Plugins
In reply to: [WooCommerce] Product type selectionHello.
What kind of details do you need? I must warn you that I am a total noob when it comes to programming. I am capable of doing some easy fixes but if this is complicated, it’s not worth your time 🙂
Forum: Plugins
In reply to: [WooCommerce] Displaying stock quantatiesThank you. I suspected that might be the case.
Forum: Plugins
In reply to: [WooCommerce] Multiple attributes – selecting one disables anotherOn closer look, it sadly doesn’t do what I need. If anybody could please look at these pictures and advise me on how to achieve this, if it’s even possible, I’ll be very grateful.
Forum: Plugins
In reply to: [WooCommerce] Multiple attributes – selecting one disables another@lorro Thank you. The Yith plugin does exactly what i need.