Adding extra cost to woocommerce flat rate based on shipping zone
i found solution to count flat rate based on specific quantity steps in woocommerce, what i need additionally to add an extra specific amount based on shipping zone. for example : i charged customer 4 dollar for each 3 items based on specific shipping class, so if the customer added 6 items to cart with the same shipping class he will charged 8 dollar, what i need then to add 50 dollar additional based on the customer shipping zone so the total shipping cost get 58 dollar (8 for items number + 50 for shipping zone), also i want to be abble to add many shipping classes and many shipping zones to the code.
Add Custom Tax Value to WooCommerce order programmatically
I am creating a WooCommerce order programmatically but I cannot seem to get Tax added to A custom shipping method. Here is my code:
woocommerce change/create attributes and terms based on product title
I have a custom plugin ive been working on to take product title data and create attributes/terms or assign them if they are already created. The output generates a log that shows these attributes were created and logged, however when I go into produts, none of these attributes/terms have actually been assigned.
Empty Woocommerce Ajax Cart before adding multiple items via url to cart
I am using the following code to allow adding multiple items via url (...com/checkout/?add-to-cart=632:11,422:7
) to the woocommerce cart. Somehow it does not empty the logged in OR logged out users cart before adding the new items using WC()->cart->empty_cart();
. Any idea why?
Attributes in new order email
I am trying to modify the template of the new ordern shipment, so that besides the column of name and quantity, also appears the column of attribute “color” and attribute “priority”.
I was able to create the columns and they appear without any problem but I can’t connect the information to appear.
Woocommerce – Add to cart button change to View product button with different text for different categories
in woocommerce eshop I changed “Add to cart button” to “View product” on shop page.
But also I need different text on “View product” button for different categories.
WooCommerce get email address and phone number on Checkout page, on change of those respective input fields
I’m building a plugin that will hide a specific payment method based on the email address or phone number typed in the checkout form by the customer.
Change position to shipping address items in order email – woocommerce
I need to add phone label in shipping addresses.
WooCommerce cart_item_key not prsent in Woo Cart Table
My WooCommerce Woo Cart Table element does not show cart_item_key
value on each row, which I need to AJAX update my cart.
I tried creating a custom cart.php in a child theme, but that file is not being used.
How can I override the Woo Cart Table element to make sure that attribute is added?
Hiding delivery methods without price in the basket | Woccommerce | WCFM Marketplace
I’m new and looking for help.