Print Page | Close Window

Show List Price in pcShowProductH.asp

Printed From: ProductCart E-Commerce Solutions
Category: ProductCart
Forum Name: Customizing ProductCart
Forum Description: Exchange messages with other users that are customizing ProductCart.
URL: https://forum.productcart.com/forum_posts.asp?TID=920
Printed Date: 21-April-2025 at 5:09am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Show List Price in pcShowProductH.asp
Posted By: Jackalope
Subject: Show List Price in pcShowProductH.asp
Date Posted: 26-June-2007 at 2:56pm

I'm trying to add in the list price (with strikethrough) to the pcShowProductH.asp file. I know I need to insert some code between:

  <% if (pPrice>0) and (pcv_intHideBTOPrice<>"1") then %>
   <p class="pcShowProductPrice">
   <%response.write dictLanguage.Item(Session("language")&"_prdD1_1") & " " & scCursign & money(pPrice)%>
   <!-- Load quantity discount icon -->
   <!--#Include File="pcShowQtyDiscIcon.asp" -->
   </p>

and...

   <%if (pListPrice-pPrice)>0 AND plistHidden<0 AND session("customerType")<>1 then %>
    <p class="pcShowProductSavings">
    <% response.write dictLanguage.Item(Session("language")&"_prdD1_2") & scCursign & money(pListPrice-pPrice)%>
    </p>
   <% end if

If anyone knows of a way to insert the list price between the price and savings, please help. Thanks.




Replies:
Posted By: Jackalope
Date Posted: 26-June-2007 at 3:06pm

I thought I could just add the code below, but it only gave a "HTTP 500 Internal Server Error" message.

Here's the code I thought I could add:

             <%if (pListPrice)>0 AND plistHidden<0 AND session("customerType")<>1 then %>
    <p class="pcShowProductListPrice">
    <% response.write dictLanguage.Item(Session("language")&"_prdD1_2") & scCursign & money(pListPrice)%>
    </p>
   <% end if




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net