Category "woocommerce"

Wordpress | echo attribute_name and _value

I am using flatsome theme and i have a theme action hook called flatsome_product_box_after. Basically he is located after the product picture on my Shop Catalog

Which hook needs to call if admin update the shipping/billing address in WooCommerce?

I'm not sure which hook/action needs to setup to know when the admin is updating shipping/billing addresses once the order has been created. So what I'm trying

Remove billing address (only show shipping address) in certain WooCommerce email notifications

The action 'woocommerce_email_customer_details' includes both the billing and shipping address data. I only need the shipping address. How can I achieve this? B

Add a custom fee for percentage and fixed cost to specific payment gateway in WooCommerce

In WooCommerce I need to apply a custom handling fee for a specific payment gateway. A custom handling fee for percentage cost and a custom handling for per fix

hide the price for protected products in shop page WooCommerce [closed]

how to hide the price for protected products in shop page WooCommerce ?

Add custom text 'per item' based on product category in WooCommerce email notifications

How to add a custom text 'per item' based on product category on all WooCommerce emails? Therefore I tried to modify Add a custom text for a particular product

Woocommerce Event Subtotal is 0,01 €

I use the Plugin Woocommmerce Event Manager Selling Tickets. Link Example (https://www.peloponnes-erfahren.com/events/santameriblick/ ) If I book an event the S

I want to show the woocommerce shipping methods of only selected state / country?

Is there any way to show the woocommerce shipping methods of the selected country or states and hide all other states and countries' shipping methods? [1]: http

Weglot does not translate some strings

We translated our WooCommerce store via Weglot and everything worked fine. Unfortunately, some words on the home page were not translated. It is the section on

How do I remove the links from product names in WooCommerce order emails?

When a customer receives their woocommerce order completed email, there are 2 columns. In the left column is the product name and in the right column is the dow

Change "view-order/order-id" url/endpoint in WooCommerce My account - orders to "orders/order-id"

Currently the URL, under the WooCommerce 'My orders' tab, for the button when you view an order in detail is equal to /my-account/view-order/ORDER-ID/ I would l

Remove Klarna Payments with cash on delivery method

I have a problem with a code. So I have five different payment methods in my site. When a customer select "Cash on delivery" as shipment method all the payment

Issue with saving custom field (custom post type) in WooCommerce coupon usage restriction tab

I'm trying to add a new field in the usage restriction of coupons. Here is my code: function add_coupon_cpt_field() { $value = get_post_meta( $post->ID,

WooCommerce automatically add variable product to cart based on another product variation

Bear with me - I'm a newbie. Here's what I'm trying to do: if [product A/variation 1] is in the cart then add [product B/variation 1]. I need help setting up a

changing the display location of custom product field on a variable product page

i added a custom field to a variable product and displayed it on the front single product page with the help of an answer here https://stackoverflow.com/a/55774

Products color should show through color variations in woocommerce

I have added two variations at product page in woocommerce. Size Color Color image is moving and appearing at the front, once i am selecting the size also. But

Remove a field from WooCommerce API

My website communicates with retail management software for everything related to products on WooCommerce. Whenever synchronisation takes place, all fields pres

Remove add to cart button on WooCommerce single product page if product has been purchased and show MP3 player instead

We have a WooCommerce store that sells files (MP3/MP4) to registered users and enables the user to play them in the "Downloads" section of their account (we hav

TextLocal.in SMS Api for new order Woocommerce

I am using the following API code to send an SMS when a new order is placed, the SMS API code is working to send SMS... Placed at the end of child theme in func

button doesn't add to cart - WooCommerce

I'm not sure why this is not allowing me to add to the cart. I have access to the global product but it's not capturing the ID to add to cart <?php /**