Jump to content

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!

Link to comment
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'].', ';

Link to comment
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.

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...