VP-ASP :: Shopping Cart Software

Shopping Cart Software Solutions for anywhere in the World

US/Canada(Toll Free): +1 888 587 2278
Europe/UK: +44 (020) 7193 9408
Australia/New Zealand: +61 3 9016 4497

VP-ASP Shopping Cart Customer Forum

Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 VPCart Forum
 Customization
 Dual total w/o Dual Unit Price
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

fraser
Starting Member

Canada
37 Posts

Posted - January 22 2003 :  14:36:58  Show Profile  Reply with Quote
I just figured out how to remove the Dual unit price column. For anyone who would also like to do this delete the following from Shopcartformat.asp:

In Sub CartFormatTitle:
DisplayTitle "10%" , LangDualPrice

In Sub CartFormatProducts:
AddField "10%","right",CartFontDualPrice & FormatNumber...

In Sub CartFormatProductTotal:
CartResponsewrite "<td></td>"

In Sub CartDisplayRow:
CartResponsewrite"<TD></TD>

In Sub CartFormatTotal:
<TD></TD>

Thats it! I am not sure if this is the easiest way...but it seemed to work ok for me.

Cheers,

Fraser

Cam
VP-ASP Super User

Australia
361 Posts

Posted - January 24 2003 :  10:11:27  Show Profile  Visit Cam's Homepage  Reply with Quote
Alternatively you can just go into the online config and go into International and select No for xdualprice.

Cheers,
Cam

*************************************
Cam Flanigan
YourVirtualStore Sales
e-mail: http://www.vpasp.com/sales/shopcustcontact.asp
web: http://www.yourvirtualstore.net

Build you own YourVirtualStore!!!
www.yourvirtualstore.net
*************************************
Go to Top of Page

fraser
Starting Member

Canada
37 Posts

Posted - January 26 2003 :  05:53:23  Show Profile  Reply with Quote
Hi Cam,

That would definitely do it, however, it would also get rid of your 'dual price TOTAL' and ruin any dual price usage on your product pages. In my case I just wanted to reduce unecessary clutter in my shopping cart. The 'dual UNIT price' column was separating my Canadian dollar Total from my American dollar Total and my test subjects were uncertain what their real total was.

Cheers,

Go to Top of Page

williamj
VP-ASP New User

Canada
77 Posts

Posted - January 28 2003 :  08:06:48  Show Profile  Reply with Quote
I think it would look better and be less confusing if the dual price was shown in brackets along side the default price.
An example of this would be Total Price: $10.00(US$7.00)
This would eliminate the need for an extra cell for the dual price since it would be in the same cell as the default price.
Has anyone done this?

Go to Top of Page

Superal
VP-ASP Expert

Canada
542 Posts

Posted - January 28 2003 :  12:20:31  Show Profile  Reply with Quote
In shopproductformat.asp in Sub FormatPrice
add to top of subroutine
dim strprice2

move
If getconfig("xDualPrice")="Yes" then
FormatDualPrice
end if

to after
strPrice=shopformatcurrency(curCprice,decimalpoint)
change
response.write ProdColumnPrice & ProdColumnFont & strPrice
to
response.write ProdColumnPrice & ProdColumnFont & strPrice & strprice2

In Sub FormatDualPrice change to
Sub FormatDualPrice
ConvertCurrency curCprice, strPrice2
strPrice2=FormatNumber(strprice2,2)
'response.write ProdColumnPrice & ProdColumnFont & strPrice
'Response.write "</font></td>"
strprice2="(" & getsess("language") & strprice2 & ")"
end sub


And do the part in the first part. Starting to sound like lawyer talk.

Go to Top of Page

williamj
VP-ASP New User

Canada
77 Posts

Posted - January 29 2003 :  06:38:07  Show Profile  Reply with Quote
Thanks Superal. Do you know how to make this work in the shopping cart display? The dual prices still show up in two seperate columns.


Go to Top of Page

Superal
VP-ASP Expert

Canada
542 Posts

Posted - January 30 2003 :  15:02:29  Show Profile  Reply with Quote
Did you implement the changes in shopcartformat.asp that fraser pointed out? This is where the cart is formatted.

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000