Jump to content

CC3: Request


Recommended Posts

Please change line 146 in admin/products/index.php


$record["productCode"] = $db->mySQLSafe(strtoupper(substr($_POST['name'],0,3)).$randChars.$_POST['cat_id']);


$record["productCode"] = $db->mySQLSafe(str_replace(" ", "", strtoupper(substr($_POST['name'],0,3)).$randChars.$_POST['cat_id']));

This is so that spaces can not be stored in the product code.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...