Jump to content



Member Since 20 Oct 2009
Offline Last Active May 14 2018 07:41 PM

Topics I've Started

Adding short description to grid_list

18 November 2013 - 09:34 PM

I am Struggling with This one. Hope someone have a clue:

Using CS-Cart Version 3.0.6. I have added a block which i manually filled with products. I am using the Products_Grid template and i edited the products_list.tpl file to modify the listing format. I'am trying to get the short description to show up for each product on the listing using:

<p>before{assign var="prod_descr" value="prod_descr_`$obj_id`"} {$smarty.capture.$prod_descr}after</p>

But it does not show. Other templates like short list and product list has this smarty.capture.$prod_descr value available to use but not this one.

I have tried to track this value which is supposed to be in $products array, but no luck. I hope somebody has a clue?

Thanks in advanced!

How to get image_pair in a foreach loop

17 April 2013 - 10:45 PM


i am struggling with this. I am trying to get from inside a foreach loop in a tpl file the image_main_pair information for categories where the category_id information is known, See the red comment below:

i am using this include:

{include file="common_templates/image.tpl" show_detailed_link=false object_type="subcategory" images=[Here i need the category main_pair array and i don't have it, instead i have the category id] no_ids=true class="cm-thumbnails" show_thumbnail="Y" image_width="100" image_height=""}

any one can give me a clue? I'll Appreciate it


Buy Together more noticeable

29 March 2013 - 09:06 PM

I wanted to have the "Buy Together" combination in the product details page more noticeable, so the end user do not need to open a tab in order to see the available combinations or just simply miss the popup windows link. So i have created this small addition to place the combinations in between the protuct details and the tabs zone.

You may see a sample on here: http://www.technopac...ual-sealer.html

This is a simple addition to buy together and it does not work by itself unless the addon buy together is installed and working.

I am sharing this so if any one is in need of something similar can use it. Feel free to style it as you wish.