Jump to content

Collapse items in cart


Kami Solutions

Recommended Posts

Hi everybody,

 

Everytime we add items in prestashop, for example:

 

Item 1 - Color 1

Item 1 - Color 2

Item 1 - Color 3

 

It shows in the cart and in the order (back-office) 3 rows. What i want to make is If the item is the same but the color (combination) is different print a single row like:

 

Item 1 - Color1,Color2,Color3

 

Could someone help me please? I don't know where to look or begin...

 

Thanks, Centrobolsos

Link to comment
Share on other sites

Do such thing would be difficult. From the point of view of PS those three items are physically different with different prices, stock, reference..

Yeah, but it would be very easy if we add a sentence like :

while ($item1 == $item2)

print line 1 (combination of item 1)+ "," + line 2 (combination of item 2)

 

I just need to see where to find the files and edit

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