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)
-   -   Adding Price into Product box on Sub-category pge (https://forum.x-cart.com/showthread.php?t=41515)

MySiteEasy 08-13-2008 12:30 AM

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.

Thedae2k 08-14-2008 09:19 PM

Re: Adding Price into Product box on Sub-category pge
 
Gimmie a couple of days to take a deeper look...buried til the weekend

ARW VISIONS 08-14-2008 10:09 PM

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}

MySiteEasy 08-17-2008 12:48 AM

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


All times are GMT -8. The time now is 11:59 AM.

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