X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Market Price vs Our Price labels on category pages. (https://forum.x-cart.com/showthread.php?t=43698)

sparrowdog 11-15-2008 06:13 PM

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

JWait 11-16-2008 06:51 AM

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

sparrowdog 11-16-2008 11:51 AM

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.

gb2world 11-16-2008 01:03 PM

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}


All times are GMT -8. The time now is 02:15 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.