babyewok Posted October 19, 2010 Share Posted October 19, 2010 How can I make the customise product form use ajax so that the page does not refresh after clicking save? I am only interested in text fields if that helps. The current method of refreshing the page on clicking save is causing me problems with the colour options reverting to their default. Link to comment Share on other sites More sharing options...
stefanosm Posted August 24, 2011 Share Posted August 24, 2011 Hi, Have you got any solution? I am using 1.4.4.0, but for other versions i am also interested. Thanks! Steve Link to comment Share on other sites More sharing options...
tomerg3 Posted August 25, 2011 Share Posted August 25, 2011 I believe there was some code for that posted on the forum at one point, but I don't think it was converted to PS 1.4.4 It's not a quick code change, which I guess is why it was not posted here by anyone else. You can check out this module http://www.prestashop.com/forums/topic/47363-module-attribute-wizard-pro-create-an-unlimited-number-of-attributes-and-display-as-radio-button-checkbox-dropdown-textbox-teaxtarea-files/ It lets you use attributes as textbox, text area and file upload, no need to hit any save button, and you can also attach a price impact to them. Link to comment Share on other sites More sharing options...
w3bsolutions Posted October 27, 2011 Share Posted October 27, 2011 Tomers Module is great but not exactly what I need. My products have 100+ combinations and besides chossing one, they have to type 2 references into customization fields. In PS 1.4 when clicking the Save button the attributes revert back to the default, and most likely the user will not notice the attributes changed and will go ahead and Add to Cart right after the page reloaded with the customization saved. Is there any possible way the Save Button can be Ajaxed ?? There should be, even though I wrote the Technical Support via the Contact form in PS website, and here is the answer I received: We reviewed the site and it isn’t a bug but rather the functionality of the input fields. In order to save the custom information the page must refresh. A typical work around would be to customize the page with JavaScript so that those fields are saved on refresh or rather the custom fields are sent with the form information when the add to cart button is pressed. I would recommend posting your requirements on the forum and see if someone in the community could assist you with that. Another option would be to contact one of our partners at http://www.prestashop.com/en/certified_agencies/ and see if they would be able to assist you. Sorry I could not be of more assistance. I dont know how to do either of the workarounds mentioned in that email and they won't do it for me either. Anybody has any suggestion? Any help is appreciated. If this cannot be solved, it is a very junky system because I take this as a major bug, MANY orders can be confused and customers can get really annoyed when trying to make an order, specially if you have 500+ products like this, which is my case (a clothing factory with thousands of products). I am willing to pay for the fix, as long as it works properly. Looking forward to a reply. Link to comment Share on other sites More sharing options...
w3bsolutions Posted November 21, 2011 Share Posted November 21, 2011 Well I got it fixed. Exactly how I wanted... got rid of the Save button so what the user types in the text fields is sent directly to the cart when the product is added to the cart. You can check it here Link to comment Share on other sites More sharing options...
eadrian Posted November 22, 2011 Share Posted November 22, 2011 pls share with us, been looking for a solution for this too. thanks Link to comment Share on other sites More sharing options...
Brighteyes Posted January 5, 2013 Share Posted January 5, 2013 Would be great to know how you fixed that fire2. I've been pulling my hair out for days over this. I just want to save a customization using the Ajax Cart and it's not working. Just always keep prompting me to fill in form field that are already filled in. Link to comment Share on other sites More sharing options...
Brighteyes Posted January 5, 2013 Share Posted January 5, 2013 Here's a bit more info on what's happening with my cart. I'm using v1.4.8.3 and trying to add several product customization fields. The problem only effects the form by the way if there's a required field in there. When I fill in these fields on the website and press save when I try to 'add to cart' i'm asked to fill in the required form fields even though they are already filled in and saved. The only way you can get it to work is my refreshing the page once you have saved the form, then add it to the cart. Would be great to know the fix above or if anyone else has managed to get this working.... Link to comment Share on other sites More sharing options...
Recommended Posts