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

Adding Price into Product box on Sub-category pge

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #11  
Old 08-13-2008, 12:30 AM
 
MySiteEasy MySiteEasy is offline
 

Member
  
Join Date: Aug 2005
Posts: 12
 

Default 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
Reply With Quote
  #12  
Old 08-14-2008, 09:19 PM
 
Thedae2k Thedae2k is offline
 

eXpert
  
Join Date: Jan 2004
Posts: 288
 

Default 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
Reply With Quote
  #13  
Old 08-14-2008, 10:09 PM
  ARW VISIONS's Avatar 
ARW VISIONS ARW VISIONS is offline
 

X-Man
  
Join Date: Jan 2007
Location: Pensacola, FL
Posts: 2,536
 

Default 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
Reply With Quote
  #14  
Old 08-17-2008, 12:48 AM
 
MySiteEasy MySiteEasy is offline
 

Member
  
Join Date: Aug 2005
Posts: 12
 

Default 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
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 08:41 AM.

   

 
X-Cart forums © 2001-2020