Woocommerce Email settings, Content type dropdown not working
Not able to update the Woocommerce content type in email settings.
Not able to update the Woocommerce content type in email settings.
I'm using wordpress and woocommerce, and I want to add some scripts to run when a product variation is selected, with jQuery. I have a set of "buttons" in html like this: <div class="adsw-attribute-option"> <span class="meta-item-text sku-set" data-value="s">S</span> <span class="meta-item-text…
I am creating a WordPress webshop using WooCommerce and the Divi theme. On PC all is great, but on mobile the theme places my custom mobile cart quantity counter inside the mobile menu dropdown. This makes it not visible until…
In Woocommerce, I am trying to hide the checkout postcode field if a specific city field is selected. I found a working code that hides the billing phone if company field is empty: add_action( 'woocommerce_after_checkout_form', 'conditionally_hide_show_checkout_field', 9999 ); function conditionally_hide_show_checkout_field()…
I am developing a plugin for wordpress and I want to add the button to the header of gutenberg editor just like the one added by Elementor plugin "Edit with Elementor" Can anyone guide me what should i do to…
I want to add some attributes to the shop page of wordpress. This code i found on Stackoverflow, is shows all attribute labes but on all the same attribute names. add_action('woocommerce_after_shop_loop_item_title','add_attribute'); function add_attribute() { global $product; $product_attributes = array( 'pa_country','pa_class','pa_faction','pa_gender'…
Is there a way (maybe via functions.php) to change the product-image in woocommerce shops (archive page) on hover with the first attached gallery image of the product? I cannot find how to target both. I guess it must be sth…
I'm struggling with applying a fee for an array of user roles if and when a specific payment gateway is selected. The code I've written works fine if I do not check the user role, but once I try and…
How do I remove fields on the Woocommerce Checkout page? I read on this page that it can be done with a filter - tried it but it didn't work (I changed order_comments by billing_phone which is one of the…
I've added a custom field to the checkout page (billing_vat) and it needs to be required when the country is set to Ireland (IE). Currently, I've changed the label to show that it's required in the same way as all…