CS Cart - Showing thumbnail for configurable product options - cs-cart

I've just started using CS Cart and I have a product which has been built using the product configurator and I would like to show the image thumbnail next to each radio button.
What code do I need to use to pull the product thumbnail?
This is the current code I'm playing around with, but it is pulling the main image rather than the product image from the associated product in the configurator:
{include file="common_templates/image.tpl" images=$product.main_pair
object_type="detailed_product" link_class="cm-thumbnails-mini cm-cur-item"
image_width=$th_size image_height=$th_size show_thumbnail="Y" show_detailed_link=false
make_box=true obj_id="`$product.product_id`_`$img_id`_mini" wrap_image=true}
P.S. I would have posted this on the CS Cart forums but can't seem to be able to register on there!

$product is the main product. Find the variable that populates the products information (look for the code that generates the forms within the tabs.

Related

adding product listing on magento homepage with description

I need to show my new products on the home page as a list view. I have used a Magento widget, but it is not returning the description of the product. How can I fetch the whole details of the product in the home page as shown in the image below?
First find out(template hint) the file from where your widget is rendering products. It's located in app/design/frontend/<yourpackage>/<yourtheme>/template/catalog/product/widget/new/content/new_grid.phtml/new_list.phtml
Go look in that file, you will see how and what values are the widgets printing. So if you want description within the foreach loop you can get by printing $_product->getShortDescription() or $_product->getData('short_description')
Similarly to get other stuff like in list page, please take reference from template/catalog/product/list.phtml see how the other details are being printed and get those here on widget phtml file.

Magento Product pages incomplete after adding image(s) to the product

I imported the products using a csv list and now I am adding the images to each product one by one in the backend. But after adding the image, the product page in the frontend only shows the image and everything else like add to cart, description, configurable options and so on are missing, the source code simply ends after the image box. Did anyone else ever notice a similar behavior?

Display product in list using widgets in magento

I am working on magento home page and need display products on home page. I have used widgets to display products. I want to display product in list one by one but it shows in grid. Right now I am showing the products in list.
my code is :-
{{widget type="highlight/product_popular" title="special" products_count="3" template="highlight/product/grid.phtml" class_name="highlight-popular"}}
Using this code the product is shown in grid but actually I want to display it in list like:-
1. Product1
2. product2
Please, suggest how I can do this.
whatever you are putting in your grid.phtml - change it as suggested in
base/default/template/catalog/product/list.phtml as per list mode, code followed by it

Allowing For Multiple Images in Product Gallery for One Attribute

If you edit a product and browse to the media gallery, you will notice that each type of image (Base, small, thumbnail) is a radio button. Furthermore, if you create your own product attribute and assign it to the product, it too is a radio button.
The intended functionality I would like is to upload many images and assign it to that attribute. I am creating a gallery on product view pages, and each product has an arbitrary amount of images.
I would like to know if there is an easy way to do it, and if not, what the best solution would be. I am running Magento 1.6.0 for this project.
If you upload images and do not assign them as base/small/thumb, then Magento will automatically create an image gallery for you on the product page. you could also extend the catalog/product/list.phtml to display a gallery on the category and search results listing if you wanted.
So, AFAIK, there's no need for you to change the application functionality in the way that you describe.

Display specific products on a CMS page

Could someone help me with some code to display specific products on a Magento CMS page?
The idea being that I build a page that has multiple sections on it (sections meaning a heading, some intro text and a small handful of products) and the user can add a selection of the displayed products to their cart from this page.
Ideally, the products should be displayed in the grid format, and I should be able to display between 1 and 6 products in each section.
I am using Magento 1.4.0.1 currently.
Cheers!
Consider using a CMS Widget to do this for you.
Here is one: Product List Widget
It isn't free but there are others if you look around.

Resources