Jump to content

 

instockphones

Member Since 20 Feb 2010
Offline Last Active Aug 04 2010 07:32 PM
-----

Topics I've Started

Showing Product Prices in custom Modifications...

29 May 2010 - 09:53 PM

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}

Showing Product Features in the Information Box

21 February 2010 - 09:47 PM

Hello every one,
i was wondering how to show the product features in the information box where we have the pricing and add to cart options right next to the image of the product, i remember in older version of cs-cart thats where all the product features were use to display, but in 2.X they have modified them to show in a seperate tab.

i want those features to display in the top pricing box, any help will greatly be appreciated

please see the attached image from the previous version of cs-cart when the features use to display in the information box, thats what i want to acheive with 2.X version.

Regards,
Farhan

Creating list of compatible categories on product page.

20 February 2010 - 07:40 AM

Hello every one,
i am hoping any one of you might be able to help me out with this as i dont have any experience with php, but sounds like an easy task. this is what i want to accomplish.

on the basis of SECONDARY CATEGORIES for an item i want to show a list of All the compatible categories (with their links and images) on the item detail page.

for an example, if item 1 is compatible (having 1 main and 4 secondary categories) with 5 categories say cat 1, cat 2, cat 3, cat 4, cat 5, so the item detail page of item 1 should have all of these categories listed at the bottom of the page with their images and links.

please see the attached image to have an idea on what exactly i want to acheive.

i'll appreciate any sort of help.

Best Regards,