Jump to content

Order name


pinci

Recommended Posts

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'].', ';
  • Like 1
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...