I've looked at your code and I notice you're trying to add product details including images to the quote messages. While your code structure is generally good, there are a couple of issues I can see:
1. The filter hook parameters seem incorrect - `$items` should be passed to the display function but you're passing `$user_id` instead 2. The HTML formatting needs some adjustment to display properly in emails
I tried to improve the code, please try this version:
Attached files: Screenshot.png
Hi Hung,
I've looked at your code and I notice you're trying to add product details including images to the quote messages. While your code structure is generally good, there are a couple of issues I can see:
1. The filter hook parameters seem incorrect - `$items` should be passed to the display function but you're passing `$user_id` instead
2. The HTML formatting needs some adjustment to display properly in emails
I tried to improve the code, please try this version:
Kind regards,
Stefan