ramin Posted January 28, 2013 Share Posted January 28, 2013 I have Added 2 text box in product page to recive height an width from user for each product. I have used textbox input just like quantity in The buy-block Form. Now I want to save this textboxs in Database and use them in cart page and order page for each cart and product. I added 2 variable in cartcontroller.php like $qty in function preProcess() . Now how can I save them in DB? Link to comment Share on other sites More sharing options...
El Patron Posted January 28, 2013 Share Posted January 28, 2013 did you consider just using custom fields for your product? not sure what ps version but you can add custom fields by editing the product in your back office. It won't check the input values but it carries the values throughout check out and stores in your db. 2 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