koening Posted May 25, 2017 Share Posted May 25, 2017 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 More sharing options...
shokinro Posted May 27, 2017 Share Posted May 27, 2017 Not sure what you really want to achieve - why you cannot use Text Type custom field? Link to comment Share on other sites More sharing options...
koening Posted May 29, 2017 Author Share Posted May 29, 2017 I do not want to use it because I must validate link etc. I must create my own field but I don't know how to do it, any tutortial is on google? Link to comment Share on other sites More sharing options...
shokinro Posted May 29, 2017 Share Posted May 29, 2017 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now