Jump to content
Sign in to follow this  
Timber

Change attribute display

Recommended Posts

Hi to all,

I am trying to change the way attributes are being shown in the order detail screen (Front- and Back-end).
This is how it shows:

 



PRODUCTNAME - ATTRIBUTE

This is how I want it:

PRODUCTNAME


- ATTRIBUTE

 




I can't seem to find the right file to edit this. Anyone? Thanks in advance!

Share this post


Link to post
Share on other sites

Please help me! I need to finish this...
Or is it really that hard a question? :s

Share this post


Link to post
Share on other sites

Perhaps this is the code you are looking for? In classes/Cart.php at line 270, modify this code to define how the attributes list is displayed:

$attributesList .= $row2['public_group_name'].' : '.$row2['attribute_name'].', ';
$attributesListSmall .= $row2['attribute_name'].', ';

Share this post


Link to post
Share on other sites

No the cart is exactly how I want it. It's in "My account" -> "My orders".

It shows the product and attribute(s) in one line, but I want every attribute to start on a new line.
Like so:



Product


- Attribute 1


- Attribute 2


etc.

Share this post


Link to post
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
Sign in to follow this  

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More