Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2008-01-24 18:14:38

brunodario
Member
From: Belo Horizonte, Brasil
Registered: 2007-09-19
Posts: 75

Lingerie website. Many colors for 1 product

Hi there guys.

I´m working on a bilingual Lingerie website that will use Articles to display products.

Since every Lingerie to be announced on the website has many diferent colors that have to be shown as images (litlle squares representing each color, there will be 20 diferent colors…) i´m wondering what can i do to achieve this.

Note that is my intention to use <txp:hak_article_image /> plugin to show more than one lingerie image per article. So… any ideas on this?

Thx in advance

Offline

#2 2008-01-26 14:31:45

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 4,726
Website

Re: Lingerie website. Many colors for 1 product

Yes, you could do that using hak_article_image. If you upload your own thumbnail image to the image tab it can be entirely different to the main image, so you can make the thumbnails little coloured squares (or textile swatches, material or whatever) and the main article image the appropriately coloured lingerie article.

If you have hak_article_image set to reload the page (e.g. where the url changes), you have a direct link for each image. If you have a consistent order/naming for your colours you can use chs_ifurlvar to retrieve the colour you currently have selected if you need it for ordering etc.


TXP Builders – finely-crafted code, design and txp

Offline

Board footer

Powered by FluxBB