Jump to content

Help to show new field in cart


Recommended Posts

Hello friends,

 

I would like someone to help solve this problem.

 

I successfully created a new field in the table "ps_product" but I would like to display in your shopping cart this data differently, for example:

 

product 1, custom_field = 10

Product 2, custom_field = 30

Product 3 custom_field = 12

 

I would like to show the highest value for the field "custom_field" among all stand products. In this example above I would like to show "30", corresponding to custom_field product 2.

 

The information of each existing product in the cart, I can show in each of them what their custom_field, but also to be shown somewhere in the buying process which is the highest value of custom_field among all chosen products in the cart.

 

Can anyone give me a light?

 

Wait, thank you.

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