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
 VP-ASP 6.00 Questions
 Retail Price in Template
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Warren
Starting Member

27 Posts

Posted - July 06 2004 :  10:14:56  Show Profile  Reply with Quote
Hi
Can anyone tell me how to add the retail price and the difference (similar to Hakkatil's "You save this much" code ) to a product template in such a way that if there is no retail price for a product then it does not show on the page. I am running the deluxe version of VPASP 5.

Thanks in advance for your time

Warren

lynch
VP-ASP New User

USA
74 Posts

Posted - July 07 2004 :  08:12:16  Show Profile  Reply with Quote
quote:

Can anyone tell me how to add the retail price and the difference (similar to Hakkatil's "You save this much" code ) to a product template in such a way that if there is no retail price for a product then it does not show on the page. I am running the deluxe version of VPASP 5.



Here's how I'm doing it on my store...

$ <p class="caption">Retail Price: [formatcurrency retailprice]</p>
$ <p class="caption">Save [formatsaving cprice]!</p>
<p class="price">Our Price: [formatcurrency cprice]</p>

The dollar sign at the beginning of the line is a signal to VP-ASP to show that line only if the expression in the brackets is present. If you have no "retail price" for an item, the "formatsaving cprice" call fails, and the savings amount won't show.


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