pinci Posted October 19, 2016 Share Posted October 19, 2016 (edited) Hi please help me guys how can i change in product name in order for example " Attribute : 38 " to "Attribute - 38" look at screenshot . Thx. Edited October 19, 2016 by pinci (see edit history) Link to comment Share on other sites More sharing options...
rocky Posted October 20, 2016 Share Posted October 20, 2016 The problem is that it's hardcoded in the database for existing orders, so any code changes will only affect new orders. You'll need to edit product_name in the ps_order_detail table of your database using phpMyAdmin to update existing orders. To change future orders, you'll need to override classes/Cart.php and change line 784 from: self::$_attributesLists[$row['id_product_attribute'].'-'.$id_lang]['attributes'] .= $row['public_group_name'].' : '.$row['attribute_name'].', '; to: self::$_attributesLists[$row['id_product_attribute'].'-'.$id_lang]['attributes'] .= $row['public_group_name'].' - '.$row['attribute_name'].', '; 1 Link to comment Share on other sites More sharing options...
pinci Posted October 20, 2016 Author Share Posted October 20, 2016 thank you very much , you are the best 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