Welcome, Guest ( Customer Panel | Login )




 All Forums
 VPCart Forum
 General help me questions
 Show Retail Price in Shopexd.asp
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

vaheh
VP-CART New User

USA
115 Posts

Posted - May 24 2013 :  20:05:12  Show Profile  Visit vaheh's Homepage  Reply with Quote
Hi,

Please help me with the following question.

At Shopexd.asp

If retailprice is different than cprice then show retailprice and Cprice but if both are the same then do not display retailprice.

I can write the code to do it but my problem is I can''t find out where do I have to put the code in ASP page.

If you type [formatcurrency retailprice] in tmp_products.htm it will show retailprice.

Does any one know where is that function "retailprice" located so I can edit it?

Thanks,
Vaheh

carfin
VP-CART Expert

United Kingdom
948 Posts

Posted - May 27 2013 :  03:40:29  Show Profile  Reply with Quote
Hi Vaheh,

I think what you''re looking for is in the file shopproductformat.asp
Find
sub FormatPrice
and then you can alter the code at
if not isnull(objrs("retailprice")) then
Regards,

Carrol
www.deanston-electrical.co.uk
Go to Top of Page

vaheh
VP-CART New User

USA
115 Posts

Posted - May 28 2013 :  12:04:29  Show Profile  Visit vaheh's Homepage  Reply with Quote
Hi Carrol,

Thank you for your response.
I have tried that but looks like it has no effect on shopexd.asp page.

Thanks again,
Vaheh
Go to Top of Page

diegomilito
VP-CART Expert

Argentina
779 Posts

Posted - June 15 2013 :  04:31:19  Show Profile  Reply with Quote
vaheh, [formatcurrency retailprice] the retailprice there is the fieldname.
my suggestion to you, rather that use [formatcurrency retailprice], you create your own custom coding call it [DISPLAYCUSTOMPRICE] and put the DISPLAYCUSTOMPRICE on shopfileio.asp. of course you need to add more code there in shopfileio.asp

Diego..
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