mhaken Posted January 25, 2016 Share Posted January 25, 2016 Hello, i created own inputs field in product.tpl and I don't know how i can POST inputs. I disable AJAX add to cart but i can`t post data with PHP. Which controller/classes i must use for own function for process php... I must use own inputs fields! I try create custom fields on product page. Please help me Sorry for my english Link to comment Share on other sites More sharing options...
musicmaster Posted January 26, 2016 Share Posted January 26, 2016 Did you have a look at controllers\front\cartcontroller.php? Link to comment Share on other sites More sharing options...
mhaken Posted January 26, 2016 Author Share Posted January 26, 2016 Hello, i solve that. I redirect my form to my script (on Product.php) and after do php script i redirect all to cart (shop/index.php?controller=cart&add=&id_product=".$product_id) Thanks 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