2082 Posts in 1002 Topics by 452 members
|Go to End|
23 February 2014 at 5:18pm Last edited: 23 February 2014 5:19pm
I have installed SwipeStripe, SwipeStripe Category, SilverStripe Gallery and SwipeStripe Gallery. What I want to do is add an image beside the description of each product in my shop on the category pages.
At present, my categories page will list each product as a hyperlink with its corresponding price. There are no images.
How do I get category pages to include product images? (Example)
For each product, I can select an image via the Gallery tab and even display a range of images on each product page (ie a thumbnail is generated). What I can't do is take that thumbnail and add it to:
Any help would be most appreciated.
26 February 2014 at 9:00am
You probably want to do something like:
<% loop Products %>
<% end_loop %>
Basically, Gallery_PageExtension is applied to the Product class which adds a many_many relation for Images. Hope that helps
3 March 2014 at 1:03am
Thank-you so very much - that was a tremendous help.
I have written this up on my blog so that others can also benefit. The URL is http://code.adonline.id.au/swipestripe-category/
3 March 2014 at 8:39am
Cheers Adam, glad that it's sorted out. Thanks for writing up a blog post!
|Go to Top|