cree8tor Posted March 31, 2011 Share Posted March 31, 2011 Hey all, new to Prestashop!Question for you. I have a store that personalizes things. In one of the fields in the store, a customer has a character limit for small items such as a ring for example. I'm having to call lots of customers back because they don't realize they go over the character limit! How can I fix this? Do I change this in phpmyadmin?Thanks! Link to comment Share on other sites More sharing options...
cree8tor Posted April 1, 2011 Author Share Posted April 1, 2011 anyone out there? Link to comment Share on other sites More sharing options...
tomerg3 Posted April 1, 2011 Share Posted April 1, 2011 If you need the same character limit for all fields, you can add it to the textbox in product.tplIf you need a different limit per each customization, then you would have to write some specific code.You can also look into my Attribute Wizard Pro module, it offers many features, one of the is to assign a character limit for textboxes.It actually uses attributes and displays them as a textbox, which allows you to assign a price impact to it, and also not use the "save" button.You can see more at http://www.presto-changeo.com/en/attribute-modules/34-attribute-wizard-pro.html Link to comment Share on other sites More sharing options...
cree8tor Posted April 1, 2011 Author Share Posted April 1, 2011 Hey thanks a bunch for the explanation, I appreciate it. Could you please elaborate a little more about custom coding it? For example, what language of coding, what file would the code go into, etc. Doing this seems like the most effective route, as I think getting a programmer to write a little code would be cheaper than buying the module for $125 that does a lot of other stuff I don't need.Thanks again. Link to comment Share on other sites More sharing options...
tomerg3 Posted April 1, 2011 Share Posted April 1, 2011 Well, honestly, I think it would cost more to do the custom code.Unless there's a simple way to determine if a product needs to have a limit or not, and if that limit is always the same.Otherwise you need to create a backoffice interface to enter the limit specific to each product, and then enforce the limit in the front office. Link to comment Share on other sites More sharing options...
cree8tor Posted April 1, 2011 Author Share Posted April 1, 2011 hmm...ok thanks.I guess I'll buy the module and see how that does. After looking at it, it seems to do what I'm needing. I appreciate it. Link to comment Share on other sites More sharing options...
tomerg3 Posted April 1, 2011 Share Posted April 1, 2011 The module changes the way attributes are handled (to allow for more flexibility).There is a demo for the backend, so you can read the instructions (int he configuration page) and create a test product to see how it works. Link to comment Share on other sites More sharing options...
cree8tor Posted April 1, 2011 Author Share Posted April 1, 2011 ok, great. Just to be sure, would you mind checking out the attached image, just to verify what I'm wanting to limit on the characters. Will it do what I'm wanting as shown in image? Link to comment Share on other sites More sharing options...
tomerg3 Posted April 1, 2011 Share Posted April 1, 2011 It will look like http://www.presto-changeo.com/awp/product.php?id_product=6 (at the bottom) Link to comment Share on other sites More sharing options...
cree8tor Posted April 1, 2011 Author Share Posted April 1, 2011 also, another question if you don't mind.As you can see in the attached image, there is a drop box for how many lines a customer can choose. There is only one field for "wording on charm" next to the red arrow. This is great if a customer only wants one line, but can cause problems when people want 2 or 3 lines.So when a customer selects 2 lines for example, would there be a way to automatically create 2 fields that say "wording on charm?" Then if they change the drop down back to 1 line, it will only show 1 box. If they rechoose 2 lines, another box will drop, etc.Hopefully that makes sense Link to comment Share on other sites More sharing options...
cree8tor Posted April 1, 2011 Author Share Posted April 1, 2011 It will look like http://www.presto-changeo.com/awp/product.php?id_product=6 (at the bottom) awesome...looks exactly what I need. thanks! Link to comment Share on other sites More sharing options...
tomerg3 Posted April 1, 2011 Share Posted April 1, 2011 also, another question if you don't mind.As you can see in the attached image, there is a drop box for how many lines a customer can choose. There is only one field for "wording on charm" next to the red arrow. This is great if a customer only wants one line, but can cause problems when people want 2 or 3 lines.So when a customer selects 2 lines for example, would there be a way to automatically create 2 fields that say "wording on charm?" Then if they change the drop down back to 1 line, it will only show 1 box. If they rechoose 2 lines, another box will drop, etc.Hopefully that makes sense This feature will be added in one of the next releases of the module. Link to comment Share on other sites More sharing options...
cree8tor Posted April 1, 2011 Author Share Posted April 1, 2011 fantastic...how can I get updated when it does? Link to comment Share on other sites More sharing options...
tomerg3 Posted April 1, 2011 Share Posted April 1, 2011 follow the facebook / twitter page, or subscribe to http://www.prestashop.com/forums/viewthread/47363/ 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