Rysio Posted March 26, 2010 Share Posted March 26, 2010 Hi,I try to add a field in the table with addresses which appers when you click 'check out' - for example I want the phone to appear after the city.So, I modified the order-address.tpl in my template folder - I added one line after city:I also modified the order-detail.tpl and addes one line after city, like this:{$address_invoice->city|escape:'htmlall':'UTF-8'}{$address_invoice->phone|escape:'htmlall':'UTF-8'}and... it doesn't show the phone numer.In fact the line like: is sent to the browser, but without the data.What else should I modifiy to see the phone number in the check-out table?regards,Richard Link to comment Share on other sites More sharing options...
Ciscowrig Posted March 26, 2010 Share Posted March 26, 2010 Adding fields is going to be difficult without programming knowledge. You'll have to add it in multiple area's plus the database.Are you truly "Adding" a field or are you just switching them around?If you're switching them around you should have issues, just cut the line and move it. I did this with all of ours as we're in the US and people are used to entering their info in a different order. Link to comment Share on other sites More sharing options...
Rysio Posted March 26, 2010 Author Share Posted March 26, 2010 I don't really want to add additional fields into database.I just want to show additional info in the checkout view, which already exist in the database, but which are not shown in this view - like phone number, mobile phone, etc... Link to comment Share on other sites More sharing options...
Ciscowrig Posted March 29, 2010 Share Posted March 29, 2010 Make sure you use the same includes that are on the addresses page. You can't call info that the page doesn't have.If you look at the addresses page and make sure most of the same includes and call data is at the beginning you should be able to get the data to call up when you start putting it in the html type area. Link to comment Share on other sites More sharing options...
enigma32 Posted May 20, 2010 Share Posted May 20, 2010 I'm not using the default checkout so I'm not sure anymore..But naturally, the LI itself contains no data, its there for identification by the Javascript file to "inject" the data./themes/yourthemedir/js/order-address.jsgood luck, that js file is the very reason i modified the whole checkout Link to comment Share on other sites More sharing options...
Recommended Posts