Jump to content

Product attributes inside new_order mail not showing up completely


samihalawa

Recommended Posts

Hello everyone.

So I have the following issue: in order to have a more easy shop with clear product info, my product attributes are quite long (it is not just "Choose color": red | white" but "Choose the color that will be used by manufacturer: red | white" )

I have 2-3 attributes for each product and all of them are quite long.

 

So the problem is

When I get my new_order email form "mailalerts" module,  product description inside items table in the email (in bold) does not show up completely (because it is so long), so I have not way to know the last attribute costumer chose for each product.

For example, I get

 

Congratulations. You have a new order:

"Man stylised shoes -  Choose the color that will be used by manufacturer: red , Choose the material that will be used for details: yellow , show the type of shap "

 

I have been trying to edit code inside "mailalerts" module, and I found out that inside new_order.html each product info (price, name, description, etc) is stored in {items}

So I opened mailalerts.php in "mainalerts" module main folder, and I found

'{items}' => $items_table,

 

But I do not know how to continue. I need all characters of product attributes to show up. Otherwise I have not way to know what attributes client has chosen.

 

What can I do?

post-819353-0-54753600-1444460006_thumb.jpg

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...