Page 1 of 1
Shop Made Simple: use multiple images
Posted: Thu Oct 14, 2010 4:37 pm
by weaselweasel
Hi.
I use Shop Made Simple.
In the shop, you can upload items. For these items, you can upload images.
You can show this image in the template with the tag {$pimage}.
You can also add multiple images to a item. But... How do you use the other images you upload.. Is there a tag for them?
Re: Shop Made Simple: use multiple images
Posted: Fri Oct 15, 2010 7:48 pm
by Duketown
weaselweasel,
There is no separate tag for this. At least not as part of the module.
If you've added multiple images, the images will be shown on the product detail page (if using the supplied template).
Duketown
Re: Shop Made Simple: use multiple images
Posted: Sat Oct 16, 2010 12:28 pm
by weaselweasel
That's the thing... If they are shown in the original template... There must be a tag or something that calls for the images to appear, right?
Re: Shop Made Simple: use multiple images
Posted: Tue Oct 19, 2010 8:47 pm
by Duketown
weaselweasel,
I noticed the problem. Working on a new version of ShopMadeSimple.
For now (I hope you are a bit handy with php).
Change in action.fe_product_list.php on line 161+162:
Code: Select all
$onerow->prodname = $this->CreateLink($id, 'fe_product_detail', $detailpage!=''?$detailpage:$returnid,
$row['prodname'], $params, '', false, false, '', true, $prettyurl);
into:
Code: Select all
$onerow->prodname = $this->CreateLink($id, 'fe_product_detail', $detailpage!=''?$detailpage:$returnid,
$row['prodname'], $sendtodetail, '', false, false, '', true, $prettyurl);
So $params to be changed into $sendtodetail.
Duketown