[TYPO3-shop] Articles with images

Christian Lerrahn typo3 at penpal4u.net
Tue Oct 25 01:06:06 CEST 2011


Hi Franz,
On Tue, 04 Oct 2011 10:36:38 +0200
Franz Holzinger <franz at ttproducts.de> wrote:
> >>> Anyway, the new HTML looks ok.
> >>>
> >>> <div class="tt-products-item-img"
> >>> id="tt-products-from-tt-products-articles-single-1-image-1">...
> >>>
> >>> However, this does not change anything about the images never
> >>> getting replaced. I'm still worried about the fact that the AJAX
> >>> response never contains the correct path to the article images. I
> >>> always see something like
> >>>
> >>> <cmd n="as"
> >>> t="tt-products-from-tt-products-articles-single-1-image"
> >>> p="innerHTML"><![CDATA[<img src="uploads/pics/foobar.jpg"
> >>> width="100" height="100" border="0" alt="" /><br />]]></cmd><cmd
> >>> n="as" t="tt-products-from-tt-products-articles-single-1-image-1"
> >>> p="innerHTML"><![CDATA[<img src="uploads/pics/parrot.jpg"
> >>> width="100" height="100" border="0" alt="" /><br />]]></cmd>
> >>>
> >>> in the AJAX response where foobar.jpg is the product image not the
> >>> article image.
> >>
> >> Maybe you have made some misconfiguration. tt_products does not
> >> find the articles you have assigned to the products. Therefore the
> >> image is taken from the product. Check your settings.
> >
> > I don't think this is possible. My articles are definitely found
> > because my price gets updated from the articles. I haven't tried
> > swapping anything but image and price but I suppose if out of these
> > two the price works, that should be proof enough that the articles
> > are found, right? Or could there be a scenario where the price
> > swapping works but not the image swapping?
> 
> No such bug has ever been reported.
> Only the image id marker is responsible for doing the image exchange 
> from the article. So you should insert the correct marker.

I don't know why but suddenly the image swapping works. Maybe something
was cached somewhere even though I was convinced I had refreshed all
caches.

Cheers,
Christian


More information about the TYPO3-project-tt-products mailing list