blixten19 LiteCart Fan จาก Sweden เป็นสมาชิกตั้งแต่ พ.ค. 2022 blixten19 21 พ.ค. 2022 11:31 Anyone know if it is possible to get in so that you can enter a customer number for each customer that the customer sees when they are logged in?
tim Founder จาก Sweden เป็นสมาชิกตั้งแต่ พ.ค. 2013 tim 21 พ.ค. 2022 14:37 Why not just output their ID? echo customer::$data['id'];
blixten19 LiteCart Fan จาก Sweden เป็นสมาชิกตั้งแต่ พ.ค. 2022 blixten19 21 พ.ค. 2022 17:46 because I have a customer number series I want to use. I want to be able to write them so the customer sees them when the customer logs in to their customer account
tim Founder จาก Sweden เป็นสมาชิกตั้งแต่ พ.ค. 2013 tim 21 พ.ค. 2022 21:05 Use the field 'code' for custom references.
blixten19 LiteCart Fan จาก Sweden เป็นสมาชิกตั้งแต่ พ.ค. 2022 blixten19 21 พ.ค. 2022 22:00 can i write customer numbers in code field?
blixten19 LiteCart Fan จาก Sweden เป็นสมาชิกตั้งแต่ พ.ค. 2022 blixten19 21 พ.ค. 2022 22:04 That not working
tim Founder จาก Sweden เป็นสมาชิกตั้งแต่ พ.ค. 2013 tim 22 พ.ค. 2022 00:10 What do you mean? You just output customer::$data['code']
blixten19 LiteCart Fan จาก Sweden เป็นสมาชิกตั้งแต่ พ.ค. 2022 blixten19 22 พ.ค. 2022 10:17 want so the customer can see this on their account
blixten19 LiteCart Fan จาก Sweden เป็นสมาชิกตั้งแต่ พ.ค. 2022 blixten19 22 พ.ค. 2022 19:49 I have entered customer in the code box but the customer does not see the numbers you write in that box. I want the customer to see them when the customer logs in to their customer account
tim Founder จาก Sweden เป็นสมาชิกตั้งแต่ พ.ค. 2013 tim 22 พ.ค. 2022 19:59 So you didn't try <?php echo customer::$data['code']; ?> in the view file? How did you think the information was going to be output if you don't add the code?
blixten19 LiteCart Fan จาก Sweden เป็นสมาชิกตั้งแต่ พ.ค. 2022 blixten19 22 พ.ค. 2022 20:01 where should I put it in the file?
tim Founder จาก Sweden เป็นสมาชิกตั้งแต่ พ.ค. 2013 tim 22 พ.ค. 2022 20:01 Anywhere you want it https://github.com/litecart/litecart/blob/64e60406e32cfd7f6898ef803637bf6219b94631/public_html/includes/templates/default.catalog/pages/edit_account.inc.php
blixten19 LiteCart Fan จาก Sweden เป็นสมาชิกตั้งแต่ พ.ค. 2022 blixten19 22 พ.ค. 2022 20:03 ok so I can paste it anywhere in that file?
blixten19 LiteCart Fan จาก Sweden เป็นสมาชิกตั้งแต่ พ.ค. 2022 blixten19 23 พ.ค. 2022 18:41 This not work i have insert that code and this Numbers not see in THE account
dodo Moderator จาก Lithuania เป็นสมาชิกตั้งแต่ มี.ค. 2016 dodo 7 มิ.ย. 2022 12:17 I guess enough is enough. I was looking for something similar. All good. Thanks Tim.
blixten19 LiteCart Fan จาก Sweden เป็นสมาชิกตั้งแต่ พ.ค. 2022 blixten19 30 ก.ค. 2022 10:08 Hello i have fix this now but How do I enter a space between the customer number and the company information
tim Founder จาก Sweden เป็นสมาชิกตั้งแต่ พ.ค. 2013 tim 30 ก.ค. 2022 16:55 Show your code. Maybe do it like this: <label><?php echo language::translate('title_customer_number', 'Customer Number'); ?></label> <div class="form-input" readonly><?php echo customer::$data['id']; ?></div> </div>