So this code would not work for me without thumbnails right?? What about if i copied the code from the mini product related items layout to the cart related items. i just would have to put them side by side instead of ontop of one another like then the catalog. What do you think??
Announcement
Collapse
No announcement yet.
Associated Products lists
Collapse
X
-
I tried copying what i mentioned above and i got coding errors, reverted to factory defaults and ok.
Please help in adding the product image to cart.
<!-- Related Products list begin-->
<Actinic:REMOVE TAG="RelatedProductLine">
<table width="<actinic:variable name="ACTSTDWIDTH" />" cellspacing="2" cellpadding="3" border="0">
<tr>
<th align="center" colspan="2" class="cartheading"><strong>Some Related Products:</strong></th>
</tr>
</table>
<table width="<actinic:variable name="ACTSTDWIDTH" />" cellspacing="2" cellpadding="3" border="0"
<tr>
<td class="cart">
<ol>
<!-- Also bought list row begin-->
<Actinic:XMLTEMPLATE NAME="RelatedProductLine"> <li>
<img style="border: 1;" src="<actinic:variable name="ProductImageFileName" />" width="75" alt="<actinic:variable name="ProductName" encoding="strip"/>" /> <a href="<actinic:variable name="SearchCGIURL" />?PRODREF=<Actinic:Variable Name="ProdRef"/>&NOLOGIN=1<actinic:block if="%3cactinic%3avariable%20name%3d%22HiddenFields%22%20%2f%3e%20%21%3d%20%22%22">&SHOP=<Actinic:Variable Name="HiddenFields"/></actinic:block>"><Actinic:Variable Name="ProductNameOnline"/></a>
<actinic:block if="%3cactinic%3avariable%20name%3d%22IsProductReferenceVisible%22%20%2f%3e">
(Ref: <Actinic:Variable Name="ProdRef"/>)
</actinic:block>
</li>
</Actinic:XMLTEMPLATE>
</ul>
</td>
</tr>
</table>
</Actinic:REMOVE>
<!-- Related products list end-->
Comment
-
Add thumbnails to your products, they will also work on search results then. Also get your cart back to factory settings and you will see the code already in there, it just needs uncommenting. If you do not go down the thumbnail route, then just change the reference to the main product image filename, instead of the thumbnail.
Your code also has an <ol> to open it up and then a </ul> to close it, get it back to standard, these areas are not for messing with unless you know what you are doing, leave it alone if you wish to remain sane.
Comment
-
i have over 400 products. i cannot go back and add thumbnails now. i reverted back to factory default in the related items layout. i cannot seem to change the variable from "thumbnail" to "ProductImageFilename" without errors. Has anyone substituted the variable thumbnail??. If i can get the image to show up, i will then format it.
Thanks,
Regards,
Comment
-
I've tried it, Robert and I kept getting coding errors too
It must be something to do with the way the cart is formed, I suppose, but the resized productimage variables don't seem to work in there
All I've done is added as many thumbnails as I can (400 isn't many, btw ) and only chosen my related products from those with thumbnails listed.Tracey
Comment
-
Another option - and one that we use on several sites - make sure all product images are named the same as the product reference. So the item with product reference xyz123 has a main product image called xyz123.jpg. You can then use "productreference".jpg in all those layouts which do not have the main product image available to them. You can then have thumbnails, small images, large images etc etc available for all items in all layouts just by using "l_productreference.jpg" for a large image, "t_productreference.jpg" for the thumb etc.
Comment
-
Hi Lee,
I like what you said. Can you explain change the reference to the main product image filename, instead of the thumbnail?. I thought i did that by using ="ProductImageFileName" instead of thumbnail. I did revert the related products in shopping cart variable to factory defaults. It dies contain <ol> and the <ul> tags as above. the only thing i changes is in orange.
Thanks,
Regards,
Comment
-
recommendation for a batch processing tool.
EZ Thumbnails
Does what it says on the tin
There's a "quick" way to add in your thumbnail images to your catalog, I believe, through the database but I don't know it.
I'm sure Lee will instruct if it would help hereTracey
Comment
-
Hi folks
I just wanted to bump this thread, its gets sooo juicy with talk of wonderful solutions and then runs dry right at the end
a couple of Q's if i may
1 Valley decor did you find a solution to this?
im in exactly the same place, heres the thread if your interested here
2 Does anyone have any tips on how to get the Productimagefilename information copied into the product thumbnail image field? (if we must have thumbnail images entered in order to show alsobought images in the cart)
3 why didnt I do as Dallen suggested;
make sure all product images are named the same as the product reference. So the item with product reference xyz123 has a main product image called xyz123.jpg.
4 How does the man that drives the snowplough get to work?
Product images showing in the Also Bought lists in the shopping cart would be so perfect for us, it seems odd that it would have been overlooked by the development people no?
sighh...
Comment
-
Hi Barry
Have you had any joy in sorting this out. If you are still having problem please let me know where you are at, so I can see what needs to be done in order to get it working.
Kind RegardsKiran Chandran
Technical Support - SellerDeck
http://www.sellerdeck.co.uk/
Further help can also be found at http://community.sellerdeck.com/forumdisplay.php?f=27
Comment
-
Originally posted by KiranHi Barry
Have you had any joy in sorting this out. If you are still having problem please let me know where you are at, so I can see what needs to be done in order to get it working.
Kind RegardsTracey
Comment
-
Hi Barry
Sorry for not getting back earlier I wasn't in for a few days, but I'm looking into it now and I am checking it with developemt, just trying out somethings they have suggested . So will keep you posted.
Kind RegardsKiran Chandran
Technical Support - SellerDeck
http://www.sellerdeck.co.uk/
Further help can also be found at http://community.sellerdeck.com/forumdisplay.php?f=27
Comment
Comment