The goal here is to have a text field on the product page. The customer fills it in and adds to cart. The text is added to the product and included in the cart and on the checkout and on the order. …
Tag: woocommerce
Disable item name link for specific product in Woocommerce cart checkout and orders
I’m looking to disable the product link to the product page of a specific product in the cart. This product is a gift product automatically added to the cart when the cart subtotal amount equals a …
Change “You cannot add another (product) to your cart” notice in Woocommerce
I can’t find a way to change the Woocommerce default message when you try to add another product to your cart marked as sold individually. I found out that this is how you edit the default success …
Disable specific payment methods depending on Woocommerce order status
I made a two-step payment on the site. Payment occurs after confirmation of the order by the manager. First, the user selects the payment method “for confirmation”(renamed “cash on delivery”) and pay only after receiving the invoice for payment. On the checkout page, I hide paypal via js. I would like paypal to be hidden when on-hold status. When the
Woocommerce checkout with edit address layout
So, when you go to checkout you see all billing fields inputs but I want to remove all them and display a card based like on My Account / Edit Address with the Edit button. It this possible? Basically I need to eject that card on the billing fields place. Any advise? I am already using “Hide billing address from
WooCommerce : assign member to shipping zone
is there a way to assign a shipping zone to a member ? I want to do that because I use WooCommerce for a food delivery site and I need to send an email to the closest Restaurant when someone makes an order I was thinking about adding an email field in the shipping zone table like below (sorry my
Sell some products only on a specific day in WooCommerce
With Woocommerce I would like to sell certain defined items on Sunday only. If anyone tries to purchase outside of Sunday, it should give an error. The remaining items in the shop can be purchase anytime. Is this possible? Any track is really appreciated. Example – I have a product called “Sunday Tapas” which is product code “2795”. I want
Add custom checkout field based on product category in Woocommerce
I need to add custom checkout field based on product category. I found this code which works with products, but it is very time consuming to add Ids from every new product from particular category. How to modify this code to work with product categories? Answer Try the following to handle product categories (handling parent terms too): Code goes in
Add variation stock quantity and status to Woocommerce product variation dropdown
Based on “Show stock status next to each attribute value in WooCommerce variable products”, I have the following code that shows stock quantity + stock status in product variation dropdown and also as displayed product availability text: But I am having an issue with this code: for ex. I have a product with size (stock): S (instock qty 2), L(0),
Add Product Attributes with values to a product in Woocommerce
I am using this code to add custom attributes The result of this code I got added just product attribute Name without term values… See the picture I searched about that very much but did not got any answer. Answer There is some mistakes in your code. Your main mistake: The attribute terms to save as product meta data (at