| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Product Variant Thumbnails - How To Display? | ||||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
Product Variant Thumbnails - How To Display?
Hi,
I am working on 4.1.3 with the Product Options/Variants and have added options and attached a thumbnail to each one. When you view the product detail page the thumbnail image changes as you change the product option, which is fine. But, what I also want to do is display each option/variant thumbnail separately. Maybe in another table below the product details but above the Send to Friend, etc. http://www.studio57designs.com/example.jpg I've tried the debug and don't quite understand what variables, etc I need to use. There may be a few thumbnails or many....isn't there a way to create a loop do display them? Ultimately what I would like to do is have the thumbnails with qty and checkboxes and be able to order multiple items from that one screen. But, I would be happy to get the first step of displaying the thumbnails. Any assistance would be greatly appreciated. Thanks, Louise
__________________
Louise Studio 57 Designs - X-Cart Customization Providing X-Cart Services since 2004 Hottest Blog Directory - Submit Your Blog for a Free Listing |
|||||||||
#2
|
|||||||
|
|||||||
Re: Product Variant Thumbnails - How To Display?
I "simply" made a swatch image... and included it into the product description.
The pulldown for each color changes the variant, and there is also an enlarged view of the color palette. This is one product that I am thinking of changing to a "multiple items and qty" type of input page -- small swatch, next to an input box... then "add to cart" so customers can buy mutliple colors all at once... but for most of my products, a customer will only buy one color. Hope this helps... Jeremy
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4 |
|||||||
#3
|
|||||||||
|
|||||||||
Re: Product Variant Thumbnails - How To Display?
Jeremy,
Thanks for the reply but thats not what I'm looking for....because if additional options/variants are added then the image will have to be updated and that doesn't make it very dynamic. I prefer to code it so that the thumbnails will change without alot of additional intervention. Louise
__________________
Louise Studio 57 Designs - X-Cart Customization Providing X-Cart Services since 2004 Hottest Blog Directory - Submit Your Blog for a Free Listing |
|||||||||
#4
|
|||||||||
|
|||||||||
Re: Product Variant Thumbnails - How To Display?
Ok, I've made some progress but I need some assistance with the code I created.
Here is the code - template name (option_images.tpl): Quote:
This template is then inserted into the product.tpl. Here is the result: http://www.studio57designs.com/sample2.gif But, I don't know how to code it so that it will flow to the next row for more than 5 images.....like the subcategories icon mod. Also, I want to make each image a link to the product page. Now that I've got this far can someone help me figure out these last 2 steps. Thanks, Louise
__________________
Louise Studio 57 Designs - X-Cart Customization Providing X-Cart Services since 2004 Hottest Blog Directory - Submit Your Blog for a Free Listing |
|||||||||
#5
|
|||||||||
|
|||||||||
Re: Product Variant Thumbnails - How To Display?
Anyone have any help for my question? Thanks, Louise
__________________
Louise Studio 57 Designs - X-Cart Customization Providing X-Cart Services since 2004 Hottest Blog Directory - Submit Your Blog for a Free Listing |
|||||||||
#6
|
|||||||||
|
|||||||||
Re: Product Variant Thumbnails - How To Display?
Just in case someone has the same idea....here is the code to display variant thumbnails in rows:
Quote:
__________________
Louise Studio 57 Designs - X-Cart Customization Providing X-Cart Services since 2004 Hottest Blog Directory - Submit Your Blog for a Free Listing |
|||||||||
#7
|
|||||||
|
|||||||
Re: Product Variant Thumbnails - How To Display?
Dalmuti,
Thanks for sharing this code. It works great!
__________________
X-Cart Pro 4.1.11 (Live) XRMA XAFF XAOM DSEFU Pro XGift Reg Firetank Feed Manager BCSE Shipping Calculator XcartMod Dynamic Images |
|||||||
#8
|
|||||||||
|
|||||||||
Re: Product Variant Thumbnails - How To Display?
You are welcome....hope you find it useful.
Louise
__________________
Louise Studio 57 Designs - X-Cart Customization Providing X-Cart Services since 2004 Hottest Blog Directory - Submit Your Blog for a Free Listing |
|||||||||
#9
|
|||||||
|
|||||||
Re: Product Variant Thumbnails - How To Display?
Hi,
If I wanted to display the variants thumbnails on the category display where would you code need to go? Thanks,
__________________
X-Cart 4.1.2 |
|||||||
#10
|
|||||||
|
|||||||
Re: Product Variant Thumbnails - How To Display?
Ok, this works awesome...but is there a way to code the links to reflect the image swapping as well as changing the SKU?
|
|||||||
|
|||
X-Cart forums © 2001-2020
|