Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Market Price vs Our Price labels on category pages.

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 11-15-2008, 06:13 PM
 
sparrowdog sparrowdog is offline
 

eXpert
  
Join Date: Jan 2007
Posts: 244
 

Default Market Price vs Our Price labels on category pages.

Check out http://www.getoutside.com.au/home.php?cat=2

When a product is on sales, this page appears exactly how I want it to. The problem is, when a product is not on sale, I don't want the red text and OUR PRICE wording, I want it in black and to say RETAIL PRICE.

I have narrowed this down to the template customer/main/product_t.tpl and have even isolated the snippet of code where all this gets called from. (Lines 50-57).

The trouble is, the stand alone price when the item is full price is called from the same snippet of code that the sale price is called for (on line 55).

So when I change one, it changes both.

How can I get the full priced items to say Retail Price: and the same black colour as the .MarketPrice css that the current Retail Price on a sale item is called for?

If necessary, I can mock it up in Photoshop if I haven't explained myself very well.

Version 4.1.11
__________________
Version 4.1.6 to 4.1.11
Reply With Quote
  #2  
Old 11-16-2008, 06:51 AM
  JWait's Avatar 
JWait JWait is offline
 

X-Man
  
Join Date: Nov 2005
Location: California
Posts: 2,440
 

Default Re: Market Price vs Our Price labels on category pages.

I'm just throwing my two cents in here, but what you are asking is not an easy task, and may not be the way to go anyway,

What you seem to be asking is that you want the pricing to "reverse" somehow. I don't really understand why. "Our Price" is the price the customer will pay, regardless of what "Retail Price" is. Why do you want "Retail Price" to be displayed at all (unless "Our Price" is less)? Just as a casual observer, this would lead me to think that I can find the item somewhere else (your competitor?) for less than "Retail Price".

Also, studies have shown that the color red might be the wrong color to use for a regular price.
See
http://www.v7n.com/colors-for-marketing.php
http://www.precisionintermedia.com/color.html
__________________
Two Separate X-Cart Stores
Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux
Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series.
Integrated with Stone Edge Order Manager + POS

Version 4.1.12 Gold (fresh install) - X-AOM - Linux
Mods - XCSEO free
Reply With Quote
  #3  
Old 11-16-2008, 11:51 AM
 
sparrowdog sparrowdog is offline
 

eXpert
  
Join Date: Jan 2007
Posts: 244
 

Default Re: Market Price vs Our Price labels on category pages.

It's not my choice, I'm a web developer and the client wants the regular priced items to say RETAIL PRICE in black. The only red pricing on the page is to be the sale prices, otherwise the colour loses impact on the page.

With that regard I actually agree with the client. I don't particularly agree with the words RETAIL PRICE, I actually tried to talk him out of it.

My own choice would be no words next to full price items, and they display in black (or blue). The sale prices would be in RED and say OUR PRICE.

I think I might need to pay x-cart for this one.
__________________
Version 4.1.6 to 4.1.11
Reply With Quote
  #4  
Old 11-16-2008, 01:03 PM
  gb2world's Avatar 
gb2world gb2world is offline
 

X-Wizard
  
Join Date: May 2006
Location: Austin, TX
Posts: 1,970
 

Default Re: Market Price vs Our Price labels on category pages.

Can't you just use the $discount variable?

{if $discount gt 0}
<span class="one_style">Our Price</span>
{else}
<span class="another_style">Retail Price</span>
{/if}
__________________
X-CART (4.1.9,12/4.2.2-3/4.3.1-2/4.4.1-5)-Gold
(CDSEO, Altered-Cart On Sale, BCSE Preorder Backorder, QuickOrder, X-Payments, BCSE DPM Module)
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 07:20 PM.

   

 
X-Cart forums © 2001-2020