The WC hook element is integrated in the email that allows you to insert custom code at points wherever the hook is run.
A. Content
- Select hook: You can choose one of positions to display custom code wherever the hook is run:
- woocommerce_email_before_order_table
- woocommerce_email_after_order_table
- woocommerce_email_order_details
- woocommerce_email_order_meta
B. Style
- Heading: Style the overall table layout by setting the font size, line height, and padding to create consistent spacing and improve readability.
- Table: Style the overall table layout by setting the font size, line height, and padding to create consistent spacing and improve readability.
- Table head: Design the header row of the table by customizing the text color, background color, border color, border style (e.g., solid, dashed), and border width
- Table body: Adjust the table body appearance by setting the text color, background color, border color, border style, and border width
- Class & id: Specify a class and/or ID for the component. Each component can have only one ID, but you can assign multiple classes, just separate them with spaces