| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Adding Price into Product box on Sub-category pge | ||||
|
|
Thread Tools | Search this Thread |
#11
|
|||||||
|
|||||||
Re: Adding Price into Product box on Sub-category pge
Yes I am, however I was looking at the template as previously advised when I captured that code.
__________________
X-Cart Gold v4.0.14 |
|||||||
#12
|
|||||||
|
|||||||
Re: Adding Price into Product box on Sub-category pge
Gimmie a couple of days to take a deeper look...buried til the weekend
__________________
X-Cart Pro 4.1.9 PHP5.2.5 MySQL 5.0.54 IIS/Apache/NGINX Webservers |
|||||||
#13
|
|||||||||
|
|||||||||
Re: Adding Price into Product box on Sub-category pge
make a back up. The remove the red highlighted code. The price has been commented out. You should remove the red bracket and asterisk from the top portion and the astrisk from the closing {/if*} at the bottom.
{if $products[product].product_type ne "C"} {* {if $active_modules.Subscriptions ne "" and $products[product].catalogprice} {include file="modules/Subscriptions/subscription_info_inlist.tpl"} {else} {if $config.General.unlimited_products ne "Y" && ($products[product].avail le 0 or $products[product].avail lt $products[product].min_amount) && $products[product].variantid} {elseif $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} {$lng.lbl_market_price}: {include file="currency.tpl" value=$products[product].list_price} {/if} {/if} {$lng.lbl_our_price}: {include file="currency.tpl" value=$products[product].taxed_price} {include file="customer/main/alter_currency_value.tpl" alter_currency_value=$products[product].taxed_price}{if $discount gt 0}{if $config.General.alter_currency_symbol ne ""},{/if} {$lng.lbl_save_price} {$discount}%{/if} {if $products[product].taxes} {include file="customer/main/taxed_price.tpl" taxes=$products[product].taxes}{/if} {if $active_modules.Special_Offers ne "" and $products[product].use_special_price ne ""} {include file="modules/Special_Offers/customer/product_special_price.tpl" product=$products[product]} {/if} {else} {$lng.lbl_enter_your_price} {/if} {/if} {if $active_modules.Feature_Comparison ne '' && $products[product].fclassid > 0} {include file="modules/Feature_Comparison/compare_checkbox.tpl" id=$products[product].productid} {/if*} {*** Uncomment it if you need 'Buy Now' button *** {if $usertype eq "C" and $config.Appearance.buynow_button_enabled eq "Y"} {include file="customer/main/buy_now.tpl" product=$products[product]} {/if} *** Uncomment it if you need 'Buy Now' button ***} {/if}
__________________
xcart 5.1.2 |
|||||||||
#14
|
|||||||
|
|||||||
Re: Adding Price into Product box on Sub-category pge
Thanks for that.
I have now also found where to change the Our Price: to Starting From: Many thanks! Justin P.S. if you have any ideas for improvements let me know - www.designerdogwear.com
__________________
X-Cart Gold v4.0.14 |
|||||||
|
|||
X-Cart forums © 2001-2020
|