Anyone have a clue on how to get images to show in the configuration list instead of just the product names?
There was a hack for this for the old version but I am trying to figure this out for 2.0.x.
Never mind, this still seems to work so far: [url]http://forum.cs-cart.com/showthread.php?t=7860&highlight=Configurator+Images[/url]
[quote name=‘CSCartSkins’]Never mind, this still seems to work so far: [url]http://forum.cs-cart.com/showthread.php?t=7860&highlight=Configurator+Images[/url][/QUOTE]
This does not work anymore. Anyone have any suggestions?
To get the images to appear in the 2.x series you need to do:
In addons/product_configurator/controllers/customer/products.post.php
After:
// Recommended products
if (in_array($_v['product_id'], $default_ids)) {
$_products[$_k]['recommended'] = 'Y';
}
Add:
$_products[$_k]['main_pair'] = fn_get_image_pairs($_v['product_id'], 'product', 'M');
Then in:
skins/your-skin/customer/addons/product_configurator/hooks/products/view_main_info.override.tpl
Change: (Line 71)
```php
{if $po.products}
```
To:
```php
{if $po.products}
```
And After:
```php ```
Add:
```php
{include file="common_templates/image.tpl" image_width="50" obj_id=$group_product.product_id images=$group_product.main_pair object_type="product"}
```
And After:
```php
```
Add:
```php
{include file="common_templates/image.tpl" image_width="50" obj_id=$group_product.product_id images=$group_product.main_pair object_type="product"}
```
You can check out a demo at:
[url]http://www.jandkonline.com/cscart/compaq-presario-desktop-pc.html[/url]
Hope it helps,
Brandon
Works perfectly and thanks so much for the help!
Would you possibly know how to make these into multiple columns?
I am not sure about multiple columns. I actually paid CS-Cart to modify this for me back in the 1.3 series. Unfortunately I don’t have the extra cash to get stuff modified again right now especially since I don’t currently use the configurator.
To see what I had done you can check out:
[url]http://jandkaquatics.com/johns-configurator.html[/url]
I don’t hardly touch this site and it is still the 1.3 series, but you should get the idea.
Maybe I can take a look at what CS did and work something out, I just don’ t know since I haven’t looked yet.
Brandon