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

List Price not showing?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 12-03-2007, 06:08 AM
 
zenkisser zenkisser is offline
 

Member
  
Join Date: Nov 2007
Posts: 27
 

Default List Price not showing?

Hi everyone!

We have a very hardcore modified cart and the initial coder instead of uncommneting out certain lines, took them out of the templates.

I am trying for the holidays to have a List price show and then the holiday price. I went to a clients system and it works fine, so it is missing in my templates.

Can some one please tell me what templates and the missing code might be?

It seems a line or smarty variable is not present so it won't show.

Thanks.
__________________
X-Cart version 4.0.19
3.2 QUAD Core - RHEL 4.0 6 GB RAM
Reply With Quote
  #2  
Old 12-03-2007, 06:11 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: List Price not showing?

Do you mean the category pages or the product detail page? And are you using a multi-column layout for the category page or a single column layout?
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 12-03-2007, 06:15 AM
 
zenkisser zenkisser is offline
 

Member
  
Join Date: Nov 2007
Posts: 27
 

Default Re: List Price not showing?

Hi Padriac-

Thank you for your lightning fast reply

Is is not showing in either. For the layout question I unfornataley don't know or remember. I think you might know my URL, if not can I PM you with it?

Quote:
Originally Posted by balinor
Do you mean the category pages or the product detail page? And are you using a multi-column layout for the category page or a single column layout?

If you are talin about this part in General Display products list in multiple columns (1-3) (leave empty to use standard format):

It is set to empty. I don'ty want to upset the cart in any way as I know it can be tempermental.

Thanks again.

I wish to keep my X-Cart site private if not I would provide a link.

I pretty much want to put portions up showing that they are on sale and I don't mind using the built-in list price - our price. I do wish to purchase the Sales script that is out as a MOD , but have no time to learn it.
__________________
X-Cart version 4.0.19
3.2 QUAD Core - RHEL 4.0 6 GB RAM
Reply With Quote
  #4  
Old 12-03-2007, 06:26 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: List Price not showing?

Sorry, don't know who you are But to show list/our price on the category page, this is the original code:

{if $active_modules.Subscriptions ne "" and ($products[product].catalogprice gt 0 or $products[product].sub_priceplan gt 0)}
{include file="modules/Subscriptions/subscription_info_inlist.tpl"}
{else}
{if $products[product].taxed_price ne 0}
{if $products[product].list_price gt 0 and $products[product].taxed_price lt $products[product].list_price}
{math equation="100-(price/lprice)*100" price=$products[product].taxed_price lprice=$products[product].list_price format="%3.0f" assign=discount}
{if $discount gt 0}
<FONT class="MarketPrice">{$lng.lbl_market_price}: <S>
{include file="currency.tpl" value=$products[product].list_price}
</S></FONT><BR>
{/if}
{/if}
<FONT class="ProductPrice">{$lng.lbl_our_price}: {include file="currency.tpl" value=$products[product].taxed_price}</FONT><BR><FONT class="MarketPrice">{include file="customer/main/alter_currency_value.tpl" alter_currency_value=$products[product].taxed_price}</FONT>{if $discount gt 0}{if $config.General.alter_currency_symbol ne ""}, {/if}{$lng.lbl_save_price} {$discount}%{/if}
{if $products[product].taxes}<BR>{include file="customer/main/taxed_price.tpl" taxes=$products[product].taxes}{/if}
{else}
<FONT class="ProductPrice">{$lng.lbl_enter_your_price}</FONT>
{/if}
{/if}

That is not present on the product detail page by default, so you'd need to rewrite the above code using the correct variable for the product detail page, which is $product instead of $products[product]
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #5  
Old 12-03-2007, 06:36 AM
 
zenkisser zenkisser is offline
 

Member
  
Join Date: Nov 2007
Posts: 27
 

Default Re: List Price not showing?

Thanks!

What template would this go in and the path please?
__________________
X-Cart version 4.0.19
3.2 QUAD Core - RHEL 4.0 6 GB RAM
Reply With Quote
  #6  
Old 12-03-2007, 06:46 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: List Price not showing?

That's why I asked which layout you use....multi-column uses customer/main/products_t.tpl, single uses customer/main/product.tpl
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #7  
Old 12-03-2007, 06:47 AM
 
zenkisser zenkisser is offline
 

Member
  
Join Date: Nov 2007
Posts: 27
 

Default Re: List Price not showing?

Thanks!
__________________
X-Cart version 4.0.19
3.2 QUAD Core - RHEL 4.0 6 GB RAM
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 10:57 PM.

   

 
X-Cart forums © 2001-2020