Guest Posted March 28, 2006 Share Posted March 28, 2006 Hi there, Anyone know how I can hide product codes from the customer? they need to go to the shop admin obviously but need to be hidden from browsers. Cheers Quote Link to comment Share on other sites More sharing options...
Guest chantesse Posted April 15, 2006 Share Posted April 15, 2006 I also wanted this as we like to store internal order codes etc in the Cubecart database and not display them. In viewProdd.inc.php I commented out this bit // $view_prod->assign("TXT_PRODCODE", $prodArray[0]['productCode']); but you probably will need to attend to cart.inc.php and orderForm.php in a similar way, and watch out if you added the email order acknowledgement enhancement. Quote Link to comment Share on other sites More sharing options...
convict Posted April 16, 2006 Share Posted April 16, 2006 chantesse is right however cleaner way is to manage templates and remove any assigned so called template variable for product code. Main reason is the upgrade. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.