Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#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
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