Relative Content

Tag Archive for phpwoocommerce

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.

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.

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 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?