| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
List Price not showing? | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
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 |
|||||||
#2
|
|||||||
|
|||||||
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 |
|||||||
#3
|
|||||||
|
|||||||
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:
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 |
|||||||
#4
|
|||||||
|
|||||||
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 |
|||||||
#5
|
|||||||
|
|||||||
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 |
|||||||
#6
|
|||||||
|
|||||||
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 |
|||||||
#7
|
|||||||
|
|||||||
Re: List Price not showing?
Thanks!
__________________
X-Cart version 4.0.19 3.2 QUAD Core - RHEL 4.0 6 GB RAM |
|||||||
|
|||
X-Cart forums © 2001-2020
|