Hide the customer’s purchase number upon checkout

In wp-e-commerce/transaction_results_functions.php comment these lines out (add // to the front of the lines)
line 205:

$product_list.= "Your Purchase No.: ".$purchase_log['id']."\n\r";

and line 212:

$product_list_html.= "Your Purchase No.: ".$purchase_log['id']."\n\n\r";

that will remove the purchase log id. Although I don’t recommend this as the purchase log id does serve as a unique transaction number.. a better solution would be to login to phpMyAdmin
1. Open up the purchase log table (by default called wp_wpsc_purchase_logs)
2. Click on the Operations tab
3. On the left hand side you will see the auto_increment number (the current purchase log number) change this to a ‘higher’ number i.e 1000
4. click ‘go’

that should make the next transaction purchase log id equal to 1000

best
jeff

Tagged : , ,

Leave a Reply