Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Showing Product Prices in custom Modifications... Rate Topic   - - - - -

 

Posted 29 May 2010 - 09:53 PM #1

Hi guys
i had some paid custom modifications done on my site and some of the changes i requested are not fulfilled and they are asking for additional money to take care of it, i was wondering if any one of you guys can take look and help me out with this.

what i want is a simple thing to DISPLAY/SHOW the product prices in the custom product display block they have created. below is the link showing how the custom modification is displaying the products with in sub categories and i have also pasted the code they have written for this block.

ill greatly appreciate any sort of help from aone one of you.

Reference Link
http://www.crocwirel...ppc-6800-mogul/

Custom Coding for the Blocks.
{* $Id: products_sub_items.tpl 8351 2010-05-05 13:38:37Z gvs $ *}
{** block-description:products_sub_items **}

{math equation="(int) (96 / x)" x=$addons.custom_modification.sub_items_count_row assign="percent"}

{if $items}
{*$items|fn_print_r*}
{foreach from=$items item="item"}

{capture name="category"}

{split data=$item.products size=$addons.custom_modification.sub_items_count_row assign="products"}
{*$products|fn_print_r*}
{foreach from=$products item="products2" name="products"}
<div style="position:relative; padding:5px 5px; overflow:hidden; min-height:110px; left:1px;" align="center">
{foreach from=$products2 item="product" name="product"}
{if $product}
<div style="float:left; list-style:none outside none; width:{$percent}%; margin:0; padding:0; color:#2D2D2D;">
<a href="{$index_script}?dispatch=products.view&product_id={$product.product_id}">{include file="common_templates/image.tpl" image_width="70" images=$product.main_pair object_type="product" show_thumbnail="Y" no_ids=true}</a><br />
<a href="{$index_script}?dispatch=products.view&product_id={$product.product_id}">{$product.product}</a>
</div>
{/if}
{/foreach}
</div>
{/foreach}

<div align="right"><hr><a class="underlined-bold" href="{$index_script}?dispatch=categories.view&category_id={$item.category_id}">{$lang.see_all} {$item.category}</a>
</div>

{/capture}

{if $item.products}
{include file="blocks/wrappers/sidebox_general.tpl" content=$smarty.capture.category title=$item.category}
{/if}

{/foreach}

{/if}