I found the following code to display all custom attributes on a product detail page (with a specific bar-style design that I need). The code works like a charm and I have the proper CSS to display horizontal bars of my custom attributes. Problem I have is that I only want to display specific named attributes…
Tag: woocommerce
Shipping cost based on cart total weight in Woocommerce 3
In my Woocommerce Webshop I do have different Products. I would like to have shipping cost calculated on total cart items weight: from 0 to 6 Kilos the cost is 5 €, from 6 to 12 Kilos the cost is 9 € Actually if I have a Product which is 1 Kilo the shipping cost is 5 €, but if
Adding custom message on Thank You page by shipping method
I’m trying to add a message to the order-received (Thank You) page, only if the order is using Free Shipping. The message can either replace the standard “Thank you…” message, or can be in addition …
How to remove Woo commerce Product Page Image Anchor?
I’m a WordPress Developer past 2 Years. I’m facing some issue into Woocommerce Product page Template. I have created Product in Woocommerce. Open Product Detail/Single page. When clicking on Product Image it opens in popup/Same page. Please Help me to remove the anchor from product Image. Thanks I…
Add and manage Product custom upload field in Woocommerce 3
I am trying to add a file upload along with radio inputs in a custom woocommerce page; where all the products are showing in a list view. The Custom Page CODE: For variations to show in list view as different items/products in funtions.php I am able to add the radio values to cart & order but not able to …
Only allow to purchase one Item In Woocommerce 3
Is there anyway to prevent more than one item for purchase in WooCommerce, or prevent more than one item added to the cart? I have different products but I want to allow only one item per checkout. I tried to search for solution but those existing solutions are not working properly, let’s say when user …
Woocommerce rating not showing in new custom theme
I am working on to new custom theme. I have installed woocommerce plugin. I have import product from xml files. I had tried to test rating functionality. Its working on wordpress default theme twentytwelve, twentysixteen. etc. But when I switched to my custom theme. comment section not showing rating. Take a …
Change wc_empty_cart_message function in WooCommerce 3.1
I’ve been trying to change my layout for the empty-cart message. I’ve removed the action, and try to replace it. I’d like to change the htm structure output from: to: My actual code (in functions.php file of my theme): But this code doesn’t work. Does anyone has a suggestions on how to…
Remove “Choose an option” from variable product dropdowns in Woocommerce 3
I would like to remove from the dropdown of variations in WooCommerce product page following “option”: I found plenty of, apparently not working codes which should do the job. Probably outdated to the latest WooCommerce version. What I tried and is partially working: This is only working when I se…
Add an additional cost to flat rate shipping each 3 items in Woocommerce
I’m running a woocommerce shop and using a Flat Rate shipping $15. I have written a formula to add $1.25 for each additional item. 13.50 + ( 1.25 * [qty]) Sipping “flat rate settings | $1.25 for …