Editing WooCommerce Emails - php

In the new orders email from Woocommerce it displays the products and the meta data in a bullet point list below said product.
I have tract down the email_order_items.php file to find this bit of code to render the bullet point list.
I have tried looking for file that contains the code for both do_actions in the image above but haven't had any luck. I did think it was class-wc-order-item-meta.php but after a quick edit nothing changes.
Does anyone know where it is located ?

Related

Is there a way to change location of a block in Wordpress?

I'm currently working on a product page in Wordpress.
The current theme I'm using allows my product image to be sticky throughout the webpage browsing.
However, the "Add to cart" and a "Price table" is located all the way at the bottom of the page.
I'm looking for a way to change that block over to underneath my sticky product image, so people could constantly see the price changing as they're choosing their options in the page.
I'm currently using Metro as a theme as YITH WooCommerce Add-ons & Extra Add-ons to display my product options.
Appreciate all the help I could get!
Image at the bottom of the product page
I've tried to look for the specific block on the Parent Theme of Metro and I've came to a conclusion:
I don't understand PHP enough to identify the exact block that's calling the price table & add-to-cart button.
Even if I thought I found something that could be it, I tinkered with the codes a bit, but there were absolutely no changes to the site, which led to my assumption that I'm editing the wrong one due to the different layouts the theme has.

Remove "(incl. tax)" from Woocommerce tables and emails

I want to remove the "(incl. tax)" fromm Woocommerce cart and checkout tables as well as emails. I still need to keep the "(incl. ...$ tax)" that shows the actual tax amount and is displayed in the totals row. If I simply use
.tax_label{
display:none;
}
it is still displaye in emails and I'd prefer a cleaner way.
To edit Woocommerce emails, you have to edit the email template files:
https://woocommerce.com/posts/how-to-customize-emails-in-woocommerce/
Not hard to do, just remember to copy your customizations into the current theme, and remember to copy them and test them again if you change themes.
EDIT:
To edit the template files for woocommerce, the files are
/wp-content/plugins/woocommerce/templates/cart/cart-totals.php
/wp-content/plugins/woocommerce/templates/checkout/review-order.php
Copy them to your theme as recommended in the link above. I don't really remember exactly what line to edit, but a little experimenting won't hurt. Just play around a bit until you get the results you are after.

Woocommerce product visibility issue

I'm having an issue with woocommerce I'm not sure how to fix.
I imported a CSV of 800+ products into a test site, when I go into Products > All Products, the number next to all reads (890) but Published (393).
I've tried looking around various articles and can't seem to find how I view these unpublished products and can't see them anywhere in the site.
I've pasted a screenshot of what it's showing, any help is appreciated.
Did you provide any IDs for the products while importing the products? We should not provide the IDs for the products.
WordPress assigns Post IDs to everything that is a Post. So, Posts, Pages, Products, Images, Attachments, etc all get their own ID. It starts at 1, and then goes up. If you see a gap it might mean that you uploaded images in between, or made new blog posts. OR imported 100 products, deleted 100 products, etc.
Basically, it’s perfectly normal to have IDs that are random. IDs are not used in anything except for the database to find what that is. You do not want to assign IDs on import either. Because you don’t know what IDs are already taken and so you might have a problem that way. Best to leave IDs blank when making new products.

Woocommerce product variants on product detail page

i'm not the experienced developer like most of you that's why i'm trying to get a little bit help from here. I'm managing a small online store from my wife and got a problem with product variants (sizes) because they're not showing up on the product detail page (https://lappya.de/produkt/der-klassiker-handtasche-mit-gesteppte-muster). I think the problem is somewhere in the template because i have the two files varations.php & variation-add-to-cart-button.php in the woocommerce folder.
My question:
1. Do you perhaps have any idea where the product variants are defined in the template?
2. Do you have any idea what code needs to be integrated to display the variants?
Thank you
Here is an explanation for your problem:
Step 1: please follow the this step http://prntscr.com/g92g2s by selecting product as variable.
Step 2: Select variation for the attribute http://prntscr.com/g92hyd
If you already did this please let me know the name of template you are using currently so I will provide more information about it.
Thanks.

Wordpress Woocommerce price on list not the same as pricen shown on edit page

I have a problem. I'm using Woocommerce plugin and I never edited any default file and there's something wrong with the prices shown. I upload the product via the official API with no problems. If I load the products via browser, it shows the wrong prices.
But if I open the product to edit it, it shows the right price.
I don't understand why this is happening as I've never bothered touching any default core files. I'd appreciate it so much if anybody could help me solve this. Thank you very much.
Did you try putting the price like: 15655.00?
In Woocommerce Settings you can set the currency options where the separators are already handled:

Categories