Custom order/address data on orders-details.php
-
I need to create separate table/area on the order-details.php with order data formated in specific way. (existing content of the order details page does not need to be modified, this should be shown as an addition).
The goal is to create a PDF417 barcode image on order page, so customer can quickly scan and make bank payment.1. How to display customer billing address in this format?
FIRSTNAME SECONDNAME STREETNAME NUMBER POSTALCODE CITY
2. To generate a barcode, I need to show the price as a 15-digit number, without a comma. The price should be aligned on the right, the remaining seats up to 15 must be filled with zero to the left. Examples:
123,55 must be displayed as 000000000012355 1298,99 must be displayed as 000000000129899
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Custom order/address data on orders-details.php’ is closed to new replies.