Author |
Topic |
|
fraser
Starting Member
Canada
37 Posts |
Posted - January 22 2003 : 14:36:58
|
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-CART Super User
Australia
361 Posts |
|
fraser
Starting Member
Canada
37 Posts |
Posted - January 26 2003 : 05:53:23
|
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,
|
|
|
williamj
VP-CART New User
Canada
77 Posts |
Posted - January 28 2003 : 08:06:48
|
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?
|
|
|
Superal
VP-CART Expert
Canada
542 Posts |
Posted - January 28 2003 : 12:20:31
|
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.
|
|
|
williamj
VP-CART New User
Canada
77 Posts |
Posted - January 29 2003 : 06:38:07
|
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.
|
|
|
Superal
VP-CART Expert
Canada
542 Posts |
Posted - January 30 2003 : 15:02:29
|
Did you implement the changes in shopcartformat.asp that fraser pointed out? This is where the cart is formatted.
|
|
|
|
Topic |
|