Welcome, Guest ( Customer Panel | Login )




 All Forums
 VPCart Forum
 General help me questions
 Tracking down a particular admin order template
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

everythingoz
Starting Member

1 Posts

Posted - July 11 2014 :  19:48:55  Show Profile  Reply with Quote
Hi! I''m using an older version of VP-ASP and most of my time is spent searching for templates to make custom changes.

I''m looking for a very simple solution to an easy question.

I need to find the template that controls the View Order details page in the admin section. Very easy, but not so...

I need to add a manual tracking link that takes the total cost of the order, and I cannot find the variable or layout template anywhere... after looking for hours.

Here is a screenshot of what I''m looking for here.. How the value $400.47 is generated:

http://gashe.com/images/support/vpasp-totalprice.png

Any ideas? Gracious thanks

diegomilito
VP-CART Expert

Argentina
779 Posts

Posted - July 22 2014 :  22:28:22  Show Profile  Reply with Quote
i check should be inside file controlling this - shopformatorder.asp and search under this code :
Sub AddOtherItems (isubtotal, dualsubtotal)
If hideprice <> false then exit sub
Dim total
total=isubtotal
ForDualtotal=dualsubtotal
FormatProductTotal total
FormatShipping total
FormatHandling total
FormatTax total
FormatDiscount total
FormatCouponDiscount total
FormatGiftCertificate total
FormatTotal total
end sub

and maybe u want to add new tracking link below TOTAL, i can recommended you doing this :

Sub AddOtherItems (isubtotal, dualsubtotal)
If hideprice <> false then exit sub
Dim total
total=isubtotal
ForDualtotal=dualsubtotal
FormatProductTotal total
FormatShipping total
FormatHandling total
FormatTax total
FormatDiscount total
FormatCouponDiscount total
FormatGiftCertificate total
FormatTotal total
%>
<table width="100%"><tr><td align="right"><a href="aaaaaa.asp">Tracking</a></td></tr></table>
<%
end sub

try and see my trick code works or not ?
diego

Go to Top of Page

carfin
VP-CART Expert

United Kingdom
948 Posts

Posted - July 23 2014 :  04:00:30  Show Profile  Reply with Quote
Hi everythingoz,

the admin order display is not controlled by a template, but is generated within a table created in shopa_formatorder.asp (in v6.5)

Regards,
Carrol
www.deanston-electrical.co.uk
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000
0 Item(s)
$0.00