Jump to content

Input value on product page


koening

Recommended Posts

Hi!

I am wondering how Can I attach my own value to cart? or to backoffice? User upload link and I want to read this link in backoffice. I do not want to use prebuilded text fields in backoffice in product customization.

Link to comment
Share on other sites

you can create new fields in ps_cart table and ps_orders table in database

 

you also need to add fields in following file

 

/classes/order/Order.php

/classes/order/cart.php

 
Then you can use them at your PHP code.
 
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...