| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Need help getting order data to display. | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
![]() I'm having a tough time figuring out how to add tracking for Urchin Web Analyzer. I need the follwing info to show up on the order reciept page:
This is included once for the order: UTM:T|Order#|My site|Total order ammount|tax|shipping cost|City|State|Country This is included for each product: UTM:I|Order#|productcode|product name|category|price|quantity Example: UTM:T|34535|Main Store|143.05|3.05|10.00|San Diego|CA|USA UTM:I|34535|XF-1024|T-Shirt|Shirts|10.00|9 UTM:I|34535|CU-3424|Drink Holder|Accessories|20.00|2 I've looked at order_data.tpl, and tried replicating it, but with no luck. I looked around the forums, but it's very hard finding info this technical. Could any kind soul please give me an idea of how to approach this?
__________________
Alltribes.com Native American Jewelry Pottery, Baskets, Kachinas & More X-cart Gold Version 4.0.17 Live PHP 5.2.6 MySQL 4.1.25 (mt) |
|||||||||
#2
|
|||||||
|
|||||||
![]() The order receipt page....do you mean the invoice?
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||||
|
|||||||||
![]() Yeah, the one that gets shown after checkout. I've never been very good with arrays.
__________________
Alltribes.com Native American Jewelry Pottery, Baskets, Kachinas & More X-cart Gold Version 4.0.17 Live PHP 5.2.6 MySQL 4.1.25 (mt) |
|||||||||
#4
|
|||||||
|
|||||||
![]() That is skin1/mail/html/order_invoice.html which then calls order_data.tpl. You mean to say you have tried and failed to add the correct smarty tags in there?
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#5
|
|||||||||
|
|||||||||
![]() I've figured part of it out. The line for each item is showing up, but it's all on one line. Any ideas on how to get each to display on it's own line?
__________________
Alltribes.com Native American Jewelry Pottery, Baskets, Kachinas & More X-cart Gold Version 4.0.17 Live PHP 5.2.6 MySQL 4.1.25 (mt) |
|||||||||
#6
|
|||||||
|
|||||||
![]() Alltribes,
Either insert a in each iteration of the loop or build it using a table structure and insert a new <tr><tdYour line data</td></tr> during each iteration. |
|||||||
#7
|
|||||||||
|
|||||||||
![]() I was hoping there was a way to do it without html. It's going into a hidden form. Perhaps it will work as it is.
edit: It works now ![]() edit:edit: It displays perfectly, except for one thing: no category data. I suspect this will require some php editing. Unless there is another way to get the category for each product.
__________________
Alltribes.com Native American Jewelry Pottery, Baskets, Kachinas & More X-cart Gold Version 4.0.17 Live PHP 5.2.6 MySQL 4.1.25 (mt) |
|||||||||
![]() |
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|