Print Page | Close Window

Displaying both retail and wholesale prices

Printed From: ProductCart E-Commerce Solutions
Category: ProductCart
Forum Name: Using ProductCart
Forum Description: Running your store with ProductCart
URL: https://forum.productcart.com/forum_posts.asp?TID=3311
Printed Date: 01-March-2025 at 1:32am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Displaying both retail and wholesale prices
Posted By: sue.powers
Subject: Displaying both retail and wholesale prices
Date Posted: 27-December-2009 at 7:01pm
Is there a way to show both prices whether anyone is logged in or not?



Replies:
Posted By: Hamish
Date Posted: 27-December-2009 at 7:21pm
Hi Sue,
      Not by default, but it's possible to do so by customizing the code. However, I'm trying to work out the scenario where this would be desirable. The only one I can imagine is where you will only sell at wholesale prices and wish to show customers how much they saved over retail prices, in which case use "Online Price", "List Price" and check "Show Savings".
Otherwise, showing your wholesale price to those who cannot obtain them is a bad idea as if people see a lower price than the one available to them they will feel put out and go and shop elsewhere. 
I just did this myself over a "special offer" I was offered on some software where I was left feeling ripped off and shopped elsewhere. 


-------------
Editing ProductCart Code?

See http://wiki.earlyimpact.com/developers/editcode" rel="nofollow - WIKI Guidelines for Editing ProductCart's ASP Source Code



Posted By: sue.powers
Date Posted: 27-December-2009 at 9:44pm
Actually, its the scenario that I need for my system.  We have member prices (wholesale) and non member prices (retail).  I need both to be visible so that the members know how much it is without logging in and non members need to see the retail price and the wholesale price that might encourage them to become members in order to save. 
 
Is it a simple code customization? 


Posted By: sue.powers
Date Posted: 04-January-2010 at 8:00am
Bump


Posted By: ProductCart
Date Posted: 04-January-2010 at 12:56pm
If you need this behavior across the board, then there are a few files to edit. In all cases, you will need to edit the portion of the code that looks to see if you are a wholesale customer and/or belong to a special Customer Pricing Category. You could edit it to simply show the wholesale price, removing all conditional statements.

Since there are a few files to edit, we recommend working with a developer to accomplish the code change.

Here is an example. In "pc/pcShowProductH.asp", locate:


          <% 'if customer category type logged in - show pricing
          if session("customerCategory")<>0 and (dblpcCC_Price>"0") and (pcv_intHideBTOPrice<>"1") then %>
               <p class="pcShowProductPriceW">
                    <% response.write session("customerCategoryDesc")& " " & scCursign & money(dblpcCC_Price)%>
               </p>
          <% else %>
               <% if (dblpcCC_Price>"0") and (session("customerType")="1") and (pcv_intHideBTOPrice<>"1") then %>
                    <p class="pcShowProductPriceW">
                         <% response.write dictLanguage.Item(Session("language")&"_prdD1_4")& " " & scCursign & money(dblpcCC_Price)%>
                    </p>
               <% end if
          end if %>

... and replace with (all conditional statements are removed, wholesale price always shown, pricing category disregarded):

<p class="pcShowProductPriceW">
<% response.write dictLanguage.Item(Session("language")&"_prdD1_4")& " " & scCursign & money(dblpcCC_Price)%>
</p>


-------------
The ProductCart Team

Home of ProductCart http://www.productcart.com" rel="nofollow - shopping cart software



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