5ummer5 Posted December 13, 2010 Share Posted December 13, 2010 Hi,I have setup my shop and have been testing. I have just increased the VAT % ready for Jan when the shop will go live and wanted to change the prices of each product so that the customer does not pay the extra.I can edit the price but when I go to save I get an error message: the field ean13 is invalid Does anyone know how to solve this without changing the prices directly in the database? I did do a search but that came up with no results.Thanks for the help! Link to comment Share on other sites More sharing options...
VNguyen Posted December 15, 2010 Share Posted December 15, 2010 Hi,Make sure field EAN13 contains exactly 13 digits, or leave it empty.Viet Link to comment Share on other sites More sharing options...
tomerg3 Posted December 15, 2010 Share Posted December 15, 2010 It can be any length up to 13 characters, but can only be set to numbers.You can change the validation type for the field in /classes/Product.php 'ean13' => 'isEan13'Change isEan13 to a different validation method (like isCleanHtml) Link to comment Share on other sites More sharing options...
5ummer5 Posted December 16, 2010 Author Share Posted December 16, 2010 Ah ok no wonder, it is a mixture of numbers and letters. I don't know why it let me enter it initially and now if rejecting it. I think I will leave it out, that will be the easiest option as it is not essential at the moment. Thank you for the replies! Link to comment Share on other sites More sharing options...
faDdy Posted March 11, 2013 Share Posted March 11, 2013 Hi, Can anyone please tell me how to display UPC/EAN13 for Product Customization ? i am using prestashop 1.4.8.2 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